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 65995 - ArrayIndexOutOfBounds exception when moving netbeans to secondary display
Summary: ArrayIndexOutOfBounds exception when moving netbeans to secondary display
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: DUAL_MONITOR
: 77096 77252 100129 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-05 16:32 UTC by franqueli
Modified: 2008-12-22 10:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Netbeans log file (121.46 KB, text/plain)
2005-10-05 16:33 UTC, franqueli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description franqueli 2005-10-05 16:32:19 UTC
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)
....
Comment 1 franqueli 2005-10-05 16:33:54 UTC
Created attachment 25563 [details]
Netbeans log file
Comment 2 franqueli 2005-10-05 16:35:16 UTC
Here's my setup.
Windows XP service pack 2
jdk1.5.0_04
Comment 3 Milos Kleint 2005-10-06 07:04:49 UTC
have you started netbeans before or after you plugged/setup your secondary desktop?
Comment 4 franqueli 2005-10-06 16:19:27 UTC
I believe the second monitor was connected before I started netbeans.
Comment 5 David Simonek 2005-10-27 16:05:46 UTC
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.

Comment 6 Marian Mirilovic 2006-01-17 16:14:42 UTC
verified JDK issue - still not fixed
Comment 7 Jiri Prox 2006-06-02 16:14:03 UTC
*** Issue 77096 has been marked as a duplicate of this issue. ***
Comment 8 Jiri Prox 2006-06-02 17:26:59 UTC
*** Issue 77252 has been marked as a duplicate of this issue. ***
Comment 9 novakm 2007-04-10 08:03:46 UTC
*** Issue 100129 has been marked as a duplicate of this issue. ***