ws-wsrf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sal Campana <sc...@apache.org>
Subject Re: wsdl2java NullPointerException
Date Thu, 15 Sep 2005 13:54:08 GMT
Wolfgang Schreiner wrote:

>hi *,
>
>I was going through the WSRF tutorial and trying to deploy the Web
>service as described, but encountered a NullPointerException thrown by
>the "ant generate" task.
>Here is the complete build output:
>
>Buildfile: build.xml
>
>init:
>     [echo] Using webapp dir: c:\programme\apache software
>foundation\tomcat 5.0
>/webapps/wsrf
>
>generate:
>     [copy] Copying 1 file to C:\programme\apache software
>foundation\tomcat 5.0
>\webapps\wsrf\_tmp_
>[wsdl2Java] Processing WSDL file "C:\programme\apache software
>foundation\tomcat
> 5.0\webapps\wsrf\_tmp_\Converter.wsdl"...
>[wsdl2Java] Retrieving document at 'C:\programme\apache software
>foundation\tomc
>at 5.0\webapps\wsrf\_tmp_\Converter.wsdl'.
>[wsdl2Java] Retrieving document at
>'../spec/wsrf/WS-ResourceProperties-1_2-Draft
>_01.wsdl', relative to 'file:/C:/programme/apache software
>foundation/tomcat 5.0
>/webapps/wsrf/_tmp_/Converter.wsdl'.
>[wsdl2Java] Retrieving document at
>'../spec/wsrf/WS-ResourceLifetime-1_2-Draft_0
>1.wsdl', relative to 'file:/C:/programme/apache software
>foundation/tomcat 5.0/w
>ebapps/wsrf/_tmp_/Converter.wsdl'.
>[wsdl2Java] Retrieving document at
>'../spec/wsx/WS-MetadataExchange-2004_09.wsdl
>', relative to 'file:/C:/programme/apache software foundation/tomcat
>5.0/webapps
>/wsrf/_tmp_/Converter.wsdl'.
>[wsdl2Java] Generating XMLBeans for WSDL file "C:\programme\apache
>software foun
>dation\tomcat 5.0\webapps\wsrf\_tmp_\Converter.wsdl"...
>[wsdl2Java] Found existing generated xmlbean jar in the classpath at
>location: H
>:\CURRENT\desktop\apache\wsrf-1.0\template\generated\.xmlbeans\lib\Converter-xbe
>ans.jar ...This will be removed from the classpath sent to Scomp in
>order to reg
>enerate all imports.
>[wsdl2Java] Loading wsdl file C:\programme\apache software
>foundation\tomcat 5.0
>\webapps\wsrf\_tmp_\Converter.wsdl
>[wsdl2Java] Processing 1 schema(s) in C:\programme\apache software
>foundation\to
>mcat 5.0\webapps\wsrf\_tmp_\Converter.wsdl
>
>BUILD FAILED
>H:\CURRENT\desktop\apache\wsrf-1.0\template\build.xml:54:
>java.lang.NullPointerE
>xception
>
>Total time: 5 seconds
>
>What is missing here?
>
>regards,
>Wolfgang
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: wsrf-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: wsrf-user-help@ws.apache.org
>
>
>  
>
Try running with -debug when calling ant...This will provide more 
information and hopefully lead us to what went wrong...

-S

---------------------------------------------------------------------
To unsubscribe, e-mail: wsrf-user-unsubscribe@ws.apache.org
For additional commands, e-mail: wsrf-user-help@ws.apache.org


Mime
View raw message