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.
Starting a couple of days ago I can no longer access the javadoc browser. I get this exception when I try to to use it: Annotation: Exception during initialization of HTML browser module java.lang.IllegalStateException: Duplicate pair in treePair1: SL[/Browsers/SwingBrowser pair2: SL[/Browsers/SwingBrowser index1: 6 index2: 6 item1: org.netbeans.core.ui.SwingBrowser@d8eece item2: org.netbeans.core.ui.SwingBrowser@d8eece id1: 262c5c id2: 2a5032 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) at org.openide.util.lookup.AbstractLookup$R.allItemsWithoutBeforeLookup(AbstractLookup.java:749) at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:691) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:378) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:329) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:378) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:329) at org.openide.awt.HtmlBrowser.findComponent(HtmlBrowser.java:226) at org.openide.awt.HtmlBrowser.<init>(HtmlBrowser.java:173) at org.openide.awt.HtmlBrowser.<init>(HtmlBrowser.java:155) at org.netbeans.modules.javadoc.search.IndexSearch.<init>(IndexSearch.java:172) at org.netbeans.modules.javadoc.search.IndexSearch.getDefault(IndexSearch.java:612) at org.netbeans.modules.javadoc.search.SearchDocAction.performAction(SearchDocAction.java:58) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:78) at org.openide.util.actions.CallableSystemAction.doPerformAction(CallableSystemAction.java:116) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:76) at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:690) at javax.swing.JComponent.processKeyBindings(JComponent.java:2484) at javax.swing.JComponent.processKeyEvent(JComponent.java:2401) at java.awt.Component.processEvent(Component.java:4909) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592) at java.awt.Component.dispatchEventImpl(Component.java:3506) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) It seems to have been provoked by a new exception class I added to my project. I've had some problems with 4.0 creating classes and moving them to a new package so it's possibly related to this. Martin
Created attachment 18185 [details] messages.log file containing the exceptions
Some issue with the Swing Browser registered in the lookup. Reassining to the SB provider for evaluation.
*** This issue has been marked as a duplicate of 48590 ***
verified as duplicate