Getting ClassFormatError

189 views
Skip to first unread message

Subbu

unread,
Apr 29, 2009, 1:51:53 AM4/29/09
to Google Web Toolkit
Hi All

I am getting the following error in hosted mode GWT 1.6.4

[ERROR] Failure to load module 'searchui'
java.lang.ClassFormatError: Name index 18176 in LocalVariableTable has
bad constant type in class file org/eclipse/jdt/internal/compiler/
codegen/CodeStream
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode
(TypeDeclaration.java:507)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode
(TypeDeclaration.java:581)
at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode
(CompilationUnitDeclaration.java:356)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:
755)
at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process
(JdtCompiler.java:101)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
444)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
266)
at com.google.gwt.dev.javac.CompilationState.compile
(CompilationState.java:189)
at com.google.gwt.dev.javac.CompilationState.refresh
(CompilationState.java:178)
at com.google.gwt.dev.javac.CompilationState.<init>
(CompilationState.java:93)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
(ModuleDef.java:264)
at com.google.gwt.dev.cfg.ModuleDef.getTypeOracle(ModuleDef.java:325)
at com.google.gwt.dev.SwtHostedModeBase
$SwtBrowserWidgetHostImpl.createModuleSpaceHost(SwtHostedModeBase.java:
66)
at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad
(BrowserWidgetIE6.java:73)
at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke
(BrowserWidgetIE6.java:161)
at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
(IDispatchImpl.java:294)
at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
(IDispatchImpl.java:194)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6
(COMObject.java:117)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
at com.google.gwt.dev.SwtHostedModeBase.processEvents
(SwtHostedModeBase.java:235)
at com.google.gwt.dev.HostedModeBase.pumpEventLoop
(HostedModeBase.java:558)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

Subbu

unread,
Apr 29, 2009, 1:09:14 PM4/29/09
to Google Web Toolkit, Sumit Chandel
GWT team

Any pointers on this issue, not able to compile GWT project.
Getting below exception during compilation.
Not able to figure out from the trace how to fix this issue.

Cheers
Subbu

Subbu

unread,
Apr 30, 2009, 2:41:57 PM4/30/09
to Google Web Toolkit

GWT eclipse plugin got corrupted, not sure how it happened.
i reinstalled it and issue got fixed

Cheers
Subbu
Reply all
Reply to author
Forward
0 new messages