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 124405

Summary: AIOOBE from ProxyLookup$R.lookupChange
Product: platform Reporter: Jesse Glick <jglick>
Component: LookupAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: dsimonek
Priority: P3 Keywords: RANDOM, TEST
Version: 6.x   
Hardware: All   
OS: All   
URL: http://deadlock.netbeans.org/hudson/job/trunk/lastSuccessfulBuild/artifact/xtest/instance/results/testrun_071223-140056/testbag_1/htmlresults/suites/TEST-org.netbeans.modules.visualweb.test.sanity.SanityTests.html#org.netbeans.modules.visualweb.test.sanity.SanityTests.testAddPlugin
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2007-12-23 16:26:32 UTC
Race condition?

java.lang.ArrayIndexOutOfBoundsException: 4
	at org.openide.util.lookup.ProxyLookup$R.lookupChange(ProxyLookup.java:396)
	at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:187)
	at org.netbeans.core.startup.MainLookup.moduleClassLoadersUp(MainLookup.java:117)
	at org.netbeans.core.startup.MainLookup.systemClassLoaderChanged(MainLookup.java:105)
	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:253)
	[....]
Comment 1 Jaroslav Tulach 2007-12-25 14:08:07 UTC
Hardly race condition. The code is synchronized. More likely re-entrant access.
Comment 2 David Simonek 2008-03-05 11:18:23 UTC
Jardo, I believe this is duplicate of what you already fixed, isn't it right?
Comment 3 Jaroslav Tulach 2008-03-10 16:06:29 UTC

*** This issue has been marked as a duplicate of 123679 ***