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 211986 - javax.swing.undo.CannotUndoException at org.netbeans.editor.BaseDocumentEvent.undo
Summary: javax.swing.undo.CannotUndoException at org.netbeans.editor.BaseDocumentEvent...
Status: RESOLVED INCOMPLETE
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-02 21:35 UTC by MackSix
Modified: 2012-05-29 16:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 187602


Attachments
stacktrace (4.13 KB, text/plain)
2012-05-02 21:36 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2012-05-02 21:35:57 UTC
Build: NetBeans IDE Dev (Build 201205020400)
VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Windows Vista

User Comments:
MackSix: 1) Removed class under "Other Components" on form after this exception http://statistics.netbeans.org/analytics/exception.do?id=577245

2) Right clicked on "Form JFrameView" root node in Navigator and chose "Reload Form" and this Exception happened.




Stacktrace: 
javax.swing.undo.CannotUndoException
   at org.netbeans.editor.BaseDocumentEvent.undo(BaseDocumentEvent.java:268)
   at org.netbeans.editor.GuardedDocumentEvent.undo(GuardedDocumentEvent.java:72)
   at org.netbeans.modules.editor.lib2.document.StableCompoundEdit.undo(StableCompoundEdit.java:93)
   at org.netbeans.editor.BaseDocument$AtomicCompoundEdit.undo(BaseDocument.java:2107)
   at org.netbeans.editor.BaseDocument.breakAtomicLock(BaseDocument.java:1759)
   at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:323)
Comment 1 MackSix 2012-05-02 21:36:01 UTC
Created attachment 118991 [details]
stacktrace
Comment 2 Milutin Kristofic 2012-05-29 14:38:16 UTC
I cannot reproduce it :
1, I did previous exception
2, Deleted jbutton under other components
3, reloaded form


, are you still able to reproduce it?

Product Version: NetBeans IDE Dev (Build 201205290002)
Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21
System: Linux version 3.0.0-19-generic running on amd64; UTF-8; en_US (nb)
Comment 3 MackSix 2012-05-29 16:20:11 UTC
(In reply to comment #2)
> I cannot reproduce it :
> 1, I did previous exception
> 2, Deleted jbutton under other components
> 3, reloaded form
> 
> 
> , are you still able to reproduce it?
> 
> Product Version: NetBeans IDE Dev (Build 201205290002)
> Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21
> System: Linux version 3.0.0-19-generic running on amd64; UTF-8; en_US (nb)

I tried, but I can't make it happen again. :)