Announcement

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

    Javascript error (related to canvasItem) in latest nightly

    Today I updated to SmartGWT LGPL 3.1d (09-13-2012 nightly). Previously my app had been using SmartGWT LGPL 3.1d (05-02-2012 nightly).

    After the update, I started getting a javascript error in my application in Internet Explorer 8 Dev Mode. There's no error in the Compiled mode. I have not changed anything in my application.

    The Javascript error is:

    Code:
    00:04:52.177 [ERROR] [pmproc] 00:04:52.176:TMR4:WARN:Log:Error:
        ''canvasItem' is null or not an object'
        in http://127.0.0.1:8888/pmproc/sc/modules/ISC_Core.js?ver=7
        at line 3434
        Canvas.$wc()
        GridRenderer.$29r(_1=>Obj{name:0_5}, _2=>6, _3=>1)
        GridRenderer.$29q(_1=>6, _2=>1)
        [c]Hover.$zj()
        [c]Class.fireCallback(_1=>Obj, _2=>undef, _3=>Array[0], _4=>[Class Hover], _5=>true) on [Class Timer]
        [c]Timer.$in(_1=>"$ir481")
        anonymous()
            "isc.Timer.$in('$ir481')"
    
    com.smartgwt.client.core.JsObject$SGWT_WARN: 00:04:52.176:TMR4:WARN:Log:Error:
        ''canvasItem' is null or not an object'
        in http://127.0.0.1:8888/pmproc/sc/modules/ISC_Core.js?ver=7
        at line 3434
        Canvas.$wc()
        GridRenderer.$29r(_1=>Obj{name:0_5}, _2=>6, _3=>1)
        GridRenderer.$29q(_1=>6, _2=>1)
        [c]Hover.$zj()
        [c]Class.fireCallback(_1=>Obj, _2=>undef, _3=>Array[0], _4=>[Class Hover], _5=>true) on [Class Timer]
        [c]Timer.$in(_1=>"$ir481")
        anonymous()
            "isc.Timer.$in('$ir481')"
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        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:292)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
        at java.lang.Thread.run(Thread.java:722)
    I tried with 08-29-2012 nightly, and it had the same problem.

    Is this something to do with my code or with SmartGWT libraries?

    Any help will be appreciated. Thanks in advance.

    #2
    This stack trace doesn't make much sense, and given that it only happens in IE8 development mode, it's probably GWT, your IDE or your browser getting into a wedged state and not a real issue.

    Comment

    Working...
    X