Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82397

Error converting Mendix 4.7.1 to 5.18.0

$
0
0

Hi

Could anyone tell me how to solve the below issue?

i am trying to convert 4.7.1 to 5.18.0. i am getting invalid entry size exception when i am trying to start application.

Buildfile: C:\Users\n87613\AABFXSalesDashboard-UpgradeMendix\deployment\build_core.xml

compile: [javac] Compiling 2 source files to C:\Users\n87613\AABFXSalesDashboard-UpgradeMendix\deployment\run\bin [javac] Note: C:\Users\n87613\AABFXSalesDashboard-UpgradeMendix\javasource\com\mendix\core\Core.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details.

build: [bnd] # addAll 'deployment/run/bnd.bnd' with , [bnd] java.util.zip.ZipException: invalid entry size (expected 509870088 but got 6939 bytes) [bnd] at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:384) [bnd] at java.util.zip.ZipInputStream.read(ZipInputStream.java:196) [bnd] at java.io.FilterInputStream.read(FilterInputStream.java:107) [bnd] at aQute.bnd.osgi.EmbeddedResource.copy(EmbeddedResource.java:67) [bnd] at aQute.bnd.osgi.EmbeddedResource.collect(EmbeddedResource.java:57) [bnd] at aQute.bnd.osgi.EmbeddedResource.build(EmbeddedResource.java:36) [bnd] at aQute.bnd.osgi.EmbeddedResource.build(EmbeddedResource.java:78) [bnd] at aQute.bnd.osgi.Analyzer.analyzeBundleClasspath(Analyzer.java:1672) [bnd] at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:129) [bnd] at aQute.bnd.osgi.Builder.analyze(Builder.java:324) [bnd] at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:342) [bnd] at aQute.bnd.osgi.Builder.build(Builder.java:77) [bnd] at aQute.bnd.osgi.Builder.builds(Builder.java:1136) [bnd] at aQute.bnd.ant.BndTask.executeBackwardCompatible(BndTask.java:223) [bnd] at aQute.bnd.ant.BndTask.execute(BndTask.java:115) [bnd] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [bnd] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [bnd] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [bnd] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [bnd] at java.lang.reflect.Method.invoke(Method.java:498) [bnd] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [bnd] at org.apache.tools.ant.Task.perform(Task.java:348) [bnd] at org.apache.tools.ant.Target.execute(Target.java:390) [bnd] at org.apache.tools.ant.Target.performTasks(Target.java:411) [bnd] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) [bnd] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) [bnd] at org.apache.tools.ant.Project.executeTargets(Project.java:1212) [bnd] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441) [bnd] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [bnd] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [bnd] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [bnd] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [bnd] at java.lang.reflect.Method.invoke(Method.java:498) [bnd] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [bnd] at org.apache.tools.ant.Task.perform(Task.java:348) [bnd] at org.apache.tools.ant.Target.execute(Target.java:390) [bnd] at org.apache.tools.ant.Target.performTasks(Target.java:411) [bnd] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) [bnd] at org.apache.tools.ant.Project.executeTarget(Project.java:1329) [bnd] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [bnd] at org.apache.tools.ant.Project.executeTargets(Project.java:1212) [bnd] at org.apache.tools.ant.Main.runBuild(Main.java:801) [bnd] at org.apache.tools.ant.Main.startAnt(Main.java:218) [bnd] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) [bnd] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

BUILD FAILED C:\Users\n87613\AABFXSalesDashboard-UpgradeMendix\deployment\build_core.xml:46: The following error occurred while executing this line: C:\Users\n87613\AABFXSalesDashboard-UpgradeMendix\deployment\run\bndbuild.xml:9: java.lang.OutOfMemoryError: Java heap space at java.lang.StringCoding.decode(StringCoding.java:187) at java.lang.String.<init>(String.java:426) at java.util.jar.Attributes.read(Attributes.java:418) at java.util.jar.Manifest.read(Manifest.java:251) at java.util.jar.Manifest.<init>(Manifest.java:69) at aQute.bnd.osgi.Jar.getManifest(Jar.java:190) at aQute.bnd.osgi.Analyzer.getExternalExports(Analyzer.java:1091) at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:144) at aQute.bnd.osgi.Builder.analyze(Builder.java:324) at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:342) at aQute.bnd.osgi.Builder.build(Builder.java:77) at aQute.bnd.osgi.Builder.builds(Builder.java:1136) at aQute.bnd.ant.BndTask.executeBackwardCompatible(BndTask.java:223) at aQute.bnd.ant.BndTask.execute(BndTask.java:115) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1212) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)

Total time: 27 seconds


Viewing all articles
Browse latest Browse all 82397

Trending Articles