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 104338 - IAE: "Project ... is not open and cannot be set as main" during OpenProject
Summary: IAE: "Project ... is not open and cannot be set as main" during OpenProject
Status: RESOLVED DUPLICATE of bug 103644
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords:
: 107920 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-19 03:05 UTC by ddelponte
Modified: 2007-06-26 16:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ddelponte 2007-05-19 03:05:23 UTC
Users are unable to create a Java Desktop Application on Intel Macs.  To
reproduce this problem, please do the following:

1.  Start NetBeans 6
2.  Select File >> New Project >> General >> Java Desktop Application
3.  The following error occurs:
java.lang.IllegalArgumentException: Project DesktopApplication1 is not open and
cannot be set as main.
	at
org.netbeans.modules.project.ui.OpenProjectList.setMainProject(OpenProjectList.java:474)
	at
org.netbeans.modules.project.ui.actions.OpenProject.actionPerformed(OpenProject.java:119)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
	at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:104)
	at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
	at java.awt.MenuItem.processEvent(MenuItem.java:556)
	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
	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)

4.  A project file is created but it cannot be opened.
Comment 1 Marian Mirilovic 2007-05-22 12:11:04 UTC
ddelponte, 
please could you attach your message.log file ? Thanks in advance.
Comment 2 Milan Kubec 2007-05-25 11:59:18 UTC
ddelponte, could you attach messages.log file, it's difficult to locate the
problem without more info. Thanks.
Comment 3 Milan Kubec 2007-05-25 13:55:46 UTC
ddelponte, do you have dual core machine?
Comment 4 ddelponte 2007-05-25 18:30:24 UTC
I apologies for the late response.  I am running NetBeans on a Core 2 Duo
MacBook Pro.  I will attach the message.log file tonight when I have access to
the laptop.
Comment 5 Milan Kubec 2007-06-25 09:20:28 UTC
Probably duplicate of issue #103644.
Comment 6 Milan Kubec 2007-06-25 09:39:10 UTC
*** Issue 107920 has been marked as a duplicate of this issue. ***
Comment 7 Milan Kubec 2007-06-26 10:28:04 UTC

*** This issue has been marked as a duplicate of 103644 ***
Comment 8 Milan Kubec 2007-06-26 16:02:10 UTC
See last comments in issue #103644.