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 197636 - [70cat] org.openide.util.lookup.ALPairComparator$DuplicatedPairException: Duplicate pair in treePair1: java.lang.Object pair2: org.netbeans.modules.spellchecker.ProjectLocaleQueryImplementation index1: 154 in
Summary: [70cat] org.openide.util.lookup.ALPairComparator$DuplicatedPairException: Dup...
Status: RESOLVED DUPLICATE of bug 166236
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 23:35 UTC by swpalmer
Modified: 2011-04-20 06:49 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 178273


Attachments
stacktrace (1.72 KB, text/plain)
2011-04-11 23:35 UTC, swpalmer
Details
stacktrace (1.63 KB, text/plain)
2011-04-14 17:24 UTC, Exceptions Reporter
Details
stacktrace (1.62 KB, text/plain)
2011-04-19 10:25 UTC, tim_sa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swpalmer 2011-04-11 23:35:36 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-334, Java(TM) SE Runtime Environment, 1.6.0_24-b07-334-10M3326
OS: Mac OS X

User Comments:
swpalmer: Pasting text into an HTML file.

swpalmer: Attempting to edit a HTML file

swpalmer: Editing HTML file in a PHP project




Stacktrace: 
org.openide.util.lookup.ALPairComparator$DuplicatedPairException: Duplicate pair in treePair1: java.lang.Object pair2: org.netbeans.modules.spellchecker.ProjectLocaleQueryImplementation index1: 154 index2: 154 item1: null item2: org.netbeans.modules.spellchecker.ProjectLocaleQueryImplementation@5fe01225 id1: 6fc76c4f id2: d97efde

   at org.openide.util.lookup.ALPairComparator.compare(ALPairComparator.java:69)
   at org.openide.util.lookup.ALPairComparator.compare(ALPairComparator.java:54)
   at java.util.TreeMap.put(TreeMap.java:530)
   at java.util.TreeSet.add(TreeSet.java:238)
   at org.openide.util.lookup.AbstractLookup.getPairsAsLHS(AbstractLookup.java:322)
   at org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(MetaInfServicesLookup.java:153)
Comment 1 swpalmer 2011-04-11 23:35:41 UTC
Created attachment 107656 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-04-13 23:12:43 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=178273
Comment 3 Exceptions Reporter 2011-04-14 17:24:46 UTC
Created attachment 107758 [details]
stacktrace

Just installed the 7.0 RC2, opened and tried to open the plugins dialog.
Comment 4 tim_sa 2011-04-19 10:25:05 UTC
Created attachment 107831 [details]
stacktrace
Comment 5 Jaroslav Tulach 2011-04-20 06:49:58 UTC
The DuplicateException is a result of previous NoClassDefFoundError: Could not initialize class org.netbeans.modules.parsing.impl.indexing.errors.ErrorAnnotator. At least in 

http://statistics.netbeans.org/exceptions/messageslog?id=502898
http://statistics.netbeans.org/exceptions/messageslog?id=504663
http://statistics.netbeans.org/exceptions/messageslog?id=504661

*** This bug has been marked as a duplicate of bug 166236 ***