Open GoogleCodeExporter opened 9 years ago
Hi,
"
You need to configure the GWTP annotation processors see Configuring your build
environment" in the following post:
-> http://code.google.com/p/gwt-platform/wiki/BoilerplateGeneration
Cheers
Rob
Original comment by rob.ferg...@uptick.com.au
on 21 Dec 2011 at 8:52
Thanks, I've added jar as described, but now i've got new error:
00:00:43,926 [ERROR] Failed to create an instance of
'au.com.uptick.serendipity.client.view.SignInPageView' via deferred binding
com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot read
property 'initWidget' of undefined __gwt_ObjectId: 37 at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelSer
ver.java:237) at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:9
1) at com.smartgwt.client.widgets.Button.create(Button.java) at
com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:356)
at com.smartgwt.client.widgets.BaseWidget.getElement(BaseWidget.java:273) at
com.smartgwt.client.widgets.BaseWidget.getElement(BaseWidget.java:261) at
com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:94) at
com.google.gwt.user.client.ui.HTMLPanel.add(HTMLPanel.java:141) at
com.google.gwt.user.client.ui.HTMLPanel.add(HTMLPanel.java:128) at
au.com.uptick.serendipity.client.view.SignInPageView.<init>(SignInPageView.java:
92) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorI
mpl.java:57) at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorA
ccessorImpl.java:45) at
java.lang.reflect.Constructor.newInstance(Constructor.java:532) at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:465) at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49) at
com.google.gwt.core.client.GWT.create(GWT.java:98) at
au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.create_Key$type$au
$com$uptick$serendipity$client$view$SignInPageView$_annotation$$none$$(Serendipi
tyGinjectorImpl.java:252) at
au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.get_Key$type$au$co
m$uptick$serendipity$client$view$SignInPageView$_annotation$$none$$(SerendipityG
injectorImpl.java:269) at
au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.create_Key$type$au
$com$uptick$serendipity$client$presenter$SignInPagePresenter$MyView$_annotation$
$none$$(SerendipityGinjectorImpl.java:2921) at
au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.get_Key$type$au$co
m$uptick$serendipity$client$presenter$SignInPagePresenter$MyView$_annotation$$no
ne$$(SerendipityGinjectorImpl.java:2930) at
au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.create_Key$type$au
$com$uptick$serendipity$client$presenter$SignInPagePresenter$_annotation$$none$$
(SerendipityGinjectorImpl.java:195) at
au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.get_Key$type$au$co
m$uptick$serendipity$client$presenter$SignInPagePresenter$_annotation$$none$$(Se
rendipityGinjectorImpl.java:209) at
au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.access$9(Serendipi
tyGinjectorImpl.java:207) at
au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl$10.get(Serendipity
GinjectorImpl.java:2283) at
au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl$10.get(Serendipity
GinjectorImpl.java:1) at
com.gwtplatform.common.client.StandardProvider.get(StandardProvider.java:48)
at com.gwtplatform.mvp.client.proxy.ProxyImpl.getPresenter(ProxyImpl.java:46)
at
com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract.handleRequest(ProxyPlaceAbst
ract.java:197) at
com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract.access$0(ProxyPlaceAbstract.
java:196) at
com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract$1.onPlaceRequest(ProxyPlaceA
bstract.java:149) at
com.gwtplatform.mvp.client.proxy.PlaceRequestInternalEvent.dispatch(PlaceRequest
InternalEvent.java:126) at
com.gwtplatform.mvp.client.proxy.PlaceRequestInternalEvent.dispatch(PlaceRequest
InternalEvent.java:1) at
com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:204) at
com.google.gwt.event.shared.SimpleEventBus.fireEventFromSource(SimpleEventBus.ja
va:114) at
com.gwtplatform.mvp.client.proxy.PlaceManagerImpl.fireEvent(PlaceManagerImpl.jav
a:146) at
com.gwtplatform.mvp.client.proxy.PlaceManagerImpl.doRevealPlace(PlaceManagerImpl
.java:120) at
com.gwtplatform.mvp.client.proxy.PlaceManagerImpl.revealPlace(PlaceManagerImpl.j
ava:325) at
au.com.uptick.serendipity.client.SerendipityPlaceManager.revealDefaultPlace(Sere
ndipityPlaceManager.java:43) at
com.gwtplatform.mvp.client.proxy.PlaceManagerImpl.onValueChange(PlaceManagerImpl
.java:272) at
com.google.gwt.event.logical.shared.ValueChangeEvent.dispatch(ValueChangeEvent.j
ava:128) at
com.google.gwt.event.logical.shared.ValueChangeEvent.dispatch(ValueChangeEvent.j
ava:1) at
com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:204) at
com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:103)
at
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:101)
at com.google.gwt.user.client.impl.HistoryImpl.fireEvent(HistoryImpl.java:74)
at
com.google.gwt.event.logical.shared.ValueChangeEvent.fire(ValueChangeEvent.java:
43) at
com.google.gwt.user.client.impl.HistoryImpl.fireHistoryChangedImpl(HistoryImpl.j
ava:81) at
com.google.gwt.user.client.History.fireCurrentHistoryState(History.java:121)
at
com.gwtplatform.mvp.client.proxy.PlaceManagerImpl.revealCurrentPlace(PlaceManage
rImpl.java:301) at
au.com.uptick.serendipity.client.Serendipity.revealCurrentPlace(Serendipity.java
:27) at
au.com.uptick.serendipity.client.MultiPageEntryPoint.onModuleLoad2(MultiPageEntr
yPoint.java:94) at
au.com.uptick.serendipity.client.MultiPageEntryPoint.access$0(MultiPageEntryPoin
t.java:62) at
au.com.uptick.serendipity.client.MultiPageEntryPoint$1.execute(MultiPageEntryPoi
nt.java:57) at
com.google.gwt.user.client.CommandExecutor.doExecuteCommands(CommandExecutor.jav
a:310) at
com.google.gwt.user.client.CommandExecutor$2.run(CommandExecutor.java:205) at
com.google.gwt.user.client.Timer.fire(Timer.java:141) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:43) at java.lang.reflect.Method.invoke(Method.java:616) at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157
) at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForRetu
rn(BrowserChannelServer.java:326) at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelSer
ver.java:207) at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:9
1) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at
com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:43) at java.lang.reflect.Method.invoke(Method.java:616) at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157
) at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServ
er.java:281) at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelSe
rver.java:531) at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:679)
Original comment by kazan...@gmail.com
on 22 Dec 2011 at 4:59
Buildfile: /home/marat/Downloads/Serendipity/build.xml
libs:
javac:
[javac] /home/marat/Downloads/Serendipity/build.xml:28: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
devmode:
[java] 08:24:08,941 DEBUG gwt-log:72 - FileUpload Servlet
[java] 08:24:08,944 DEBUG gwt-log:72 - tmpDir: /tmp/Jetty_127_0_0_1_8888_war____-g0qk00
[java] 08:24:08,944 DEBUG gwt-log:72 - destinationDir: /home/marat/Downloads/Serendipity/war/files/upload
[java] 08:24:08,950 DEBUG gwt-log:72 - FileDownload Servlet
[java] 08:24:08,951 DEBUG gwt-log:72 - destinationDir: /home/marat/Downloads/Serendipity/war/files/download
[java] 08:24:08,992 DEBUG JspServlet:80 - Scratch dir for the JSP engine is: /tmp/Jetty_127_0_0_1_8888_war____-g0qk00/jsp
[java] 08:24:08,992 DEBUG JspServlet:82 - IMPORTANT: Do not modify the generated servlets
[java] com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses
[java] at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:214)
[java] at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:103)
[java] at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:101)
[java] at com.google.gwt.user.client.impl.HistoryImpl.fireEvent(HistoryImpl.java:74)
[java] at com.google.gwt.event.logical.shared.ValueChangeEvent.fire(ValueChangeEvent.java:43)
[java] at com.google.gwt.user.client.impl.HistoryImpl.fireHistoryChangedImpl(HistoryImpl.java:81)
[java] at com.google.gwt.user.client.History.fireCurrentHistoryState(History.java:121)
[java] at com.gwtplatform.mvp.client.proxy.PlaceManagerImpl.revealCurrentPlace(PlaceManagerImpl.java:301)
[java] at au.com.uptick.serendipity.client.Serendipity.revealCurrentPlace(Serendipity.java:27)
[java] at au.com.uptick.serendipity.client.MultiPageEntryPoint.onModuleLoad2(MultiPageEntryPoint.java:94)
[java] at au.com.uptick.serendipity.client.MultiPageEntryPoint.access$0(MultiPageEntryPoint.java:62)
[java] at au.com.uptick.serendipity.client.MultiPageEntryPoint$1.execute(MultiPageEntryPoint.java:57)
[java] at com.google.gwt.user.client.CommandExecutor.doExecuteCommands(CommandExecutor.java:310)
[java] at com.google.gwt.user.client.CommandExecutor$2.run(CommandExecutor.java:205)
[java] at com.google.gwt.user.client.Timer.fire(Timer.java:141)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:616)
[java] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
[java] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
[java] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
[java] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
[java] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
[java] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
[java] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
[java] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
[java] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
[java] at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
[java] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:616)
[java] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
[java] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
[java] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
[java] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
[java] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
[java] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
[java] at java.lang.Thread.run(Thread.java:679)
[java] Caused by: com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses
[java] at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:214)
[java] at com.google.gwt.event.shared.SimpleEventBus.fireEventFromSource(SimpleEventBus.java:114)
[java] at com.gwtplatform.mvp.client.proxy.PlaceManagerImpl.fireEvent(PlaceManagerImpl.java:146)
[java] at com.gwtplatform.mvp.client.proxy.PlaceManagerImpl.doRevealPlace(PlaceManagerImpl.java:120)
[java] at com.gwtplatform.mvp.client.proxy.PlaceManagerImpl.revealPlace(PlaceManagerImpl.java:325)
[java] at au.com.uptick.serendipity.client.SerendipityPlaceManager.revealDefaultPlace(SerendipityPlaceManager.java:43)
[java] at com.gwtplatform.mvp.client.proxy.PlaceManagerImpl.onValueChange(PlaceManagerImpl.java:272)
[java] at com.google.gwt.event.logical.shared.ValueChangeEvent.dispatch(ValueChangeEvent.java:128)
[java] at com.google.gwt.event.logical.shared.ValueChangeEvent.dispatch(ValueChangeEvent.java:1)
[java] at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:204)
[java] ... 40 more
[java] Caused by: java.lang.RuntimeException: Deferred binding failed for 'au.com.uptick.serendipity.client.view.SignInPageView' (did you forget to inherit a required module?)
[java] at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
[java] at com.google.gwt.core.client.GWT.create(GWT.java:98)
[java] at au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.create_Key$type$au$com$uptick$serendipity$client$view$SignInPageView$_annotation$$none$$(SerendipityGinjectorImpl.java:995)
[java] at au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.get_Key$type$au$com$uptick$serendipity$client$view$SignInPageView$_annotation$$none$$(SerendipityGinjectorImpl.java:1012)
[java] at au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.create_Key$type$au$com$uptick$serendipity$client$presenter$SignInPagePresenter$MyView$_annotation$$none$$(SerendipityGinjectorImpl.java:2725)
[java] at au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.get_Key$type$au$com$uptick$serendipity$client$presenter$SignInPagePresenter$MyView$_annotation$$none$$(SerendipityGinjectorImpl.java:2734)
[java] at au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.create_Key$type$au$com$uptick$serendipity$client$presenter$SignInPagePresenter$_annotation$$none$$(SerendipityGinjectorImpl.java:2700)
[java] at au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.get_Key$type$au$com$uptick$serendipity$client$presenter$SignInPagePresenter$_annotation$$none$$(SerendipityGinjectorImpl.java:2714)
[java] at au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl.access$1(SerendipityGinjectorImpl.java:2712)
[java] at au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl$2.get(SerendipityGinjectorImpl.java:598)
[java] at au.com.uptick.serendipity.client.gin.SerendipityGinjectorImpl$2.get(SerendipityGinjectorImpl.java:1)
[java] at com.gwtplatform.common.client.StandardProvider.get(StandardProvider.java:48)
[java] at com.gwtplatform.mvp.client.proxy.ProxyImpl.getPresenter(ProxyImpl.java:46)
[java] at com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract.handleRequest(ProxyPlaceAbstract.java:197)
[java] at com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract.access$0(ProxyPlaceAbstract.java:196)
[java] at com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract$1.onPlaceRequest(ProxyPlaceAbstract.java:149)
[java] at com.gwtplatform.mvp.client.proxy.PlaceRequestInternalEvent.dispatch(PlaceRequestInternalEvent.java:126)
[java] at com.gwtplatform.mvp.client.proxy.PlaceRequestInternalEvent.dispatch(PlaceRequestInternalEvent.java:1)
[java] at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:204)
[java] ... 49 more
[java] Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
[java] at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:503)
[java] at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
[java] ... 67 more
Original comment by kazan...@gmail.com
on 22 Dec 2011 at 5:34
Hi,
Are you using GWT 2.2.0, GWTP 0.5.1 and smartGWT 2.4?
Are you using Eclipse Helios?
Try stepping through the code using the Chrome Developer Tools:
-> http://code.google.com/chrome/devtools/docs/overview.html
Original comment by rob.ferg...@uptick.com.au
on 22 Dec 2011 at 7:05
Original issue reported on code.google.com by
kazan...@gmail.com
on 21 Dec 2011 at 10:38