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.
--->A hint for "Surround with try/catch" was shown here for (Iterator it = t.getFields().iterator(); it.hasNext();) { ColumnInfo col = (ColumnInfo) it.next(); add(new SelectionTreeNode(col)); } java.lang.UnsupportedOperationException at java.util.AbstractList.add(AbstractList.java:131) at java.util.AbstractList.addAll(AbstractList.java:243) 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)
The Java infrastructure and Java hints have been rewritten for NB6.0, so this particular problem should not occur in NB6.0.
ok