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.
I got a java.lang.ArrayIndexOutOfBoundsExcetion when moving the main netbeans window from my primary display to the secondary display. .... [WinSys.PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'SITEMAP'. Reason: Top component SITEMAP could not be located or loaded from Components folder. [WinSys.PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'SEARCH-TOPIC-TITLES'. Reason: Top component SEARCH-TOPIC-TITLES could not be located or loaded from Components folder. [WinSys.PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'SECTION'. Reason: Top component SECTION could not be located or loaded from Components folder. [WinSys.PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'SEARCH'. Reason: Top component SEARCH could not be located or loaded from Components folder. [WinSys.PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'TITLESGENERATOR'. Reason: Top component TITLESGENERATOR could not be located or loaded from Components folder. *********** Exception occurred ************ at 11:12 AM on Oct 5, 2005 java.lang.ArrayIndexOutOfBoundsException: 1 at sun.awt.windows.WWindowPeer.updateGC(WWindowPeer.java:190) at sun.awt.windows.WWindowPeer.displayChanged(WWindowPeer.java:217) at sun.awt.windows.WWindowPeer$1.run(WWindowPeer.java:161) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) ....
Created attachment 25563 [details] Netbeans log file
Here's my setup. Windows XP service pack 2 jdk1.5.0_04
have you started netbeans before or after you plugged/setup your secondary desktop?
I believe the second monitor was connected before I started netbeans.
mkleint is right, you have to run netbeans, then enable secondary display, then drag main window and only then exception is thrown. Unfortunately JDK bug, nothing we can do on Netbeans side. Filed as JDK bug 6342641.
verified JDK issue - still not fixed
*** Issue 77096 has been marked as a duplicate of this issue. ***
*** Issue 77252 has been marked as a duplicate of this issue. ***
*** Issue 100129 has been marked as a duplicate of this issue. ***