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 201002190200) VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Windows XP User Comments: Chiana: Created JSF file from entity Chiana: Apparently the wizard for creating jsf pages from entityclasses is VERY broken. It do not create the needed classes and makes only a stub class for AbstractFacade. Further it does not create a proper facadeclass (aka AbstractRemoteFacade) to extend the <entity>RemoteFacade classes with items defined in AbstractFacade. And ofcourse it causes this error... GUEST: generating JSF pages from entity classes. before that, generated entity classes from mysql database. Chiana: Tried the same as last time one more time... Stacktrace: java.lang.NullPointerException at org.netbeans.api.project.ProjectUtils.getSources(ProjectUtils.java:102) at org.netbeans.modules.j2ee.persistence.dd.PersistenceUtils.getJPAVersion(PersistenceUtils.java:177) at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator$1.run(EjbFacadeWizardIterator.java:298) at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.jpa.dao.EjbFacadeWizardIterator$1.run(EjbFacadeWizardIterator.java:253) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:661) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:151)
Created attachment 94337 [details] stacktrace
reassigning to persistence
Created attachment 94351 [details] stacktrace Creating JSF from Entities
works in next case: new web project with jsf, create entity, create jsf from entity, got npe on press finish.
in previous comment "works" means "issue is reproducible". http://hg.netbeans.org/web-main/rev/5e516c49c00a fixed
Integrated into 'main-golden', will be available in build *201002250200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/5e516c49c00a User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #180969 - fixed, pass project as a parameter now
http://bits.netbeans.org/dev/nightly/ is not reachable right now
yes, it's known issue
the site works now, but the latest directory is: 2010-02-24_02-00-36/ 24-Feb-2010 05:09 do I need to wait for tomorrow to test it?
yes, build shouldn't be older then 201002250200
Integrated into 'main-golden', will be available in build *201002260200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/5e516c49c00a User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #180969 - fixed, pass project as a parameter now