Announcement

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

    Problem with Timeline since version smartgwt-5.1p.zip of 2015-12-17

    Hi,

    Since smartgwt-5.1p.zip versions 12.17.2015 I have this error (when I filled TimeLine) :

    *10:34:01.341:WARN:Log:Uncaught exception escaped: com.google.gwt.core.client.JavaScriptException
    (TypeError) : Cannot read property 'slotNum' of undefined
    at wrap_1_g$(shop-0.js@5:43714)
    at entry0_0_g$(shop-0.js@20:10904)
    at <anonymous>(shop-0.js@14:10881)

    but works well with version 5.1p of 2015-12-16 ...

    Linux : Fedora 23
    Chrome: 47.0.2526.106 (64-bit)
    Gwt : 2.7.0

    As always any help is greatly appreciated.

    Thanks.


    #2
    We can't tell much from this - is that the full stack trace of the error? It looks partial. Please never most partial information.

    As far as what's in the stacktrace, it shows methods from your application code, and nothing from Timeline, so it doesn't appear to be caused by SmartGWT.

    Comment


      #3
      Hi,

      After analysis with the showcase in devmode, when I use the arrows
      Previous and next I have the following error message :

      Example on : #simple_timeline

      Code:
      *10:11:58.357:MUP2:WARN:Log:TypeError: Cannot read property 'selectChosenDateCells' of undefined
      Stack from error.stack:
          Calendar.setChosenDate(<no args: exited>) on [Timeline ID:isc_Timeline_0] @ ISC_Calendar.js:481:220
          TimelineView.setTimelineRange(<no args: exited>) on [TimelineView ID:isc_Timeline_0_timelineView] @ ISC_Calendar.js:325:185
          TimelineView.slideRange(<no args: exited>) on [TimelineView ID:isc_Timeline_0_timelineView] @ ISC_Calendar.js:351:864
          TimelineView.nextOrPrev(<no args: exited>) on [TimelineView ID:isc_Timeline_0_timelineView] @ ISC_Calendar.js:351:974
          Calendar.previous(<no args: exited>) on [Timeline ID:isc_Timeline_0] @ ISC_Calendar.js:493:558
          click(<no args: exited>) on [ImgButton ID:isc_Timeline_0_previousButton] @ ISC_Calendar.js:371:1223
          StatefulCanvas.handleActivate(<no args: exited>) on [ImgButton ID:isc_Timeline_0_previousButton] @ ISC_Foundation.js:208:108
          StatefulCanvas.handleClick(<no args: exited>) on [ImgButton ID:isc_Timeline_0_previousButton] @ ISC_Foundation.js:209:13
          [c]EventHandler.bubbleEvent(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1617:89
          [c]EventHandler.handleClick(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1477:50
          EventHandler._handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1462:11
          [c]EventHandler.handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1453:57
          [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>[object MouseEvent]) on [Class EventHandler] @ ISC_Core.js:1691:108
          HTMLDocument.eval(event=>[object MouseEvent]) @ [no file]:3:123
      Uncaught TypeError: Cannot read property 'selectChosenDateCells' of undefined
      
      isc_Calendar_setChosenDate  @   ISC_Calendar.js?isc_version=10.1p.js:481
      isc_TimelineView_setTimelineRange   @   ISC_Calendar.js?isc_version=10.1p.js:325
      isc_TimelineView_slideRange @   ISC_Calendar.js?isc_version=10.1p.js:351
      isc_TimelineView_nextOrPrev @   ISC_Calendar.js?isc_version=10.1p.js:351
      isc_Calendar_previous   @   ISC_Calendar.js?isc_version=10.1p.js:493
      isc.A.previousButtonDefaults.click  @   ISC_Calendar.js?isc_version=10.1p.js:371
      isc_StatefulCanvas_handleActivate   @   ISC_Foundation.js?isc_version=10.1p.js:208
      isc_StatefulCanvas_handleClick  @   ISC_Foundation.js?isc_version=10.1p.js:209
      isc_c_EventHandler_bubbleEvent  @   ISC_Core.js?isc_version=10.1p.js:1617
      isc_c_EventHandler_handleClick  @   ISC_Core.js?isc_version=10.1p.js:1477
      isc_c_EventHandler__handleMouseUp   @   ISC_Core.js?isc_version=10.1p.js:1462
      isc_c_EventHandler_handleMouseUp    @   ISC_Core.js?isc_version=10.1p.js:1453
      isc_c_EventHandler_dispatch @   ISC_Core.js?isc_version=10.1p.js:1691
      (anonymous function)    @   VM59:3
      SmartGWT: http://www.smartclient.com/builds/Sm...rtgwt-5.1p.zip
      Linux : Fedora 23
      Chrome : 47.0.2526.111 (64-bit)
      Gwt : 2.7.0

      Thanks

      Comment


        #4
        Hi,
        I am in front of the same problem using Timeline in our application. I am using version:
        SmartClient Version: v10.1p_2016-01-21/LGPL Development Only (built 2016-01-21)
        which is latest available as the time of of writing.

        It seems that this issue has gone in live demo which is using libs dated 2016-01-26. Unfortunately nothing newer than 2016-01-21 is published so far?

        Regards,
        MichalG
        ps
        Similar observation here: http://forums.smartclient.com/forum/...ttimelinerange

        Comment


          #5
          There is a new (Jan 27) build available now that should address this issue.

          Comment


            #6
            Happy to confirm that this version resolved my problem:
            SmartClient Version: v10.1p_2016-02-02/LGPL Development Only (built 2016-02-02)
            Thanks,
            MichalG

            Comment

            Working...
            X