Announcement

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

  • Isomorphic
    replied
    No, this doesn't look like any of the recent 5.0 bug fixes.

    As far as possibly hitting this in *current* 5.1d builds, a first step is to use the instructions in the FAQ & Debugging topic to get a clear stack trace.

    Leave a comment:


  • mazzi
    replied
    I too have been seeing this same issue as well, in the 5.1d builds. I tried the 5.1d build from 2015-05-21 and it's still has this issue.
    In my particular case I'm calling setInitialSort(SortSpecifier[]) instead of setSort(), if this makes any difference.

    Leave a comment:


  • Was a Bug introduced and fixed recently in the area of ListGrid setSort()?

    Hi Isomorphic,

    I have a version deployed which seems to have bug that I fixed now. Could you just confirm that there was some change and it is working as expected now?
    My users hit it, not me, so this isn't very fortunate for me.
    • Last working version: ? (I'd guess something like end April)
    • Version with bug: v10.0p_2015-05-14
    • Fixed as it seems: v10.0p_2015-05-21 (I did not check versions in between)


    I get this error, which unfortunately does not say much (Eclipse GWT DevMode log):
    Code:
    16:25:31.609 [ERROR] [lms] Uncaught exception escaped
    
    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(170), JavaScript object(154), JavaScript object(616)]): this.getField(...) is null
        at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:252)
        at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:137)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:589)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:293)
        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:299)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
        at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:296)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:551)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:368)
    This is, if it happens at startup.
    If it does happen later, I get this Developer Console log, which might help you:
    Code:
    16:42:02.882:MUP2[E0]:WARN:Log:Uncaught JavaScript exception: TypeError: this.getField(...) is null in http://localhost:8080/lms/lms/sc/modules/ISC_Grids.js?isc_version=v10.0p_2015-05-14.js, line 2613
    In my application I persist sorting in the DB an re-apply on re-login with listgrid.setSortState(). If there is data, it works:
    If there is no data, I apply default-sorting:
    Code:
    setSort(new SortSpecifier[] { new SortSpecifier(campaignLGF.getName(), SortDirection.ASCENDING) });
    This causes the error.

    Have there been changes in this area recently? Should be everything good now, again? For me, it seems so, but if you have an advice, what to double check, I'll happily do that.

    Best regards
    Blama
Working...
X