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 194909 - AssertionError: limitOffset=2841 > docTextLength=2833
Summary: AssertionError: limitOffset=2841 > docTextLength=2833
Status: RESOLVED DUPLICATE of bug 191620
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-31 13:00 UTC by Kenneth Ganfield
Modified: 2011-02-07 12:56 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176203


Attachments
stacktrace (1.19 KB, text/plain)
2011-01-31 13:00 UTC, Kenneth Ganfield
Details
stacktrace (1.19 KB, text/plain)
2011-01-31 19:46 UTC, fvogler
Details
stacktrace (1.19 KB, text/plain)
2011-02-03 17:11 UTC, IgalR
Details
stacktrace (1.19 KB, text/plain)
2011-02-05 06:20 UTC, pbelbin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ganfield 2011-01-31 13:00:03 UTC
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)
Comment 1 Kenneth Ganfield 2011-01-31 13:00:08 UTC
Created attachment 105517 [details]
stacktrace
Comment 2 fvogler 2011-01-31 19:46:11 UTC
Created attachment 105531 [details]
stacktrace
Comment 3 IgalR 2011-02-03 17:11:29 UTC
Created attachment 105628 [details]
stacktrace

Removing part of the code
Comment 4 pbelbin 2011-02-05 06:20:29 UTC
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.
Comment 5 Miloslav Metelka 2011-02-07 12:55:43 UTC

*** This bug has been marked as a duplicate of bug 191620 ***