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 123023 - Clicking on Nav title bar/windows freezes display: must restart IDE
Summary: Clicking on Nav title bar/windows freezes display: must restart IDE
Status: RESOLVED DUPLICATE of bug 123562
Alias: None
Product: platform
Classification: Unclassified
Component: Navigator (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-29 00:03 UTC by _ krystyna
Modified: 2008-12-22 11:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ krystyna 2007-11-29 00:03:33 UTC
NetBeans IDE 6.0 (Build 200711261600)
1.6.0_04
Windows XP 


AIOOBE and Navigator view cannot be restored without IDE restart in the following 
scenario:

1. close all pages and close down all projects from running IDE; restart IDE.
2. create 2 ee5 VW projects and drop a button on each. 
3. on the first project: 
          --Navigator view should be expanded (components page/html/head/body/button etc.)
            click on button in Navigator to select it
          --click on Navigator title bar 
          --click on Projects window on the empty white space
>Navigator components disappear and its place we see "f:view" (or sometimes empty)
          -- click on Navigator title bar again
          -- click on Navigator window on empty white space
>at this point Navigator view cannot be refreshed. If it does refresh, may have to fiddle with it a bit--
  repeat several times the click on title bar and white space of both windows. Eventually the Navigator view
  will not be expandable as expected when selecting the button on designer. Swithching tabs does not
  help. Dropping a component on designer screen will not help. Windows->Reset Windows does not help.
>red error badge flashes and get ArrayIndexOutOfBoundsException to the log (see below)

  
4. click on page1 of the second project and see it too displays f:view (or empty)
5. create another project and its default Navigator will display f:view
>have to restart IDE to refresh Navigator view:




java.lang.ArrayIndexOutOfBoundsException: 1
        at org.openide.util.lookup.ProxyLookup$R.lookupChange(ProxyLookup.java:393)
        at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:187)
        at org.netbeans.modules.navigator.NavigatorController$ClientsLookup.beforeLookup(NavigatorController.java:655)
        at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:232)
        at org.netbeans.modules.navigator.NavigatorController.updateContext(NavigatorController.java:354)
        at org.netbeans.modules.navigator.NavigatorController.updateContext(NavigatorController.java:256)
        at org.netbeans.modules.navigator.NavigatorController.access$700(NavigatorController.java:98)
        at org.netbeans.modules.navigator.NavigatorController$ActNodeSetter.run(NavigatorController.java:617)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 David Simonek 2008-02-06 10:52:21 UTC
Reason of this bug is the same as for 123562. I'm closing this as duplicate, because 123562 contains more details of my
findings.

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