Bug 541744

Summary: PanOnStrokeHandler throws NPE from an internal AnimationTimer after being aborted
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: Hannes Niederhausen <hniederhausen>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3 CC: frank.rene.benoit, miklossy
Version: 5.0.100   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2018-11-30 08:12:41 EST
Currently, PanOnStrokeHandler cannot be safely aborted, because it will then throw NullPointerException from an internal AnimationTimer (due to access to a field set to null) that is still running after the handler was aborted.

In order to resolve the issue, we need to stop the timer when the handler is aborted.
Comment 1 Tamas Miklossy CLA 2019-06-15 15:26:43 EDT
See also https://github.com/itemis/gef-mindmap-tutorial/issues/2