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.

Bug 246509 - NullPointerException at org.netbeans.modules.websvc.rest.wizard.Util.getEntities
Summary: NullPointerException at org.netbeans.modules.websvc.rest.wizard.Util.getEntities
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-18 07:05 UTC by Exceptions Reporter
Modified: 2015-04-28 02:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 178221


Attachments
stacktrace (669 bytes, text/plain)
2014-08-18 07:05 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-08-18 07:05:04 UTC
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)
Comment 1 Exceptions Reporter 2014-08-18 07:05:06 UTC
Created attachment 148740 [details]
stacktrace
Comment 2 Jan Stola 2015-04-27 12:31:49 UTC
Fixed by https://hg.netbeans.org/web-main/rev/3825b239c6da
Comment 3 Quality Engineering 2015-04-28 02:57:49 UTC
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.