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.
Undo (at least from the keyboard) appears to be broken! Build: NetBeans IDE Dev (Build 200806211203) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05, Java(TM) SE Runtime Environment, 1.6.0_03-b05 OS: Linux, 2.6.25.6-27.fc8, i386 User comments: STACKTRACE: (first 10 lines) java.lang.IndexOutOfBoundsException: remove(): Index: 0, Size: 0 at org.netbeans.lib.editor.util.GapList.remove(GapList.java:633) at org.netbeans.modules.editor.lib.TrailingWhitespaceRemove.removeRegion(TrailingWhitespaceRemove.java:183) at org.netbeans.modules.editor.lib.TrailingWhitespaceRemove$AddRegionEdit.undo(TrailingWhitespaceRemove.java:373) at org.netbeans.editor.BaseDocumentEvent.undo(BaseDocumentEvent.java:303) at org.netbeans.editor.GuardedDocumentEvent.undo(GuardedDocumentEvent.java:69) at javax.swing.undo.CompoundEdit.undo(CompoundEdit.java:46) at javax.swing.undo.CompoundEdit.undo(CompoundEdit.java:46) at org.netbeans.modules.xml.xam.AbstractModel$ModelUndoableEdit.undo(AbstractModel.java:594) at org.netbeans.modules.bpel.model.impl.BpelModelImpl$BpelModelUndoableEdit.undo(BpelModelImpl.java:822) at org.openide.text.CloneableEditorSupport$FilterUndoableEdit.undo(CloneableEditorSupport.java:2684)
How can I reproduce it please? I tried editing .bpel file from Synchronous Sample project, but without luck. Thanks
This issue has already 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=68340
Build: NetBeans IDE Dev (Build 200807170007) VM: Java HotSpot(TM) Client VM, 1.5.0_13-121, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-241 OS: Mac OS X, 10.4.11, i386 User Comments:
Created attachment 64937 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807170007) VM: Java HotSpot(TM) Client VM, 10.0-b24, Java(TM) SE Runtime Environment, 1.6.0_07-rev-b07 OS: Linux, 2.6.24-19-generic, i386 User Comments: I pasted a starting editor fold (reproducing issue 129672) and after I pasted it, I called Undo...
Created attachment 64978 [details] stacktrace
Product Version: NetBeans IDE Dev (Build 200807170007) Java: 1.6.0_07-rev; Java HotSpot(TM) Client VM 10.0-b24 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb) I think I can reproduce it - how much will you give;)? No, just kidding... it is easy one... 1. Start IDE with a clean userdir 2. Create a new Java Application with a main class 3. Select some text in the main.java file 4. Copy the selection (Ctrl+C) 5. Press backspace (delete the selection) 6. Paste the selection (Ctrl+V) - text is in the same state as before step 5 7. Press Ctrl+Z (undo) -> IOBE
Build: NetBeans IDE Dev (Build 200807170007) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Linux, 2.6.24-19-generic, i386 User Comments: During a Ctrl + Z...
Created attachment 64984 [details] stacktrace
This issue has already 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=68340
Build: NetBeans IDE Dev (Build 200807170007) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13 OS: Windows XP, 5.1, x86 User Comments: I pressed undo in the editor while writing some java code.
Created attachment 65035 [details] stacktrace
Build: NetBeans IDE Dev (Build 080719) VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27 OS: Windows XP, 5.1, x86 User Comments: I edit xml and hit Ctrl+Z
Created attachment 65130 [details] stacktrace
*** Issue 140993 has been marked as a duplicate of this issue. ***
Also see issue #140488.
Build: NetBeans IDE Dev (Build 200807170007) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 65220 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807170007) VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105 OS: Windows XP, 5.1, x86 User Comments: When trying to undo a paste of code into a file.
Created attachment 65278 [details] stacktrace
Build: NetBeans IDE Dev (Build 080723) VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 65375 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807230806) VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Linux, 2.6.24-19-generic, amd64 User Comments: Edited xml file and Copy/Paste one line, push Ctrl+Z .... exception rises
Created attachment 65385 [details] stacktrace
fixed in b9fee126ff05
*** Issue 141390 has been marked as a duplicate of this issue. ***
*** Issue 141354 has been marked as a duplicate of this issue. ***
*** Issue 145588 has been marked as a duplicate of this issue. ***