CZML bug in 1.3 ?

Hello,

We have been working with a CZML file showing flight tracks using Cesium 1.1 (in our app) and 1.2 (in the demo early yesterday https://cesiumjs.org/Cesium/Build/Apps/CesiumViewer/index.html )

Using the current CesiumViewer demo (or Viewer in Sandcastle), our flight tracks will play for a period of time, then crap-out with the following exception:

I will be happy to send our CZML file upon request from CZML developer.

Thanks
-Tom

An error occurred while rendering. Rendering has stopped.
undefined
DeveloperError: index is required.
Error
    at new DeveloperError (https://cesiumjs.org/Cesium/Source/Core/DeveloperError.js:43:19)
    at PolylineCollection.get (https://cesiumjs.org/Cesium/Source/Scene/PolylineCollection.js:350:19)
    at PolylineUpdater.updateObject (https://cesiumjs.org/Cesium/Source/DataSources/PathVisualizer.js:360:53)
    at PathVisualizer.update (https://cesiumjs.org/Cesium/Source/DataSources/PathVisualizer.js:474:32)
    at DataSourceDisplay.update (https://cesiumjs.org/Cesium/Source/DataSources/DataSourceDisplay.js:193:41)
    at https://cesiumjs.org/Cesium/Source/Widgets/Viewer/Viewer.js:257:47
    at Event.raiseEvent (https://cesiumjs.org/Cesium/Source/Core/Event.js:146:30)
    at Clock.tick (https://cesiumjs.org/Cesium/Source/Core/Clock.js:203:21)
    at CesiumWidget.render (https://cesiumjs.org/Cesium/Source/Widgets/CesiumWidget/CesiumWidget.js:603:39)
    at render (https://cesiumjs.org/Cesium/Source/Widgets/CesiumWidget/CesiumWidget.js:70:32)

Unfortunately, this is my fault. I accidentally introduced a regression while working on a different issue; and due to lack of test coverage in that area of the code (also my fault), it snuck into the 1.3 release.

The good news is I’ve already added a test and fixed the issue. See https://github.com/AnalyticalGraphicsInc/cesium/pull/2251 for the change. If you’re using an AMD based app; you can just grab PathVisualizer.js and overwrite the one in 1.3 to patch your version. If you’re using the combined Cesium.js, then you’ll need to build Cesium from source with the fix (which is easy to do if you follow our Contributor’s guid: https://github.com/AnalyticalGraphicsInc/cesium/wiki/Contributor’s-Guide