| ZipException while running MWE2 Workflow [message #715519] |
Sun, 14 August 2011 06:03  |
Eclipse User |
|
|
|
Hi everyone,
I'm trying to setup an Xtext 2 project. I created it, gave it a name and immediately tried to launch the MWE2 workflow, but I'm getting the stacktrace below.
At first I thought I might not have installed Xtext2 (or some dependency) properly (I'm using a self-made eclipse "distribution" built with p2 director application). But after trying that on a standard "Eclipse for Java developers" distribution with Xtext installed from the Eclipse Marketplace and getting the same error I think the error may lie elsewhere.
___________________________
1 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering platform uri '/home/lvillani/Development'
2402 [main] ERROR mf.mwe2.launch.runtime.Mwe2Launcher - Problems instantiating module co.bitcode.lithium.GenerateLanguage: java.lang.reflect.InvocationTargetException
java.lang.RuntimeException: Problems instantiating module co.bitcode.lithium.GenerateLanguage: java.lang.reflect.InvocationTargetException
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:90)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:73)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:64)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:55)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:74)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:35)
Caused by: org.eclipse.emf.common.util.WrappedException: java.lang.reflect.InvocationTargetException
at org.eclipse.emf.mwe2.language.factory.SettingProviderImpl$1$1.setValue(SettingProviderImpl.java:56)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalApplyAssignments(Mwe2ExecutionEngine.java:137)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.inCase(Mwe2ExecutionEngine.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalSwitch(Mwe2ExecutionEngine.java:64)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalApplyAssignments(Mwe2ExecutionEngine.java:136)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.inCase(Mwe2ExecutionEngine.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalSwitch(Mwe2ExecutionEngine.java:64)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.inCase(Mwe2ExecutionEngine.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalSwitch(Mwe2ExecutionEngine.java:64)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.create(Mwe2ExecutionEngine.java:60)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:88)
... 5 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.emf.mwe2.language.factory.SettingProviderImpl$1$1.setValue(SettingProviderImpl.java:54)
... 30 more
Caused by: java.lang.RuntimeException: java.util.zip.ZipException: invalid END header (bad central directory offset)
at org.eclipse.emf.mwe.utils.StandaloneSetup.registerBundle(StandaloneSetup.java:184)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:156)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:152)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:152)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:152)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:152)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:152)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:152)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:152)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:152)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:152)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:152)
at org.eclipse.emf.mwe.utils.StandaloneSetup.scanFolder(StandaloneSetup.java:135)
at org.eclipse.emf.mwe.utils.StandaloneSetup.setPlatformUri(StandaloneSetup.java:129)
... 35 more
Caused by: java.util.zip.ZipException: invalid END header (bad central directory offset)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)
at org.eclipse.emf.mwe.utils.StandaloneSetup.registerBundle(StandaloneSetup.java:167)
... 48 more
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05234 seconds