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 56968

Summary: EJB Wizard throws IAE: no folders selected
Product: javaee Reporter: Nam Nguyen <nnguyen>
Component: CodeAssignee: Andrei Badea <abadea>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P1    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: full stack trace

Description Nam Nguyen 2005-03-25 04:46:08 UTC
I just refresh and build, start ide with fresh userdir.  Then try to create a
Session EJB using wizard, get this exception dialog:

java.lang.IllegalArgumentException: No folders selected
	at
org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:78)
	at
org.netbeans.modules.j2ee.ejbjarproject.ejb.wizard.session.SessionEJBWizard.initialize(SessionEJBWizard.java:69)
	at
org.openide.loaders.TemplateWizard$Brigde2Iterator.initialize(TemplateWizard.java:964)
Comment 1 Nam Nguyen 2005-03-25 04:49:26 UTC
Created attachment 21125 [details]
full stack trace
Comment 2 _ ludo 2005-03-25 05:09:05 UTC
Not for me...
Did you do a real clean build? I do not think so. Please try again, and update
this bug.
False alarms are a waste of time.
Maybe it is not one, but please double check. I had this error yesterday, before
I did a clean build...
Comment 3 Nam Nguyen 2005-03-25 06:06:27 UTC
Ludo is right.  My build is not clean.  Sorry for the false alarm.