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.
I'm getting following exception when invoking "Surround with try-catch" hint, in case it is already in a try-catch block. Steps to reproduce: ------------------- 1) Add attached "Creator.java" file to a j2se project 2) Open it 3) Place carret on loc 143 4) Invoke "Surround with try-catch" hint => java.lang.UnsupportedOperationException at java.util.AbstractList.add(AbstractList.java:151) at java.util.AbstractList.addAll(AbstractList.java:306) at org.netbeans.modules.javacore.TryWrapper.wrap(TryWrapper.java:165) at org.netbeans.modules.java.hints.TryWrapperJavaHint.implement(TryWrapperJavaHint.java:66) at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:340) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932) -- Product Version = NetBeans 5.5 Dev (Build 200609040000) Operating System = SunOS version 5.10 running on sparcv9 Java; VM; Vendor; Home = 1.5.0_09-ea; Java HotSpot(TM) 64-Bit Server VM 1.5.0_09-ea-b01; Sun Microsystems Inc.; /usr/jdk1.5.0_09/jre System Locale; Encoding = en (nb); ISO646-US
Created attachment 33605 [details] proposed java source file
Reorganization of java component
This issue is not valid in current builds any more. Java support was completely redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.
Integrated in ssssss #18 (See [http://localhost:8080/job/ssssss/18/]/)
Integrated in ssssss #19 (See [http://localhost:8080/job/ssssss/19/]/)
Integrated in ssssss #23 (See [http://localhost:8080/job/ssssss/23/]/[])
Integrated in a11y3 #8 (See [http://localhost:8080/job/a11y3/8/]/[3fd1a8529257dcbcd102bf14111c4fe110c4a4d3])
Integrated in a11y3 #10 (See [http://localhost:8080/job/a11y3/10/] / [Changeset acd3e740b6f5])<br>Link: http://hg.netbeans.org/main/contrib/rev/acd3e740b6f5
Integrated in a11y3 #12 (See [http://localhost:8080/job/a11y3/12/] / [Changeset 3ba3675d44f2]) Link: http://hg.netbeans.org/main/rev/3ba3675d44f2
Integrated in Cron2 #8 : http://hg.netbeans.org/main/rev/