Menu

#1 save state fails after removing a component from view

open
nobody
5
2005-10-04
2005-10-04
No

if a component in the lower pane is dragged to the trash
can then subsequent state save(s) fail with an exception
if (and only if?!) there was a visible link /to/ that
component from another component in the view.

console:

Saving editor state to file: grapheditor.state
java.lang.NullPointerException
at
equip.ect.apps.editor.grapheditor.EditorState.buildState
(EditorStateManager.java:658)
at
equip.ect.apps.editor.grapheditor.EditorStateManager.sa
veState(EditorStateManager.java:131)
at
equip.ect.apps.editor.grapheditor.EditorStateManager.sa
veState(EditorStateManager.java:121)
at
equip.ect.apps.editor.grapheditor.EditorStateManager.sa
veState(EditorStateManager.java:116)
at
equip.ect.apps.editor.grapheditor.GraphEditor$1.actionP
erformed(GraphEditor.java:129)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1786)
...

Discussion


Log in to post a comment.

MongoDB Logo MongoDB