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 218743 - NullPointerException at org.netbeans.modules.websvc.rest.codegen.EntityResourcesGenerator.generate
Summary: NullPointerException at org.netbeans.modules.websvc.rest.codegen.EntityResour...
Status: RESOLVED DUPLICATE of bug 214662
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-21 09:35 UTC by sony3002
Modified: 2012-09-21 09:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 184551


Attachments
stacktrace (416 bytes, text/plain)
2012-09-21 09:35 UTC, sony3002
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sony3002 2012-09-21 09:35:45 UTC
Build: NetBeans Platform 7.2 (Build 201207171143)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
GUEST: Adding new Web RESTful Service




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.websvc.rest.codegen.EntityResourcesGenerator.generate(EntityResourcesGenerator.java:175)
   at org.netbeans.modules.websvc.rest.wizard.EntityResourcesIterator$1.run(EntityResourcesIterator.java:165)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Comment 1 sony3002 2012-09-21 09:35:47 UTC
Created attachment 124690 [details]
stacktrace
Comment 2 Denis Anisimov 2012-09-21 09:41:17 UTC
The reason of the issue is the same as for issue #214662 : nonexistent Java 
elements are added to the entity's closure.

*** This bug has been marked as a duplicate of bug 214662 ***