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 203928 - [71cat] NullPointerException at org.netbeans.modules.websvc.core.jaxws.saas.RestWrapperForSoapGenerator.generate
Summary: [71cat] NullPointerException at org.netbeans.modules.websvc.core.jaxws.saas.R...
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 19:24 UTC by javydreamercsw
Modified: 2011-10-20 05:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 182101


Attachments
stacktrace (4.11 KB, text/plain)
2011-10-18 19:24 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2011-10-18 19:24:40 UTC
Build: NetBeans IDE Dev (Build 201110160600)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows 7

User Comments:
javydreamercsw: Creating Wrapper HTTP for a web service




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.websvc.core.jaxws.saas.RestWrapperForSoapGenerator.generate(RestWrapperForSoapGenerator.java:181)
   at org.netbeans.modules.websvc.core.jaxws.saas.RestResourceGenerator$1.run(RestResourceGenerator.java:199)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Comment 1 javydreamercsw 2011-10-18 19:24:43 UTC
Created attachment 112196 [details]
stacktrace
Comment 2 Denis Anisimov 2011-10-19 06:03:40 UTC
As I understand the steps to reproduce are :
- Create Web Project.
- Create JAX-WS webservice.
- Deploy it .
- Choose JAX-WS node in the project explorer and invoke popup menu action 
"Generate SOAP-over-HTTP Wrapper".
Exception appears.

I cannot reproduce it with such simple scenario.
So it could be a consequence some specific data.
I need exact steps to reproduce otherwise I cannot identify the reason.
Comment 3 javydreamercsw 2011-10-19 17:50:13 UTC
Those are the exact steps I did. The only thing I can suggest is doing it with the exact project I did. https://xinco.svn.sourceforge.net/svnroot/xinco/trunk/
Comment 4 Denis Anisimov 2011-10-19 18:57:25 UTC
(In reply to comment #3)
> Those are the exact steps I did. The only thing I can suggest is doing it with
> the exact project I did. https://xinco.svn.sourceforge.net/svnroot/xinco/trunk/

This is exactly what I asked. But still there is uncertainty :
- there are a number of folders under svn rep. Please point EXACT sources what 
do you use in the NB project.
- Please point exact WS what do you use to  sreate SOAP over HTTP wrapper.
( existing WS class or steps to create this class ).

Thanks.
Comment 5 javydreamercsw 2011-10-19 20:24:55 UTC
You'll need to checkout the whole trunk because the projects are linked. The project you'll take a look at is XincoWebApp. There's only one web Service defined. That's the one to use.
Comment 6 Denis Anisimov 2011-10-20 05:20:26 UTC
I cannot reproduce it with your steps for now.
So please recheck it .
Start NB with fresh user dir before this.