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 Dev (Build 20140120-958698330160) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows 7 User Comments: asf4ever: creating session beans from entity classes sj-nb: generate session bean for entities GUEST: Generating a Session bean from an entity class Stacktrace: java.lang.AssertionError at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator$5.run(EjbFacadeWizardIterator.java:631) at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator$5.run(EjbFacadeWizardIterator.java:625) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:649) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:639) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:493) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:593)
Created attachment 144220 [details] stacktrace
just reuse the same java class library in second ejb module with gfeneration of sesssion beans from entities with remote interface (with the same entities)
Thanks for the report, this case was not covered before. Now if you are trying to generate the same remote interfaces into the class library, it skips the generation of (already existing) @Remotes. Fixed in web-main #c8c0163cefab.
Integrated into 'main-silver', will be available in build *201401250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c8c0163cefab User: Martin Fousek <marfous@netbeans.org> Log: #240786 - AssertionError at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator$5.run
Additional minor fix in web-main #718415a60def.