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.
Build: NetBeans IDE 6.8 Beta (Build 200910020947) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Windows Vista, 6.0, x86 User Comments: jpospisil: Create new JavaEE6 maven Web application and Entity classes from database(javadb:sample) in it (persistence unit also). Then invoke Session Beans for entity classes wizard and select Customer entity class.Click Finish and this exception will appear. Stacktrace: java.lang.IllegalArgumentException: Cannot create a QualIdent for javax.ejb.Stateless at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createQualIdent(GenerationUtils.java:734) at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createAnnotation(GenerationUtils.java:270) at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createAnnotation(GenerationUtils.java:254) at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator$1.run(EjbFacadeWizardIterator.java:227) at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator$1.run(EjbFacadeWizardIterator.java:221) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:653)
Created attachment 88824 [details] stacktrace
I'm not sure with beta, but in current build there are jee6 libraries without javax.ejb support, see also issue 172331. Another effect - direct creation of Session bean is possible, and there is no exception but it's marked with error and I can't build maven project.
may be maven project problem with usage of incorrect snapshot jars for jee6 platform projects.
It's possible that this is caused by issue 173736. I'll check the scenario again,once jars in repository are updated.
works for me today.