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 195227 - IllegalStateException: limitOffset=59540 > docTextLength=59539
Summary: IllegalStateException: limitOffset=59540 > docTextLength=59539
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-02-09 10:14 UTC by williambacchi
Modified: 2011-02-09 17:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176518


Attachments
stacktrace (3.66 KB, text/plain)
2011-02-09 10:14 UTC, williambacchi
Details
stacktrace (2.45 KB, text/plain)
2011-02-09 12:12 UTC, stamm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description williambacchi 2011-02-09 10:14:11 UTC
Build: NetBeans IDE Dev (Build 201102080000)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows XP

User Comments:
pekarna: Nothing in particular. I was viewing a java file where "closure shortener" was in effect on this code

	static {
	    //for localhost testing only
	    javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(
	    new javax.net.ssl.HostnameVerifier(){
 
	        public boolean verify(String hostname,
	                javax.net.ssl.SSLSession sslSession) {
	            if (hostname.equals("localhost")) {
	                return true;
	            }
	            return false;
	        }
	    });
	}




Stacktrace: 
java.lang.IllegalStateException: limitOffset=59540 > docTextLength=59539
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:402)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:336)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:145)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.initChildren(ViewUpdates.java:212)
   at org.netbeans.modules.editor.lib2.view.DocumentView.initChildren(DocumentView.java:593)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.getEditorViewChildrenValid(EditorBoxViewChildren.java:440)
Comment 1 williambacchi 2011-02-09 10:14:15 UTC
Created attachment 105784 [details]
stacktrace
Comment 2 stamm 2011-02-09 12:12:56 UTC
Created attachment 105789 [details]
stacktrace
Comment 3 pekarna 2011-02-09 17:31:20 UTC
Related to BZ#191620
Comment 4 Miloslav Metelka 2011-02-09 17:52:05 UTC

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