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 65435 - Got an exception when moving the IDE window from one monitor to another
Summary: Got an exception when moving the IDE window from one monitor to another
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords: DUAL_MONITOR
Depends on:
Blocks:
 
Reported: 2005-09-29 21:43 UTC by apathan
Modified: 2009-04-07 08:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log file created and used by NetBeans (53.32 KB, text/plain)
2005-09-29 21:45 UTC, apathan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description apathan 2005-09-29 21:43:14 UTC
On iBook G4 I started NetBeans 5.0 IDE and it worked great. Next, I connected an external monitor to it 
and moved the NetBeans IDE window to the external monitor. This action gave the following exception 
in a dialog:

java.lang.ArrayIndexOutOfBoundsException: 1
	at apple.awt.CWindow.displayChanged(CWindow.java:359)
[catch] at apple.awt.EventFactoryProxy$2.run(EventFactoryProxy.java:98)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
--------------------------------------------
The log file text related to the above exception says the same. Once I exited Netbeans (with the 
external monitor connected) and restarted it, I can move the window back and forth between the laptop 
screen and the monitor without any error.
Comment 1 apathan 2005-09-29 21:45:11 UTC
Created attachment 25331 [details]
messages.log file created and used by NetBeans
Comment 2 Milos Kleint 2005-09-30 07:01:27 UTC
AFAIK this happens only when the application is started before the external
monitor is connected. It also hapens with swingset demo I think. So maybe a jdk
issue. 

Jaro, can you please double check on your macosx multimonitor setup?
Comment 3 David Simonek 2005-09-30 11:21:55 UTC
I have to pass to you Milos, sorry and thanks.
Comment 4 Jaromir Uhrik 2005-10-05 09:33:14 UTC
Milosi, you are absolutely right. I tried with 5.0 beta and last dev build. The
exception appears only when the application is started before the external
monitor is connected - I got the following exception in dialog (similar is in
console for swing demo too):

java.lang.ArrayIndexOutOfBoundsException: 1
	at apple.awt.CWindow.displayChanged(CWindow.java:355)
[catch] at apple.awt.EventFactoryProxy$2.run(EventFactoryProxy.java:96)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 5 Milos Kleint 2005-10-05 15:55:52 UTC
closing as wontfix. not much we can do on netbeans side. is apple's jdk bug.