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.
Build: NetBeans IDE 7.1 (Build 201112071828) VM: Java HotSpot(TM) 64-Bit Server VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07 OS: Windows 7 User Comments: sapanparikh18: Some thing seriously wrong is going on with GSP editor and Ctrl^Z combo. It's messing up all my code resulting into hundreds of compile/run time errors netacq_server: ctrl-z Undo/redo has never worked properly in 7.0 or 7.0.1. Stacktrace: java.lang.IndexOutOfBoundsException: Illegal OutKind[offset=-536865062,line=0,column=-536865062] in org.netbeans.modules.editor.NbEditorDocument@2787e2b3, mimeType='text/x-gsp', kitClass=null, length=3379, version=468, file=org.netbeans.modules.groovy.gsp.loaders.GspDataObject@4b145064[I:\Developement\pretestme\grails-app\views\questionBank\_form.gsp@4daccc10:7795d321] used by org.netbeans.modules.openide.loaders.SimpleES@15d8e99b. at org.openide.text.PositionRef$Manager$OutKind.<init>(PositionRef.java:593) at org.openide.text.PositionRef$Manager$PositionKind.fromMemory(PositionRef.java:563) at org.openide.text.PositionRef$Manager$DocumentRenderer.run(PositionRef.java:1062) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1335) at org.openide.text.PositionRef$Manager$DocumentRenderer.render(PositionRef.java:894) at org.openide.text.PositionRef$Manager.processPositions(PositionRef.java:351)
Created attachment 115349 [details] stacktrace
Created attachment 123004 [details] stacktrace Please see Exception #605422.
It looks like a race condition - position object gets assigned roughly (Integer.MAX_VALUE >> 2) the value of MarkVector.INITIAL_GAP_SIZE. Strange is that the issue occurs even in 080811 build while the new content was integrated Aug 24 2011 (old one uses Integer.MAX_VALUE >> 1).
Created attachment 142537 [details] stacktrace <Please provide a description of the problem or the steps to reproduce>
Created attachment 142540 [details] stacktrace <Please provide a description of the problem or the steps to reproduce>
Could anyone please provide steps to reproduce this problem? Thanks.
Created attachment 142869 [details] stacktrace <Please provide a description of the problem or the steps to reproduce>