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 135587

Summary: IllegalArgumentException: Project EnterpriseApplication1 is not open and cannot be set as main.
Product: serverplugins Reporter: Petr Dvorak <joshis>
Component: InfrastructureAssignee: Petr Hejl <phejl>
Status: VERIFIED FIXED    
Severity: blocker CC: joshis
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=57168
Issue Type: DEFECT Exception Reporter: 57168

Description Petr Dvorak 2008-05-22 11:14:58 UTC
Build: NetBeans IDE Dev (Build 200805220003)
VM: Java HotSpot(TM) Client VM, 1.5.0_12-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_12-b04
OS: Windows XP, 5.1, x86

User comments: I created an Enterprise Application and I set the BEA Weblogic Application server (version 9). Weblogic
is installed under E:\bea, netbeans in E:\Program Files\netbeans

STACKTRACE: (first 10 lines)
java.lang.IllegalArgumentException: Project EnterpriseApplication1 is not open and cannot be set as main.
        at org.netbeans.modules.project.ui.OpenProjectList.setMainProject(OpenProjectList.java:764)
        at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:212)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Petr Dvorak 2008-05-22 11:31:59 UTC
I just found this is a known issue of Enterprise Application project, it is an issue of only one build... Closing as
FIXED...
Comment 2 Petr Dvorak 2008-05-22 11:42:43 UTC
V.
Comment 3 Petr Hejl 2008-05-22 11:43:11 UTC
I'm not sure whether it was just single build - bug was probably introduced in bf86633cf312.

Should be fixed in 535b86a822d5.
Comment 4 Petr Hejl 2008-05-22 14:57:04 UTC
*** Issue 135588 has been marked as a duplicate of this issue. ***