macOS: Session tracks aren't loaded when Corelyzer is launched through CML session file · Issue #18 · corewall/corelyzer · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a CML session file is used to invoke Corelyzer (via double-click, right-click + Open, or dragging CML file onto Corelyzer app), the session loads incompletely. Data files are added correctly, but tracks and sections don't appear.
CorelyzerAppController.doAssociatedFile() calls loadStateFile(). This eventually leads to CorelyzerAppController.createTrack(), where the SceneGraph.addTrack() call returns -1 instead of a valid, non-negative ID.
However, if I create a Runnable with Thread.sleep(2000) before calling loadStateFile(), everything works correctly.
So it appears the problem is a race condition: we try to add a track before SceneGraph is ready.
To fix, ensure app initialization is complete, then load the CML file.
The text was updated successfully, but these errors were encountered:
When a CML session file is used to invoke Corelyzer (via double-click, right-click + Open, or dragging CML file onto Corelyzer app), the session loads incompletely. Data files are added correctly, but tracks and sections don't appear.
CorelyzerAppController.doAssociatedFile() calls loadStateFile(). This eventually leads to CorelyzerAppController.createTrack(), where the SceneGraph.addTrack() call returns -1 instead of a valid, non-negative ID.
However, if I create a Runnable with Thread.sleep(2000) before calling loadStateFile(), everything works correctly.
So it appears the problem is a race condition: we try to add a track before SceneGraph is ready.
To fix, ensure app initialization is complete, then load the CML file.
The text was updated successfully, but these errors were encountered: