Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    startup javascript exception with GWTP

    After migrating from smartgwtpro.jar in the smartgwtpro-4.0p 2014-01-22 nightly build to smartgwtpro.jar in the 2014-02-02 nightly build, a javascript exception occurs soon after startup, with signature below. I understand the desire for standalone simple reproduceable code but this is deeply embedded and am looking for clues as to what might have changed in such a short time between the two loads. Any hints would be appreciated. This also uses GWTP version 0.7 and GWT version 2.5.1.

    com.google.gwt.core.client.JavaScriptException: (TypeError) @com.smartgwt.client.widgets.BaseWidget::draw()([]): _29 is undefined
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:299)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
    at com.smartgwt.client.widgets.BaseWidget.draw(BaseWidget.java)
    at com.smartgwt.client.widgets.BaseWidget.getElement(BaseWidget.java:340)
    at com.smartgwt.client.widgets.BaseWidget.getElement(BaseWidget.java:312)
    at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:94)
    at com.google.gwt.user.client.ui.AbsolutePanel.add(AbsolutePanel.java:97)
    at com.gwtplatform.mvp.client.RootPresenter$RootView.setInSlot(RootPresenter.java:98)
    at com.gwtplatform.mvp.client.PresenterWidget.setInSlot(PresenterWidget.java:351)
    at com.gwtplatform.mvp.client.PresenterWidget.setInSlot(PresenterWidget.java:313)
    at com.gwtplatform.mvp.client.RootPresenter.onRevealRootContent(RootPresenter.java:174)
    at com.gwtplatform.mvp.client.proxy.RevealRootContentEvent.dispatch(RevealRootContentEvent.java:75)
    at com.gwtplatform.mvp.client.proxy.RevealRootContentEvent.dispatch(RevealRootContentEvent.java:1)
    at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
    at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
    at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
    at com.google.web.bindery.event.shared.SimpleEventBus.fireEventFromSource(SimpleEventBus.java:96)
    at com.gwtplatform.mvp.client.PresenterWidget.fireEvent(PresenterWidget.java:254)
    at com.gwtplatform.mvp.client.proxy.RevealRootContentEvent.fire(RevealRootContentEvent.java:51)
    at com.alu.tat.client.presenter.TicketPagePresenter.revealInParent(TicketPagePresenter.java:124)
    at com.gwtplatform.mvp.client.Presenter.forceReveal(Presenter.java:189)
    at com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract.manualReveal(ProxyPlaceAbstract.java:227)
    at com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract$3$1.execute(ProxyPlaceAbstract.java:213)
    at com.google.gwt.core.client.impl.SchedulerImpl$Task$.executeScheduled$(SchedulerImpl.java:50)
    at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:180)
    at com.google.gwt.core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:347)
    at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78)
    at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:138)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
    at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
    at java.lang.Thread.run(Thread.java:662)

    #2
    Use this FAQ to ensure you don't have stale resources.

    Once you're absolutely sure you have no stale resources, if you still get the problem, fill in other required details (browser(s), platform, compiled vs development mode, stack trace from Developer Console, etc).

    Comment


      #3
      @Isomorphic:
      This might be related to my thread, where I also get a "@com.smartgwt.client.widgets.BaseWidget::draw()([]): _29 is undefined" error on top of the DevMode stack trace.

      Best regards,
      Blama

      Comment


        #4
        Thanks for the notification. This was a temporary regression, now fixed. Please try the next nightly build (Feb 5 or above)

        Comment


          #5
          Works great. Thanks.

          Comment

          Working...
          X