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 242837 - NullPointerException at org.netbeans.modules.java.source.builder.TreeFactory.modifyClassMember
Summary: NullPointerException at org.netbeans.modules.java.source.builder.TreeFactory....
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-12 17:37 UTC by lzgrillo
Modified: 2015-04-23 15:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208346


Attachments
stacktrace (3.55 KB, text/plain)
2014-03-12 17:37 UTC, lzgrillo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lzgrillo 2014-03-12 17:37:26 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-1410-on-20140309)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Mac OS X

User Comments:
lzgrillo: Create a Rest service pattern




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.source.builder.TreeFactory.modifyClassMember(TreeFactory.java:921)
   at org.netbeans.modules.java.source.builder.TreeFactory.addClassMember(TreeFactory.java:905)
   at org.netbeans.api.java.source.TreeMaker.addClassMember(TreeMaker.java:1362)
   at org.netbeans.modules.websvc.rest.support.JavaSourceHelper.addMethod(JavaSourceHelper.java:614)
   at org.netbeans.modules.websvc.rest.codegen.GenericResourceGenerator.addGetMethod(GenericResourceGenerator.java:350)
   at org.netbeans.modules.websvc.rest.codegen.GenericResourceGenerator.addMethods(GenericResourceGenerator.java:288)
Comment 1 lzgrillo 2014-03-12 17:37:27 UTC
Created attachment 145978 [details]
stacktrace
Comment 2 Jan Stola 2015-04-23 15:15:01 UTC
I am sorry, I am not able to reproduce this issue and the stack-trace of the exception is not sufficient to track the problem down. I am closing this issue as non-reproducible. Feel free to reopen it if you are still able to reproduce it but do not forget to provide more information then (exact steps to reproduce would be ideal). It also may help to attach the files that were (partially) generated along the way. Thank you in advance.