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.
This bug was originally marked as duplicate of bug 206898, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0 (Build 201403101706) VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12 OS: Windows 8 User Comments: GUEST: generate REST from db Stacktrace: java.lang.NullPointerException at org.netbeans.modules.websvc.rest.wizard.Util.getEntities(Util.java:745) at org.netbeans.modules.websvc.rest.wizard.fromdb.DatabaseResourceWizardIterator.generate(DatabaseResourceWizardIterator.java:299) at org.netbeans.modules.websvc.rest.wizard.fromdb.DatabaseResourceWizardIterator.access$000(DatabaseResourceWizardIterator.java:112) at org.netbeans.modules.websvc.rest.wizard.fromdb.DatabaseResourceWizardIterator$1.run(DatabaseResourceWizardIterator.java:182) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Created attachment 148740 [details] stacktrace
Fixed by https://hg.netbeans.org/web-main/rev/3825b239c6da
Integrated into 'main-silver', will be available in build *201504280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3825b239c6da User: Jan Stola <jstola@netbeans.org> Log: #246509: Avoiding a potential NPE.