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.
An ArrayIndexOutOfBoundsException is thrown every time the New Project Wizard is launched for the first time after NetBeans start. This happens only on Intel Mac (linux version works fine on my linux notebook). Steps to reproduce: 1. Start IDE 2. Click on "New Project.." icon or use Command+Shift+N 3. NPE is thrown 4. Close popup 5a. Click Cancel => no more problems 5b. Close "New project window" by clicking on x (close) in the upper corner of the window 6b. Run "New Project wizard again" (step 2) 7b. Trying to close the wizard by either 5a or 5b will have no effect, sometimes renders ide unresponsive Stack trace from the Error popup window: java.lang.ArrayIndexOutOfBoundsException: 1 at java.awt.Container.createHierarchyEvents(Container.java:1335) at java.awt.Container.createHierarchyEvents(Container.java:1335) at java.awt.Container.createHierarchyEvents(Container.java:1335) at java.awt.Container.createHierarchyEvents(Container.java:1335) at java.awt.Container.createHierarchyEvents(Container.java:1335) at java.awt.Container.createHierarchyEvents(Container.java:1335) at java.awt.Container.createHierarchyEvents(Container.java:1335) at java.awt.Dialog.conditionalShow(Dialog.java:450) at java.awt.Dialog.show(Dialog.java:506) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:816) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:859) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:847) at org.openide.util.Mutex$1.run(Mutex.java:1194) [catch] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Created attachment 33088 [details] messages.log
I also noticed that when this exception is thrown and you create a project anyway, the new project is not added to the "Projects" list in the ide, even though the directory structure is created in the filesystem. If I go through steps 1-5a and then create a new project everything works as expected.
Likely dupe of issue #60740.
*** This issue has been marked as a duplicate of 60740 ***
verified duplicate
forgot to mark verified... ..is fixed now in 5.5