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 201001190201) VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025 OS: Mac OS X User Comments: GUEST: Creanting a new Enterprise Bean mschovanek: Created a new GF 2.1 EAR project. Chiana: Reporing error #325247 Stacktrace: java.lang.NullPointerException: The element parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:86) at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:379) at org.netbeans.modules.j2ee.ejbcore.ui.logicalview.ejb.shared.EjbViewController$4.run(EjbViewController.java:249) at org.netbeans.modules.j2ee.ejbcore.ui.logicalview.ejb.shared.EjbViewController$4.run(EjbViewController.java:245) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:471) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129)
Created attachment 93407 [details] stacktrace
to reproduce: ------------- 1) create a new Java EE 6 EAR project 2) at the Web app create a new Persistance Unit for jdbc/sample data source 3) at the Web app create new RESTful Web Services from Databases for CUSTOMER table 4) use default REST Resource Configuration 5) expand Generated Sources and Sources Packages ERROR: IDE throws the NPE
Created attachment 93804 [details] stacktrace Creating REST services from Entity classes
This is easily reproduceable -> P2. Andrey, can you please look at this? Thanks.
Fixed in the web-main.
Integrated into 'main-golden', will be available in build *201002100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a2c7f9cd87a0 User: Andrey Yamkovoy <kaktus@netbeans.org> Log: #179664 - NullPointerException: The element parameter cannot be null