Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

setTimelineRange causes error

$
0
0
I just upgraded to SmartClient Version: v10.0p_2015-07-30/Pro Deployment (built 2015-07-30)

I get an error when trying to set the range of my timeline.
Code:

Date endDate = DateUtil.getAbsoluteDate(RelativeDate.TODAY);
CalendarUtil.addDaysToDate(endDate, TimelineUtils.daysDuration); // adding 28 days
timeline.setTimelineRange(DateUtil.getAbsoluteDate(RelativeDate.TODAY), endDate);

Stack Trace:
Code:

exceptionMessage=
(TypeError) : Cannot read property 'frozen' of null,
stackTrace=
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'frozen' of null
at Unknown.wrap_1_g$(Exceptions.java:36)
at Unknown.setTimelineRange_1_g$(Calendar.java:6507)
at Unknown.execute_204_g$(ResourceOverviewWidget.java:434)
at Unknown.anonymous(Calendar.java:8502)
at Unknown.apply_0_g$(Impl.java:247)
at Unknown.entry0_0_g$(Impl.java:300)
at Unknown.anonymous(Impl.java:72)
at Unknown.anonymous(SmartGwtEntryPoint.java:364)


From developer console:
Code:

16:30:44.650:XRP5[E0]:WARN:Log:TypeError: Cannot read property 'frozen' of null
Stack from error.stack:
        TimelineView.isLabelCol(<no args: exited>) on [TimelineView ID:isc_Timeline_0_timelineView] @ ISC_Calendar.js:346:491
        TimelineView.getBaseStyle(<no args: exited>) on [TimelineView ID:isc_Timeline_0_timelineView] @ ISC_Calendar.js:348:159
        TimelineView.getCellStyle(<no args: exited>) on [TimelineView ID:isc_Timeline_0_timelineView] @ ISC_Calendar.js:346:806
        [o]GridBody.eval(<no args: exited>) on [GridBody ID:isc_Timeline_0_timelineView_body] @ [no file]:4:115
        GridBody.updateCellStyle(<no args: exited>) on [GridBody ID:isc_Timeline_0_timelineView_body] @ ISC_Grids.js:578:220
        [a][c]Class.invokeSuper(<no args: exited>) on [GridBody ID:isc_Timeline_0_timelineView_body] @ ISC_Core.js:281:162
        GridBody.updateCellStyle(<no args: exited>) on [GridBody ID:isc_Timeline_0_timelineView_body] @ ISC_Grids.js:830:1196
        GridBody.setRowStyle(<no args: exited>) on [GridBody ID:isc_Timeline_0_timelineView_body] @ ISC_Grids.js:615:27
        Array.map(<no args: exited>) @ ISC_Core.js:449:193
        TimelineView.hiliteRecord(<no args: exited>) on [TimelineView ID:isc_Timeline_0_timelineView] @ ISC_Grids.js:1742:154


Viewing all articles
Browse latest Browse all 4756

Trending Articles