WebDSL plugin 1.2.5 does not load using Spoofax 0.6.0.1, but works fine using Spoofax 0.5.3.94

The error seems to indicate a missing org.webdsl.webdsl_generator.rename_0_0 class, but such a class is present in webdsl.jar

Reproduce: install Eclipse (3.5.2), Spoofax (0.6.0.1), WebDSL (1.2.5) and open up a WebDSL file.

Stack trace in error log:

	org.strategoxt.imp.runtime.dynamicloading.BadDescriptorException: Could not load compiler service provider(s): [include/webdsl_editor.jar, include/webdsl.jar, lib/acoda.jar]
		at org.strategoxt.imp.runtime.services.StrategoObserver.reportLoadException(StrategoObserver.java:243)
		at org.strategoxt.imp.runtime.services.StrategoObserver.loadJars(StrategoObserver.java:232)
		at org.strategoxt.imp.runtime.services.StrategoObserver.initialize(StrategoObserver.java:164)
		at org.strategoxt.imp.runtime.services.StrategoObserver.getRuntime(StrategoObserver.java:700)
		at org.strategoxt.imp.runtime.services.StrategoObserverUpdateJob.analyze(StrategoObserverUpdateJob.java:29)
		at org.strategoxt.imp.runtime.services.StrategoAnalysisQueue$UpdateJob.run(StrategoAnalysisQueue.java:88)
		at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
	Caused by: org.strategoxt.IncompatibleJarException: Incompatible Stratego jar: file:/home/nathan/eclipse/plugins/webdsl.editor_1.2.5/include/webdsl_editor.jar
		at org.strategoxt.HybridInterpreter.registerJar(HybridInterpreter.java:281)
		at org.strategoxt.HybridInterpreter.loadJars(HybridInterpreter.java:238)
		at org.strategoxt.imp.runtime.services.StrategoObserver.loadJars(StrategoObserver.java:227)
		... 5 more
	Caused by: java.lang.NoClassDefFoundError: org/webdsl/webdsl_generator/rename_0_0
		at trans.InteropRegisterer.registerLazy0(InteropRegisterer.java:978)
		at trans.InteropRegisterer.registerLazy(InteropRegisterer.java:807)
		at trans.InteropRegisterer.registerLazy(InteropRegisterer.java:28)
		at org.strategoxt.HybridInterpreter.registerJar(HybridInterpreter.java:266)
		... 7 more
	Caused by: java.lang.ClassNotFoundException: org.webdsl.webdsl_generator.rename_0_0
		at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)
		at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
		at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
		at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
		... 11 more
Submitted by Nathan Bruning on 14 December 2010 at 14:12

On 16 December 2010 at 18:07 Lennart Kats closed this issue.

On 16 December 2010 at 18:07 Lennart Kats commented:

A workaround was implemented in 0.6.0.2. Needs a real fix though: https://yellowgrass.org/issue/Spoofax/322.


On 16 December 2010 at 18:07 Lennart Kats tagged 0.6.0

On 16 December 2010 at 18:08 Lennart Kats tagged @lennartkats

On 16 December 2010 at 18:08 Lennart Kats tagged runtime

On 25 April 2012 at 09:36 Oskar van Rest tagged !oskarvanrest

Log in to post comments