This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 200387 - IllegalStateException: No current editor.
Summary: IllegalStateException: No current editor.
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-26 11:32 UTC by Jiri Kovalsky
Modified: 2011-09-07 14:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 180134


Attachments
stacktrace (2.70 KB, text/plain)
2011-07-26 11:32 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2011-07-26 11:32:20 UTC
Build: NetBeans IDE 7.0.1 (Build 201107211357)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Linux

User Comments:
jkovalsky: I had "Watches" view open. Clicked <Enter new watch> field which changed to textfield but the cursor was missing so I clicked into it once again but still nothing. So I clicked to Explorer to switch focus and then clicked the new watch textfield again which helped. I typed System.getProperty("os.version") into it and pressed Enter. Table with watches blinked but my new watch didn't appear and the exception was thrown.




Stacktrace: 
java.lang.IllegalStateException: No current editor.
   at org.netbeans.modules.viewmodel.DelegatingCellEditor.getCellEditorValue(DelegatingCellEditor.java:109)
   at javax.swing.JTable.editingStopped(JTable.java:4725)
   at org.netbeans.modules.debugger.ui.models.ColumnModels$WatchesTableCellEditor$WatchesEditorPane.processKeyEvent(ColumnModels.java:740)
   at java.awt.Component.processEvent(Component.java:6281)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4860)
Comment 1 Jiri Kovalsky 2011-07-26 11:32:24 UTC
Created attachment 109619 [details]
stacktrace
Comment 2 Jiri Kovalsky 2011-07-26 11:42:22 UTC
BTW, not reproducible on Ubuntu 11 - only on my Linux Mint 10 again :(. FYI, this might be related to disappearing cursor [1] I have reported a month ago which was unfortunately closed as not reproducible bug by JDK team.

[1] http://netbeans.org/bugzilla/show_bug.cgi?id=199340
Comment 3 Martin Entlicher 2011-09-06 15:11:32 UTC
This should be fixed by changeset:   201039:11b971be6eeb
http://hg.netbeans.org/main/rev/11b971be6eeb
Comment 4 Quality Engineering 2011-09-07 14:32:24 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/11b971be6eeb
User: mentlicher@netbeans.org
Log: #200387 Be able to return the editor value after the editor is stopped/canceled.