Menu

#154 NullPointerException when setting Mouse Modifiers

Verified Bug
open
nobody
Graph I/O (9)
5
2010-05-01
2010-05-01
Anonymous
No

If i set the mousemodifiers gm.add(new TranslatingGraphMousePlugin(MouseEvent.BUTTON1_MASK & MouseEvent.CTRL_MASK));
and i try to transform a NullPointerException is thrown, because MousePressed doesn't get invoked and so the member "down" doesn't get initialised. Afterwards in mouseDragged the call of down.getX() causes the NullPointerException

Discussion


Log in to post a comment.

MongoDB Logo MongoDB