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.

Bug 50577

Summary: IllegalStateException generating javadoc
Product: platform Reporter: foliver <foliver>
Component: LookupAssignee: Jaroslav Tulach <jtulach>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: message.log

Description foliver 2004-10-18 21:43:10 UTC
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)
Comment 1 foliver 2004-10-18 21:44:05 UTC
Created attachment 18368 [details]
message.log
Comment 2 foliver 2004-10-18 21:53:35 UTC
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.
Comment 3 Martin Matula 2004-10-25 17:39:59 UTC
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.
Comment 4 Daniel Prusa 2004-10-26 09:12:43 UTC
ArrayIndexOutOfBoundsException in CallableImpl is duplicate of issue
 	50067. It has been already fixed.
Comment 5 Martin Matula 2004-10-26 09:23:26 UTC
Looks like the other exceptions have something to do with core.
Reassigning.
Comment 6 mslama 2004-10-26 14:10:12 UTC
Again duplicate. Assigning to Jarda to close.
Comment 7 Martin Matula 2004-10-26 15:07:45 UTC
*** Issue 50707 has been marked as a duplicate of this issue. ***
Comment 8 Jaroslav Tulach 2004-10-26 15:13:46 UTC

*** This issue has been marked as a duplicate of 40364 ***
Comment 9 Martin Matula 2004-10-28 09:37:24 UTC
*** Issue 50930 has been marked as a duplicate of this issue. ***
Comment 10 Marian Mirilovic 2005-07-12 10:16:02 UTC
closed