Latest PivotTable Web Widget v4.0.0 of Aiden breaks in Build deployment structure on 11.7.0

0
Installing the latest PivotTable Web Widget v4.0.0 of AidenAt local level, in Studio Pro, In the fase 'Run project' 'Build deployment structure'the proces breaks with the following error details: on 11.7.0. It would be nice to have this fixed.Kind RegardsIonic.Zlib.ZlibException: Bad state (invalid block type) at Ionic.Zlib.InflateManager.Inflate(FlushType flush) in /_/src/Zlib/Inflate.cs:line 1690 at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count) in /_/src/Zlib/ZlibBaseStream.cs:line 482 at System.IO.Stream.CopyTo(Stream destination, Int32 bufferSize) at Mendix.Modeler.WebUI.Util.ArchiveManager.<>c__DisplayClass3_0.<Unzip>b__3(<>f__AnonymousType10`2 x) in Mendix.Modeler.WebUI\Util\ArchiveManager.cs:line 43 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Util.ArchiveManager.Unzip(String sourceFile, String destinationDir, Func`2 pathMap) in Mendix.Modeler.WebUI\Util\ArchiveManager.cs:line 32 at Mendix.Modeler.WebUI.Deployment.WidgetsBuilder.PrepareWidgets(IEnumerable`1 packages, String deploymentDir) in Mendix.Modeler.WebUI\Deployment\WidgetsBuilder.cs:line 50 at Mendix.Modeler.WebUI.Export.Web.ModernWebUIDeploymentWorker.ExportWidgets(IProject project, IProgressInfo info, DeploymentSettings settings) in Mendix.Modeler.WebUI.Export\Web\ModernWebUIDeploymentWorker.cs:line 300 at Mendix.Modeler.WebUI.Export.Web.ModernWebUIDeploymentWorker.Export(IProject project, IProgressInfo info, WebUIProjectSettingsPart webUISettings, DeploymentSettings settings, Boolean updateRunningProject) in Mendix.Modeler.WebUI.Export\Web\ModernWebUIDeploymentWorker.cs:line 124 at Mendix.Modeler.WebUI.Export.Web.ModernWebUIDeploymentWorker.DoWork(DeploymentPhase phase, IProject project, DeploymentSettings settings, IProgressInfo info) in Mendix.Modeler.WebUI.Export\Web\ModernWebUIDeploymentWorker.cs:line 96 at Mendix.Modeler.Deployment.DeploymentProcessBuilder.ExecuteDeploymentWorkForPhase(DeploymentPhase phase, IProject project, DeploymentSettings settings, IProgressInfo info) in Mendix.Modeler.Deployment\DeploymentProcessBuilder.cs:line 303 at Mendix.Modeler.Deployment.DeploymentProcessBuilder.<>c__DisplayClass20_1.<AddBuildStepWithOverride>b__2() in Mendix.Modeler.Deployment\DeploymentProcessBuilder.cs:line 256 at Mendix.Modeler.Projects.ProjectStructureManager.<>c__DisplayClass2_0.<DoWithOverride>b__0() in Mendix.Modeler.Core\Projects\ProjectStructureManager.cs:line 43 at Mendix.Modeler.Projects.ProjectStructureManager.Do[T](IProject projectOverride, Func`1 action) in Mendix.Modeler.Core\Projects\ProjectStructureManager.cs:line 64 at Mendix.Modeler.Projects.ProjectStructureManager.DoWithOverride(IProject projectOverride, Action action) in Mendix.Modeler.Core\Projects\ProjectStructureManager.cs:line 39 at Mendix.Modeler.Deployment.DeploymentProcessBuilder.<>c__DisplayClass20_1.<AddBuildStepWithOverride>b__1() in Mendix.Modeler.Deployment\DeploymentProcessBuilder.cs:line 256 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.<>c__DisplayClass3_0.<Do>b__0() in Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 24 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.ExecuteInContext[T](Boolean unlockImplementation, Func`1 code) in Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 47 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.Do(Boolean unlockImplementation, Action action) in Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 20 at Mendix.Modeler.Deployment.DeploymentProcessBuilder.<>c__DisplayClass20_0.<AddBuildStepWithOverride>b__0(IProgressInfo info) in Mendix.Modeler.Deployment\DeploymentProcessBuilder.cs:line 254 at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.<>c__DisplayClass2_1.<AddStep>b__1() in Mendix.Modeler.Deployment\FileIOExceptionHandlingProcess.cs:line 26 at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.CatchDiskException(Action action) in Mendix.Modeler.Deployment\FileIOExceptionHandlingProcess.cs:line 36 at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.<>c__DisplayClass2_0.<AddStep>b__0(IProgressInfo info) in Mendix.Modeler.Deployment\FileIOExceptionHandlingProcess.cs:line 26 at Mendix.Modeler.Utility.Progress.StepBase`1.Run(TProgressInfo info) in Mendix.Modeler.Utility\Progress\Step.cs:line 32 at Mendix.Modeler.Utility.Progress.StepBase`1.Mendix.Modeler.Utility.Progress.IStep.Run(Object progressInfo) in Mendix.Modeler.Utility\Progress\Step.cs:line 37 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(IStep step) in Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 244 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 161 at Mendix.Modeler.Undo.UndoDelegatingBackgroundWorker.OnDoWork(DoWorkEventArgs e) in Mendix.Modeler.Undo\UndoDelegatingBackgroundWorker.cs:line 22 at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)--- End of stack trace from previous location --- at Mendix.Modeler.UIFramework.Progress.ProcessRunner.Run() in Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 112 at Mendix.Modeler.Deployment.Deployer.RunProcess(IProcess process, DeploymentStep deploymentStep, Boolean isPackage) in Mendix.Modeler.Deployment\D
asked
7 answers
-2

hi,

Root Cause

The error:


Ionic.Zlib.ZlibException: Bad state (invalid block type)

during Build Deployment Structure → ExportWidgets

means:

Studio Pro is failing while unzipping the widget package (.mpk)

This is not a runtime issue and not related to your app logic.

It indicates a corrupted or incompatible widget package.

In Mendix 11.x, widget packaging changed (new web modeler structure + updated build pipeline).

Some older or incorrectly packaged widgets fail during unzip.

Why It Happens with PivotTable v4.0.0

Most common causes:

  1. Corrupted download from Marketplace
  2. Widget not fully compatible with Mendix 11.7
  3. Cached broken widget file in project directory
  4. Partial extraction in widgets folder

The Zlib “invalid block type” specifically means the ZIP content is invalid or corrupted.

Step 1 — Remove the Widget Completely

  • Delete the widget from App Explorer
  • Close Studio Pro

Then manually delete:


<ProjectFolder>\widgets\
<ProjectFolder>\deployment\
<ProjectFolder>\node_modules\

Step 2 — Clear Studio Pro Cache

Delete:


C:\Users\<user>\AppData\Local\Mendix\

Restart Studio Pro.

Step 3 — Reinstall Widget

Download again from Marketplace

Ensure you are using the version explicitly marked compatible with Mendix 11.x

If not officially compatible with 11.7 → it will break build.

If It Still Fails

Then it is a widget packaging issue, and the vendor (Aiden) must repackage it for Mendix 11 build structure.

This error is not fixable at project level if the MPK itself is invalid.

This is a corrupted or incompatible widget archive issue during build export in Mendix 11.7.

Clean project folders + reinstall widget usually resolves it.

If not, the widget must be updated by the provider for Mendix 11 compatibility.

answered
1

There is currently an issue with 11.6.3 and 11.7.0 and downloading content from the Marketplace. Several of my widgets cannot be downloaded using these Mendix versions. Also platform supported Switch and Pop-up menu are affected by this issue. I have ticket 270889 open for this. 11.6.2 can download these widgets just fine.

answered
1

Studio Pro 11.6.4 and 11.8.0 have been released which fixes the issue.

answered
0

Did you check out this thread? If not, try this solution you mentioned in the thread. When your issue persists, I'll help you again.

answered
0

Then I'll wait to update till this is fixed.

answered
0

Thanks, I'll give it a try en keep you posted. Kind regards Peter


answered
0

I did some of the steps as mentioned above:: delete deployment AND

downloaded (not via Studio pro) like Marcel is mentioning:


"If you need a workaround: Go to the Marketplace in the browser, search the item and go to its releases tab. There you can download the widget .mpk and then move it into the widgets folder manually."


and it seems fine.

Thanks and kind regards

Peter

answered