powerparin / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 0 forks source link

ClassCircularityError: com/gwtext/client/widgets/Container when executing an application on out of process hosted mode (oophm) #475

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an application that has a class that extends Panel() and renders
that class at startup (MainScreen extends Panel, for example).
2. Run the application in out of process hosted mode (web mode works)
3.

What is the expected output? What do you see instead?
The panel should appear. Instead we get an exception and the application
doesn't even load.

What version of the product are you using? On what operating system?
GWT compiled from the oophm branch
(http://google-web-toolkit.googlecode.com/svn/branches/oophm)
GWT-EXT 2.0.6
Windwos XP
Firefox 3, with both oophm plugins installed: generated and xpcom (prebuilt).

Please provide any additional information below.

I am providing a small project that reproduces the problem sistematically.

Original issue reported on code.google.com by ianem...@gmail.com on 19 Feb 2009 at 1:20

GoogleCodeExporter commented 8 years ago
Full stack trace:

00:00:39,703 [ERROR] Unable to load module entry point class
br.com.digitro.testes.client.TesteGwtExtOOPHM (see associated exception for 
details)
com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during 
visit. at
com.google.gwt.dev.js.ast.JsVisitor.translateException(JsVisitor.java:448) at
com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:431) at
com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:404) at
com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:94) at
com.google.gwt.dev.js.JsToStringGenerationVisitor.visit(JsToStringGenerationVisi
tor.java:157)
at 
com.google.gwt.dev.js.ast.JsBinaryOperation.traverse(JsBinaryOperation.java:105)
at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:429) at
com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:404) at
com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:94) at
com.google.gwt.dev.js.JsToStringGenerationVisitor.visit(JsToStringGenerationVisi
tor.java:355)
at com.google.gwt.dev.js.ast.JsExprStmt.traverse(JsExprStmt.java:34) at
com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:429) at
com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:404) at
com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:94) at
com.google.gwt.dev.js.JsToStringGenerationVisitor.printJsBlockOptionalTruncate(J
sToStringGenerationVisitor.java:808)
at
com.google.gwt.dev.js.JsSourceGenerationVisitor.visit(JsSourceGenerationVisitor.
java:39)
at com.google.gwt.dev.js.ast.JsBlock.traverse(JsBlock.java:40) at
com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:429) at
com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:404) at
com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:94) at
com.google.gwt.dev.util.Jsni.generateJavaScriptForHostedMode(Jsni.java:250) at
com.google.gwt.dev.util.Jsni.getJavaScriptForHostedMode(Jsni.java:237) at
com.google.gwt.dev.shell.CompilingClassLoader.injectJsniFor(CompilingClassLoader
.java:732)
at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.jav
a:649) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
java.lang.ClassLoader.loadClass(ClassLoader.java:251) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at
java.lang.ClassLoader.defineClass1(Native Method) at
java.lang.ClassLoader.defineClass(ClassLoader.java:620) at
java.lang.ClassLoader.defineClass(ClassLoader.java:465) at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.jav
a:617) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
java.lang.ClassLoader.loadClass(ClassLoader.java:251) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at
java.lang.ClassLoader.defineClass1(Native Method) at
java.lang.ClassLoader.defineClass(ClassLoader.java:620) at
java.lang.ClassLoader.defineClass(ClassLoader.java:465) at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.jav
a:617) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
java.lang.ClassLoader.loadClass(ClassLoader.java:251) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at
java.lang.ClassLoader.defineClass1(Native Method) at
java.lang.ClassLoader.defineClass(ClassLoader.java:620) at
java.lang.ClassLoader.defineClass(ClassLoader.java:465) at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.jav
a:617) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
java.lang.ClassLoader.loadClass(ClassLoader.java:251) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at
java.lang.Class.forName0(Native Method) at 
java.lang.Class.forName(Class.java:247) at
com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:54
5) at
com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:345) at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java
:169)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:148)
at java.lang.Thread.run(Thread.java:619) Caused by: 
java.lang.ClassCircularityError:
com/gwtext/client/widgets/Container at 
java.lang.Class.getDeclaredMethods0(Native
Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at
java.lang.Class.getDeclaredMethods(Class.java:1791) at
com.google.gwt.dev.shell.DispatchClassInfo.lazyInitTargetMembersUsingReflectionH
elper(DispatchClassInfo.java:188)
at
com.google.gwt.dev.shell.DispatchClassInfo.lazyInitTargetMembers(DispatchClassIn
fo.java:150)
at 
com.google.gwt.dev.shell.DispatchClassInfo.getMemberId(DispatchClassInfo.java:59
)
at
com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getDispId(
CompilingClassLoader.java:126)
at
com.google.gwt.dev.shell.CompilingClassLoader.getDispId(CompilingClassLoader.jav
a:555) at
com.google.gwt.dev.util.Jsni$JsSourceGenWithJsniIdentFixup.visit(Jsni.java:104) 
at
com.google.gwt.dev.js.ast.JsNameRef.traverse(JsNameRef.java:109) at
com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:429) at
com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:404) at
com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:94) at
com.google.gwt.dev.js.JsToStringGenerationVisitor.visit(JsToStringGenerationVisi
tor.java:157)
at 
com.google.gwt.dev.js.ast.JsBinaryOperation.traverse(JsBinaryOperation.java:105)
at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:429) at
com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:404) at
com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:94) at
com.google.gwt.dev.js.JsToStringGenerationVisitor.visit(JsToStringGenerationVisi
tor.java:355)
at com.google.gwt.dev.js.ast.JsExprStmt.traverse(JsExprStmt.java:34) at
com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:429) at
com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:404) at
com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:94) at
com.google.gwt.dev.js.JsToStringGenerationVisitor.printJsBlockOptionalTruncate(J
sToStringGenerationVisitor.java:808)
at
com.google.gwt.dev.js.JsSourceGenerationVisitor.visit(JsSourceGenerationVisitor.
java:39)
at com.google.gwt.dev.js.ast.JsBlock.traverse(JsBlock.java:40) at
com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:429) at
com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:404) at
com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:94) at
com.google.gwt.dev.util.Jsni.generateJavaScriptForHostedMode(Jsni.java:250) at
com.google.gwt.dev.util.Jsni.getJavaScriptForHostedMode(Jsni.java:237) at
com.google.gwt.dev.shell.CompilingClassLoader.injectJsniFor(CompilingClassLoader
.java:732)
at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.jav
a:649) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
java.lang.ClassLoader.loadClass(ClassLoader.java:251) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at
java.lang.ClassLoader.defineClass1(Native Method) at
java.lang.ClassLoader.defineClass(ClassLoader.java:620) at
java.lang.ClassLoader.defineClass(ClassLoader.java:465) at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.jav
a:617) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
java.lang.ClassLoader.loadClass(ClassLoader.java:251) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at
java.lang.ClassLoader.defineClass1(Native Method) at
java.lang.ClassLoader.defineClass(ClassLoader.java:620) at
java.lang.ClassLoader.defineClass(ClassLoader.java:465) at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.jav
a:617) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
java.lang.ClassLoader.loadClass(ClassLoader.java:251) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at
java.lang.ClassLoader.defineClass1(Native Method) at
java.lang.ClassLoader.defineClass(ClassLoader.java:620) at
java.lang.ClassLoader.defineClass(ClassLoader.java:465) at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.jav
a:617) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
java.lang.ClassLoader.loadClass(ClassLoader.java:251) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at
java.lang.Class.forName0(Native Method) at 
java.lang.Class.forName(Class.java:247) at
com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:54
5) at
com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:345) at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java
:169)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:148)
at java.lang.Thread.run(Thread.java:619)

Original comment by ianem...@gmail.com on 19 Feb 2009 at 1:21

GoogleCodeExporter commented 8 years ago
Attached the project to replicate the problem.

Original comment by ianem...@gmail.com on 19 Feb 2009 at 1:38

Attachments: