Lisandro1
(Lisandro Falconi)
January 18, 2013, 2:32pm
1
I’ve tried to recompile Vaadin Widgetset because I updated my version, so I need to recompile the Widgetset. But I have a problem while it was compiling and I can’t resolve it because I don’t find information about that.
Next I copy the console output:
Compiling widgetset main.java.com.infosisarg.zeus.web.ui.vaadin.widgetset.Testvaadin2Widgetset Updating GWT module description file… ene 18, 2013 10:01:10 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets INFO: Widgetsets found from classpath: org.vaadin.jouni.animator.AnimatorWidgetset in jar:file:C:/workspace/IturriaWeb/WebContent/WEB-INF/lib/animator-1.6.6.jar!/ com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:C:/Users/Programacion-22/.m2/repository/com/vaadin/vaadin/6.8.6/vaadin-6.8.6.jar!/ main.java.com.infosisarg.zeus.web.ui.vaadin.widgetset.Testvaadin2Widgetset in file://C/workspace/IturriaWeb/src com.vaadin.addon.tableexport.widgetset.Tableexport_for_vaadinWidgetset in jar:file:C:/workspace/IturriaWeb/WebContent/WEB-INF/lib/TableExport-1.3.0.jar!/ org.vaadin.risto.stepper.widgetset.StepperWidgetset in jar:file:C:/workspace/IturriaWeb/WebContent/WEB-INF/lib/stepper-1.2.0.jar!/ com.vaadin.maskedtextfield.widgetset.MaskedTextFieldWidgetset in jar:file:C:/Users/Programacion-22/.m2/repository/org/vaadin/addons/maskedtextfield/0.1.1/maskedtextfield-0.1.1.jar!/ de.essendi.vaadin.ui.component.numberfield.widgetset.NumberFieldWidgetset in jar:file:C:/Users/Programacion-22/.m2/repository/org/vaadin/addons/numberfield/0.5.1/numberfield-0.5.1.jar!/ org.vaadin.peter.contextmenu.ContextmenuWidgetset in jar:file:C:/Users/Programacion-22/.m2/repository/org/vaadin/addons/contextmenu/3.1.0/contextmenu-3.1.0.jar!/ org.vaadin.peter.buttongroup.ButtongroupWidgetset in jar:file:C:/workspace/IturriaWeb/WebContent/WEB-INF/lib/ButtonGroup-1.2.jar!/
ene 18, 2013 10:01:10 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets INFO: Search took 90ms Done. Starting GWT compiler Compiling module main.java.com.infosisarg.zeus.web.ui.vaadin.widgetset.Testvaadin2Widgetset Computing all possible rebind results for ‘com.google.gwt.user.client.UserAgentAsserter’ Rebinding com.google.gwt.user.client.UserAgentAsserter Checking rule [WARN]
Detected warnings related to ‘com.google.gwt.editor.client.SimpleBeanEditorDriver’. Are validation-api-.jar and validation-api–sources.jar on the classpath? [WARN]
Unknown type ‘com.google.gwt.editor.client.SimpleBeanEditorDriver’ specified in deferred binding rule [ERROR]
Unexpected internal compiler error java.lang.NullPointerException at com.google.gwt.dev.javac.CompilationProblemReporter.reportErrors(CompilationProblemReporter.java:200) at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:666) at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeBySource(UnifyAst.java:985) at com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:530) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:621) at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33) at com.google.gwt.dev.Precompile.precompile(Precompile.java:278) at com.google.gwt.dev.Precompile.precompile(Precompile.java:229) at com.google.gwt.dev.Precompile.precompile(Precompile.java:141) at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:198) at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:168) at com.google.gwt.dev.GWTCompiler$1.run(GWTCompiler.java:135) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82) at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:142) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.vaadin.tools.WidgetsetCompiler$1.run(WidgetsetCompiler.java:84) at java.lang.Thread.run(Thread.java:722) Widgetset compilation failed
With Maven I don’t have problems compiling, but I’m not using maven now.
Thanks you!
Roland2
(Roland Krüger)
January 18, 2013, 3:51pm
2
Hi,
there is something wrong with class com.google.gwt.editor.client.SimpleBeanEditorDriver which seems to be referenced in one of the GWT module descriptors:
[WARN]
Detected warnings related to 'com.google.gwt.editor.client.SimpleBeanEditorDriver'.
Are validation-api-.jar and validation-api--sources.jar on the classpath?
[WARN]
Unknown type 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred binding rule
Have you checked that the two validation jars are on the classpath for the GWT compiler? BTW, it’s a bit strange that there is an extra hyphen in the name of the jars (validation-api–sources). Could this somehow be related with the problem?
Lisandro1
(Lisandro Falconi)
January 18, 2013, 4:29pm
3
Thanks for the answer. I have this .jar into my Java Class Path. I use Eclipse.
Really I don’t know about the error. I have researched for weeks.
Thanks!