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 110217-7d71f2c735cb) VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07 OS: Windows 7 User Comments: sj-nb: generate jsf from entity on web project on weblogic with framework added via jsf from entity wizard and pu created by the wizard. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerGenerator.addImplementsClause(JpaControllerGenerator.java:219) at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerGenerator.generateJpaController(JpaControllerGenerator.java:167) at org.netbeans.modules.j2ee.persistence.wizard.jpacontroller.JpaControllerIterator.generateJpaControllers(JpaControllerIterator.java:255) at org.netbeans.modules.web.jsf.wizards.PersistenceClientIterator$1$1.run(PersistenceClientIterator.java:215) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:125) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:566)
Created attachment 106137 [details] stacktrace
there was 'class was changed/ save - yes/no' dialg during generation, may be ide get some changes as external and cause the problem. tried with new project without any problems, need more investigation.
>p4 one report so far, only from me, may be development related. need to collect more statistics.
*** Bug 198373 has been marked as a duplicate of this bug. ***
Created attachment 113614 [details] stacktrace use script from issue 205625 to generate netities, generate controllers for all entities at once.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=176775
I have this issue with McAfee on and do not have with McAfee off, seems also do not have if generate in a folder added to exclutions, during generation i got some "changes" dialogs and later got npe with on access scanning on.
Created attachment 113638 [details] stacktrace During JPA controller generation.
all 6 reports are from win 7, also some refer to approx 150 entities etc, some to 32, the issue seems specific to win7 and relatively big entities set.
http://hg.netbeans.org/web-main/rev/e7c92c7d468d use refresh fo if got null javasource, seems working in my case but may cause some random slowness (as initial issue is random also)