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.
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.
ddelponte, please could you attach your message.log file ? Thanks in advance.
ddelponte, could you attach messages.log file, it's difficult to locate the problem without more info. Thanks.
ddelponte, do you have dual core machine?
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.
Probably duplicate of issue #103644.
*** Issue 107920 has been marked as a duplicate of this issue. ***
*** This issue has been marked as a duplicate of 103644 ***
See last comments in issue #103644.