Hi there,
I'm compiling a middle size GWT program. The program runs well in
Hosted Mode but when I try to compile it I get the following error:
Compiling permutations
Analyzing permutation #1
[ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode
at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:75)
at com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.visit
(BuildTypeMap.java:295)
at org.eclipse.jdt.internal.compiler.ast.LocalDeclaration.traverse
(LocalDeclaration.java:234)
at org.eclipse.jdt.internal.compiler.ast.Block.traverse(Block.java:
127)
at org.eclipse.jdt.internal.compiler.ast.SwitchStatement.traverse
(SwitchStatement.java:377)
at org.eclipse.jdt.internal.compiler.ast.Block.traverse(Block.java:
127)
at org.eclipse.jdt.internal.compiler.ast.IfStatement.traverse
(IfStatement.java:247)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse
(MethodDeclaration.java:244)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse
(TypeDeclaration.java:1222)
at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse
(CompilationUnitDeclaration.java:518)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls
(BuildTypeMap.java:937)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:
927)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compile
(JavaToJavaScriptCompiler.java:310)
at com.google.gwt.dev.GWTCompiler.realizePermutation(GWTCompiler.java:
511)
at com.google.gwt.dev.GWTCompiler.compilePermutations
(GWTCompiler.java:442)
at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:358)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:564)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
[ERROR] <no source info>: class
com.MyApp.client.reservation.FreeSlotEventPlanel
extends com.MyLib.client.date.def.DefaultDayField
implements : com.google.gwt.user.client.ui.MouseListener
/* fields */
com.MyApp.client.reservation.ReservationWidget reservation_widget
/* methods */
void <init>(com.MyApp.client.reservation.ReservationWidget,
com.MyLib.client.date.DateRenderer)
com.google.gwt.user.client.ui.Widget createCustom
(java.io.Serializable)
com.google.gwt.user.client.ui.Widget getClickableItem()
void onClick(com.google.gwt.user.client.ui.Widget)
void onMouseDown(com.google.gwt.user.client.ui.Widget, int, int)
void onMouseEnter(com.google.gwt.user.client.ui.Widget)
void onMouseLeave(com.google.gwt.user.client.ui.Widget)
void onMouseMove(com.google.gwt.user.client.ui.Widget, int, int)
void onMouseUp(com.google.gwt.user.client.ui.Widget, int, int)
org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding
[ERROR] at ReservationWidgetDateRenderer.java(61): final
FreeSlotEventPlanel panel = new FreeSlotEventPlanel
(reservation_widget, this);
org.eclipse.jdt.internal.compiler.ast.LocalDeclaration
since that particular are of the code is being executed in Hosted Mode
I'm certain the code itself has no Java errors.
Does someone has a hint on what is going on ?
I found very little references online about this kind of errors.
Thanks for your support.
Regards,
rodrigob.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---