Announcement

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

    Crash in Chrome/Safari using grid.groupBy

    Hello,

    Using:
    SmartClient Version: v8.3p_2012-11-23/PowerEdition Deployment (built 2012-11-23)


    In Chrome and Safari, the following stack trace arises, both in dev mode in Chrome (yes i know it's buggy, but just wanted to verify it also happening in offline mode).

    Consider a random ListGrid, and call myGrid.groupBy("myField");

    The stacktrace i get in Chrome + safari is
    Code:
    15:28:32.946 [ERROR] [generatedcode] 15:28:32.944:XRP3:WARN:Log:TypeError: Cannot set property 'isc_OwnNetworkGrid_0_groupTree' of null
    Stack from error.stack:
        ClassFactory.addGlobalID() @ generatedcode/sc/modules/ISC_Core.js:162:49
        Tree.setupProperties() @ generatedcode/sc/modules/ISC_Grids.js:46:2202
        Tree.init() @ generatedcode/sc/modules/ISC_Grids.js:46:1952
        [a]MathFunction.createAutoChild() @ generatedcode/sc/modules/ISC_Core.js:321:5
        ListGrid.regroup() @ generatedcode/sc/modules/ISC_Grids.js:2095:21
        ListGrid.dataChanged() @ generatedcode/sc/modules/ISC_Grids.js:793:61
        eval() @ eval at <anonymous> (http://127.0.0.1:8888/generatedcode/sc/modules/ISC_Core.js:62:76), <anonymous>:2:270
        ResultSet._doneChangingData() @ generatedcode/sc/modules/ISC_DataBinding.js:1679:29
        ResultSet._handleNewData() @ generatedcode/sc/modules/ISC_DataBinding.js:1606:6
        isc.B.push.isc.A.fetchRemoteDataReply() @ generatedcode/sc/modules/ISC_DataBinding.js:1592:76
    
    
    com.smartgwt.client.core.JsObject$SGWT_WARN: 15:28:32.944:XRP3:WARN:Log:TypeError: Cannot set property 'isc_OwnNetworkGrid_0_groupTree' of null
    Stack from error.stack:
        ClassFactory.addGlobalID() @ generatedcode/sc/modules/ISC_Core.js:162:49
        Tree.setupProperties() @ generatedcode/sc/modules/ISC_Grids.js:46:2202
        Tree.init() @ generatedcode/sc/modules/ISC_Grids.js:46:1952
        [a]MathFunction.createAutoChild() @ generatedcode/sc/modules/ISC_Core.js:321:5
        ListGrid.regroup() @ generatedcode/sc/modules/ISC_Grids.js:2095:21
        ListGrid.dataChanged() @ generatedcode/sc/modules/ISC_Grids.js:793:61
        eval() @ eval at <anonymous> (http://127.0.0.1:8888/generatedcode/sc/modules/ISC_Core.js:62:76), <anonymous>:2:270
        ResultSet._doneChangingData() @ generatedcode/sc/modules/ISC_DataBinding.js:1679:29
        ResultSet._handleNewData() @ generatedcode/sc/modules/ISC_DataBinding.js:1606:6
        isc.B.push.isc.A.fetchRemoteDataReply() @ generatedcode/sc/modules/ISC_DataBinding.js:1592:76
    
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
        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:680)
    Is this a regression? In Firefox it works, ie. no error is thrown. Haven't tried IExplorer.

    #2
    Turns out it is a regression. Using the latest nightly of 2013-01-09 it works.

    Comment

    Working...
    X