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 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)
Created attachment 105784 [details] stacktrace
Created attachment 105789 [details] stacktrace
Related to BZ#191620
*** This bug has been marked as a duplicate of bug 191620 ***