Bug 541744 - PanOnStrokeHandler throws NPE from an internal AnimationTimer after being aborted
Summary: PanOnStrokeHandler throws NPE from an internal AnimationTimer after being abo...
Status: ASSIGNED
Alias: None
Product: GEF
Classification: Tools
Component: GEF MVC (show other bugs)
Version: 5.0.100   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Hannes Niederhausen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-30 08:12 EST by Matthias Wienand CLA
Modified: 2020-01-25 04:20 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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