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 74756

Summary: Error when creating new project
Product: projects Reporter: beauredwolf <beauredwolf>
Component: Generic InfrastructureAssignee: Milos Kleint <mkleint>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: mmirilovic
Priority: P3    
Version: 5.x   
Hardware: Macintosh (x86)   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description beauredwolf 2006-04-11 00:53:32 UTC
When using an intel Mac (possibly other platforms) and you go to create a new project, it will create the 
new project, but it won't open the project by default to start working on it. In other words, it creates the 
project folder and everything in it that you specify, but the project won't be open to work on it.
Comment 1 Marian Mirilovic 2006-04-11 06:56:39 UTC
beauredwolf,
What type of project have you been openening? WHat exactly means "won't open the
project" ? Does it mean the project node isn't present in the Projects view? ..
or just the Main class isn't opened in the editor ?
Comment 2 jyeary 2006-05-28 02:39:28 UTC
I am experiencing the same issue. If I create any new project, it will create
the project folder and files, but it will not open it in the IDE. You must use
OPEN PROJECT from the menu(s) to open the project. I am using a G5 on OS X
10.4.6. It apparently does not hurt anything, but is an annoyance.
Comment 3 Kris Richards 2006-08-01 20:48:53 UTC
There is an exception that occurs when this issue appears. Note that though this
exception usaually appears, it does not always. But, if the exception does
appear, then the project does not appear in the project explorer and the user
has to Open the newly created project. If the exception does not throw, then the
project opens in the project explorer as expected. (The exception is pasted below)

Also note that I can NOT reproduce this issue using the following configuration:
Build = NetBeans IDE Dev (Build 200606301330)
OS = Mac OS X version 10.4.7 running on i386
Java = 1.6.0-dp
VM = Java HotSpot(TM) Client VM 1.6.0-b85-9-release

Exception from 5.5Beta:
java.lang.ArrayIndexOutOfBoundsException: 1
	at java.awt.Container.createHierarchyEvents(Container.java:1353)
	at java.awt.Container.createHierarchyEvents(Container.java:1353)
	at java.awt.Container.createHierarchyEvents(Container.java:1353)
	at java.awt.Container.createHierarchyEvents(Container.java:1353)
	at java.awt.Container.createHierarchyEvents(Container.java:1353)
	at java.awt.Container.createHierarchyEvents(Container.java:1353)
	at java.awt.Container.createHierarchyEvents(Container.java:1353)
	at java.awt.Dialog.conditionalShow(Dialog.java:927)
	at java.awt.Dialog.show(Dialog.java:1028)
	at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:810)
	at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:853)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:841)
	at org.openide.util.Mutex$1.run(Mutex.java:1188)
[catch] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:598)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:300)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:210)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:195)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:187)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)


Comment 4 Max Sauer 2006-08-22 14:48:31 UTC
*** Issue 82205 has been marked as a duplicate of this issue. ***
Comment 5 Milos Kleint 2007-01-03 10:11:59 UTC
duplicate of #60740, fixed in 5.5 final.

*** This issue has been marked as a duplicate of 60740 ***