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 127955

Summary: ArrayIndexOutOfBoundsException after closing all editor windows.
Product: platform Reporter: _ pcw <pcw>
Component: LookupAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: stack trace

Description _ pcw 2008-02-20 21:34:50 UTC
I had several editor windows open.  I closed them all via Right Click -> Close All Editor windows.  A second or so after
they all disappeared (I may have tried to activate a project context menu in this time period, can't recall for
certain), the attached exception popped up.  Here's an excerpt:

java.lang.ArrayIndexOutOfBoundsException: 1
        at org.openide.util.lookup.ProxyLookup$R.lookupChange(ProxyLookup.java:416)
        at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:189)
        at
org.netbeans.modules.project.ui.actions.LookupSensitiveAction$LastActivatedWindowLookup.updateLookups(LookupSensitiveAction.java:218)
        at
org.netbeans.modules.project.ui.actions.LookupSensitiveAction$LastActivatedWindowLookup.propertyChange(LookupSensitiveAction.java:223)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
Comment 1 _ pcw 2008-02-20 21:35:09 UTC
Created attachment 56946 [details]
stack trace
Comment 2 Milan Kubec 2008-02-21 09:43:52 UTC
Reassigning to lookup, please evaluate. Thanks.
Comment 3 Jaroslav Tulach 2008-02-21 22:27:55 UTC

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