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.
This bug was originally marked as duplicate of bug 166236, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.4 (Build 201310111528) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 7 User Comments: GUEST: trying to open options GUEST: opened NetBeans 7 for the first time and got this... now the IDE will not allow me to close it AT ALL GUEST: Attempting to compile a file in project GUEST: My program doesnt open or run. GUEST: I was tring to generate getter and setter methods for bean. Was right clicking on the variable. GUEST: Trying to commit GUEST: I just opened netbeans and a bunch of projects GUEST: migrating from nb 6.9 to nb7 GUEST: Debugging Hibernate Class GUEST: Problem in Resolve SVN Conflict. txomon: I just upgraded from 6.9 to 7.0, uninstalled first 6.9 and then installed 7.0 GUEST: I was trying to conect with mysql, after imported my preferences of netbeans 6.9 GUEST: source format on jsp GUEST: Starting Netbeans Stacktrace: org.openide.util.lookup.ALPairComparator$DuplicatedPairException: Duplicate pair in treePair1: org.netbeans.modules.versioning.FileBasedVCSProvider pair2: org.netbeans.modules.projectapi.ProjectFileBuiltQuery index1: 99 index2: 99 item1: org.netbeans.modules.versioning.FileBasedVCSProvider@ba34b49 item2: org.netbeans.modules.projectapi.ProjectFileBuiltQuery@da3ab97 id1: 74564d7f id2: 4dfa0884 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:545) at java.util.TreeSet.add(TreeSet.java:255) at org.openide.util.lookup.AbstractLookup.getPairsAsLHS(AbstractLookup.java:332) at org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(MetaInfServicesLookup.java:154)
Created attachment 145730 [details] stacktrace
Some issue with FileBasedVCSProvider?
exception reporter lists too many duplicates mentioning *not* only FileBasedVCSProvider. I expect it to be a general problem with lookup.
So the problem appears only with FileBasedVCSProvider and you conclude it is a general problem in Lookup. What a weird logic!
(In reply to Jaroslav Tulach from comment #4) > So the problem appears only with FileBasedVCSProvider and you conclude it is > a general problem in Lookup. What a weird logic! Does it happen only with FileBasedVCSProvider? I don't think so, have you looked at the reports at all? I can list: FileBasedVCSProvider, DefaultModelProvider, NbLifecycleManager, NexusRepositoryIndexerImpl, NbURLDisplayer, ProjectLocaleQueryImplementation, DefaultOutputProcessorFactory, EnabledModulesCollector, and many other... Does my weird logic make sense now?
I see. Missed "not", probably because it was inside of some weird characters - e.g. *not*
The problem is that all the reports are too old and we can ignore them. Except http://statistics.netbeans.org/exceptions/exception.do?id=715306 which is from NetBeans 7.4. Previous reports of this kind included some sooner failure before the actual failure in Lookup. The report 715306 is an exception, there is no known failure before. Anyway it is just a single report of its kind, so let's adjust priority to P4.
No report from 8.0 - something must have been fixed.