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 100326-cf6cffc3bbd1) VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: SunOS User Comments: vv159170: View->Show non printable characters Stacktrace: java.lang.IllegalStateException: Unfinished non-first replace pReplace=viewId=PV@013fec7e, index=0, removeCount=0, addedCount=1, Added: [0]: HV@0173b1ad:<0,1> at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:218) at org.netbeans.modules.editor.lib2.view.ViewUpdates.reinitViews(ViewUpdates.java:131) at org.netbeans.modules.editor.lib2.view.DocumentView.reinitViews(DocumentView.java:346) at org.netbeans.modules.editor.lib2.view.DocumentView$3.preferenceChange(DocumentView.java:451) at sun.reflect.GeneratedMethodAccessor64.invoke(GeneratedMethodAccessor64.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Created attachment 95927 [details] stacktrace
Since this can happen during modifications as well, raising to P2.
I've created a random testing infrastructure that revealed this problem during modifications so committing both the infrastructure plus the fix in ViewBuilder.java. http://hg.netbeans.org/jet-main/rev/df33d1087214
*** Bug 182677 has been marked as a duplicate of this bug. ***
the issue is still reproduced in build NetBeans IDE Dev (Build 201003290201)
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/df33d1087214 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #182875 - IllegalStateException: Unfinished non-first replace pReplace=viewId=PV@013fec7e, index=0, removeCount=0, addedCount=1, Added: [0]: HV@0173b1ad:<0,1>; View hierarhy random testing infrastructure added.
It is not fixed, it happens in Netbeans 6.10 M1 again: Product Version: NetBeans IDE 6.10 M1 (Build 201008260001) Java: 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01 System: Linux version 2.6.32-25-generic running on i386; UTF-8; de_DE (nb) Userdir: /home/jessica/.netbeans/6.10m1
Since the views rebuilding process was considerably rewritten in issue #183219 I hope that this issue is resolved as well by changes in #183219. I've tested View->Show non-printing chars as well and it seems to work fine.
*** Bug 191942 has been marked as a duplicate of this bug. ***
Created attachment 104629 [details] stacktrace After pressing <enter> in having done a code-completion on generic ArrayList
Created attachment 104879 [details] stacktrace Selected and then Deleted a some lines of code (the auto generated main method of a JFrame dialog form).
Created attachment 105000 [details] stacktrace Pressed keyboard shortcutAlt_Shift_F to format source inside a JSP file open ni the Source Editor.
I have somewhat improved the exception's text to possibly get more information regarding the problem. http://hg.netbeans.org/jet-main/rev/e7a8077ec5ac
Integrated into 'main-golden', will be available in build *201101220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e7a8077ec5ac User: Miloslav Metelka <mmetelka@netbeans.org> Log: #182875 - IllegalStateException: Unfinished non-first replace pReplace=viewId=PV@013fec7e, index=0, removeCount=0, addedCount=1, Added: [0]: HV@0173b1ad:<0,1> - improved exception's text.
*** Bug 192993 has been marked as a duplicate of this bug. ***
Since there are no more reports since build 110117 (and since build 110112 in the dup issue 192993) the issue should be fixed (likely due to locking improvements in 194525). If there would be a report in a build later than 110123 please reopen the issue. Thanks.