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 Dev (Build 201101310000) VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-9M3263 OS: Mac OS X User Comments: kganfield: editing processRequest method in new generated servlet jsnuggs: Trying to insert a line by pressing enter. GUEST: Occured while wrting Code for Servlet GUEST: Hit the backspace button my my mac Stacktrace: java.lang.AssertionError: limitOffset=2841 > docTextLength=2833 at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:396) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:338) at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:146) at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:516) at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryChanged(ViewUpdates.java:542) at org.netbeans.modules.editor.lib2.view.EditorViewFactory.fireEvent(EditorViewFactory.java:224)
Created attachment 105517 [details] stacktrace
Created attachment 105531 [details] stacktrace
Created attachment 105628 [details] stacktrace Removing part of the code
Created attachment 105671 [details] stacktrace pointed and clicked to the right of a semicolon (last character on the line) to place the cursor, then hit <enter>, expecting to insert a new line, ready for additional code.
*** This bug has been marked as a duplicate of bug 191620 ***