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 83037 - ArrayIndexOutOfBoundsException when opening New Project Wizard on Mac
Summary: ArrayIndexOutOfBoundsException when opening New Project Wizard on Mac
Status: VERIFIED DUPLICATE of bug 60740
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: Macintosh (x86) Mac OS X
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-19 02:19 UTC by igorminar
Modified: 2008-12-22 22:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (173.50 KB, text/plain)
2006-08-19 02:22 UTC, igorminar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description igorminar 2006-08-19 02:19:33 UTC
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)
Comment 1 igorminar 2006-08-19 02:22:57 UTC
Created attachment 33088 [details]
messages.log
Comment 2 igorminar 2006-08-19 05:30:23 UTC
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.
Comment 3 Jesse Glick 2006-08-22 20:01:22 UTC
Likely dupe of issue #60740.
Comment 4 ehucka 2006-08-28 08:49:54 UTC

*** This issue has been marked as a duplicate of 60740 ***
Comment 5 Tomas Danek 2006-09-27 12:50:10 UTC
verified duplicate
Comment 6 Tomas Danek 2006-09-27 14:31:03 UTC
forgot to mark verified...
..is fixed now in 5.5