Bug #3900
closedleaving fullscreen mode gives an NPE and closes window
0%
Description
On my mac, when I enter fullscreen mode, then hit the ESC key to leave fullscreen mode, I get an NPE and the window closes. I haven't tried another OS or had anyone replicate this yet.
Error:
[run] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
[run] at ptolemy.vergil.basic.ExtendedGraphFrame.cancelFullScreen(ExtendedGraphFrame.java:115)
[run] at ptolemy.vergil.basic.ExtendedGraphFrame$FullScreenAction.actionPerformed(ExtendedGraphFrame.java:264)
[run] at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1576)
[run] at javax.swing.JComponent.processKeyBinding(JComponent.java:2772)
[run] at javax.swing.JComponent.processKeyBindings(JComponent.java:2807)
[run] at javax.swing.JComponent.processKeyEvent(JComponent.java:2735)
Related issues
Updated by Christopher Brooks almost 16 years ago
The bug does not appear if I do
ant change-to -Dsuite=ptII
ant run
# Open any model
# View -> Full Screen
# Hit the Escape key
The bug also does not appear in $PTII/bin/vergil in a regular
Ptolemy II devel tree (outside of Kepler)
I suspect that the recent refactoring of BasicGraphFrame to have
an init() method might have something to do with this, but this is
only a guess.
Updated by Derik Barseghian over 15 years ago
This bug is pretty atrocious, I'm retargeting it to 2.0.0.
Updated by Chad Berkley over 15 years ago
same as 2369
- This bug has been marked as a duplicate of bug 2369 ***