Project

General

Profile

Actions

Bug #5574

closed

exception from gui in java 7

Added by Daniel Crawl almost 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Category:
interface
Target version:
Start date:
02/15/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5574

Description

Using java 7, the following exception is generated when choosing "Listen to Actor" from the context menu, or double-clicking on a python actor:

java.lang.NullPointerException
at ptolemy.actor.gui.TextEditor.getBackground(TextEditor.java:144)
at java.awt.Window.setBackground(Unknown Source)
at java.awt.Frame.setBackground(Unknown Source)
at ptolemy.gui.Top.access$1001(Top.java:141)
at ptolemy.gui.Top$SetBackgroundRunnable.run(Top.java:1889)
at ptolemy.gui.Top.deferIfNecessary(Top.java:247)
at ptolemy.gui.Top.setBackground(Top.java:501)
at ptolemy.actor.gui.TextEditor.setBackground(TextEditor.java:238)
at javax.swing.JFrame.frameInit(Unknown Source)
at javax.swing.JFrame.<init>(Unknown Source)
at ptolemy.gui.Top.<init>(Top.java:162)
at ptolemy.actor.gui.TableauFrame.<init>(TableauFrame.java:133)
at ptolemy.actor.gui.TableauFrame.<init>(TableauFrame.java:168)
at ptolemy.actor.gui.TextEditor.<init>(TextEditor.java:104)
at ptolemy.actor.gui.TextEditor.<init>(TextEditor.java:91)
at ptolemy.actor.gui.TextEditor.<init>(TextEditor.java:81)
at ptolemy.vergil.toolbox.TextEditorForStringAttributes.<init>(TextEditorForStringAttributes.java:59)
at ptolemy.vergil.toolbox.TextEditorConfigureFactory.createEditor(TextEditorConfigureFactory.java:135)
at ptolemy.vergil.toolbox.ConfigureAction._openDialog(ConfigureAction.java:143)
at ptolemy.vergil.toolbox.ConfigureAction.actionPerformed(ConfigureAction.java:99)
at diva.canvas.interactor.ActionInteractor.mousePressed(ActionInteractor.java:74)
at diva.canvas.interactor.CompositeInteractor.mousePressed(CompositeInteractor.java:199)
at diva.canvas.interactor.SelectionInteractor.mousePressed(SelectionInteractor.java:202)
at diva.canvas.FigureLayer.dispatchEventUpTree(FigureLayer.java:551)
at diva.canvas.FigureLayer.grabPointer(FigureLayer.java:319)
at diva.canvas.FigureLayer.processLayerEvent(FigureLayer.java:673)
at diva.canvas.FigureLayer.dispatchEvent(FigureLayer.java:203)
at diva.canvas.CanvasPane.processLayerEvent(CanvasPane.java:280)
at diva.canvas.CanvasPane.dispatchEvent(CanvasPane.java:89)
...

Actions

Also available in: Atom PDF