Announcement

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

    defined with no canvas property - creating a default canvas for this item

    On the last two nightly builds from: 2010-09-24 and 2010-09-27 there is a bug. On several widgets that prevent correct initialization.
    I've found that this concerns a least: SubmitItem and SectionItem.
    Some warning that show up when trying to display form:
    Code:
    19:12:06.215:MUP1:WARN:SubmitItem:isc_SubmitItem_1:CanvasItem: isc_SubmitItem_0 defined with no canvas property - creating a default canvas for this item.
    com.smartgwt.client.core.JsObject$SGWT_WARN: 19:12:06.215:MUP1:WARN:SubmitItem:isc_SubmitItem_1:CanvasItem: isc_SubmitItem_0 defined with no canvas property - creating a default canvas for this item.
        at sun.reflect.GeneratedConstructorAccessor14.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    ...
    Code:
    19:12:06.338:MUP1:WARN:SectionItem:isc_SectionItem_1:CanvasItem: isc_SectionItem_0 defined with no canvas property - creating a default canvas for this item.
    com.smartgwt.client.core.JsObject$SGWT_WARN: 19:12:06.338:MUP1:WARN:SectionItem:isc_SectionItem_1:CanvasItem: isc_SectionItem_0 defined with no canvas property - creating a default canvas for this item.
        at sun.reflect.GeneratedConstructorAccessor14.newInstance(Unknown Source)
        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:157)
        at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1714)
    ...
    All of that finishes with this error:
    Code:
    Uncaught exception escaped
    com.google.gwt.core.client.JavaScriptException: (TypeError): this.canvas.setExpanded is not a function

    #2
    With the 9/27 and 9/28 builds I'm also getting something similar with ButtonItems:

    00:03:55.768 [ERROR] 12:03:44.171:WARN:ButtonItem:isc_ButtonItem_2:CanvasItem: ok defined with no canvas property - creating a default canvas for this item.
    com.smartgwt.client.core.JsObject$SGWT_WARN: 12:03:44.171:WARN:ButtonItem:isc_ButtonItem_2:CanvasItem: ok defined with no canvas property - creating a default canvas for this item. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

    Comment


      #3
      Hi all,
      This was a temporary regression -now fixed. The fix will show up in the next nightly build. Sorry for the inconvenience

      Comment


        #4
        Thanks Paul. I'll look for the next build and confirm the fix.

        Comment


          #5
          OK. This problem was solved in 2010-09-29.
          Best regards
          Mariusz Goch

          Comment

          Working...
          X