Announcement

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

    RPCManager.loadScreen throws error when screen not found

    I thought this was just supposed to log a warning and move on but instead I'm getting

    Code:
    com.google.gwt.core.client.JavaScriptException: (TypeError) @com.google.gwt.core.client.impl.Impl::apply(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)([JavaScript object(4938), JavaScript object(5037), JavaScript object(5038)]): screen 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.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.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.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)
    I've also found that recent 4.0d builds (like within the last 2 weeks or so) are logging

    Code:
    [ERROR] [Foo] - Errors in 'generated://07BBDEB397CBD413D4B8FB695640E5C0/com/smartgwt/client/widgets/toolbar/ToolbarValueType.java'
    	[ERROR] [Foo] - Line 30: Cannot instantiate the type Toolbar
    	[INFO] [Foo] - See snapshot: C:\Users\bbruyn\AppData\Local\Temp\com.smartgwt.client.widgets.toolbar.ToolbarValueType1700084391718405035.java
    All this with a 4.0d 5/31/2013 Power snapshot

    #2
    We've made a change which should address the exception being thrown when loadScreen is called with a bad screen-name.
    This will show up in the next nightly build on the 4.0 branch, dated June 5 or above.

    From the warning along, it's not clear what's causing the other errors you mention. Can you give us any information on how to reproduce this - ideally a test case we can run on our end to see the problem in action?

    Regards
    Isomorphic Software

    Comment


      #3
      Originally posted by Isomorphic View Post
      Can you give us any information on how to reproduce this - ideally a test case we can run on our end to see the problem in action?
      Bah. Sorry about that. Try

      Code:
      public void onModuleLoad() {
      	GWT.create(BeanFactory.CanvasMetaFactory.class);
      }
      Still seems to be an issue with SNAPSHOT_v9.0d_2013-06-04/PowerEdition Deployment (built 2013-06-04). Firefox 21.0

      Comment


        #4
        We've now made another change which should get rid of that warning.
        Please try the next nightly build (June 7 or above)

        Regards
        Isomorphic Software

        Comment

        Working...
        X