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.
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.
Created attachment 25331 [details] messages.log file created and used by NetBeans
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?
I have to pass to you Milos, sorry and thanks.
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)
closing as wontfix. not much we can do on netbeans side. is apple's jdk bug.