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.
Choosing "Build" -> "Generate Javadoc..." leads to an IllegalStateException. This happens every time in this instance of netbeans. java.lang.IllegalStateException: Duplicate pair in treePair1: SL[/Browsers/SwingBrowser pair2: SL[/Browsers/SwingBrowser index1: 6 index2: 6 item1: org.netbeans.core.ui.SwingBrowser@5a4264 item2: org.netbeans.core.ui.SwingBrowser@5a4264 id1: 81018b id2: 15e00b7 at org.openide.util.lookup.ALPairComparator.compare(ALPairComparator.java:52) at java.util.TreeMap.compare(TreeMap.java:1085) at java.util.TreeMap.put(TreeMap.java:463) at java.util.TreeSet.add(TreeSet.java:209) at org.openide.util.lookup.AbstractLookup$R.initItems(AbstractLookup.java:788)
Created attachment 18368 [details] message.log
This problem appears to happen whenever "generate javadoc" is selected while the application is running. (This is with 4.0-beta2.) The problem persists after the app is terminated.
Dane, the following exception is the first: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.get(ArrayList.java:326) at org.netbeans.modules.java.bridge.CallableImpl$ParametersListener.change(CallableImpl.java:800) [catch] at org.netbeans.mdr.util.EventNotifier$EventsDelivery.run(EventNotifier.java:270) at java.lang.Thread.run(Thread.java:534) Please look at it.
ArrayIndexOutOfBoundsException in CallableImpl is duplicate of issue 50067. It has been already fixed.
Looks like the other exceptions have something to do with core. Reassigning.
Again duplicate. Assigning to Jarda to close.
*** Issue 50707 has been marked as a duplicate of this issue. ***
*** This issue has been marked as a duplicate of 40364 ***
*** Issue 50930 has been marked as a duplicate of this issue. ***
closed