johvargas / sfdc-wsc

Automatically exported from code.google.com/p/sfdc-wsc
0 stars 0 forks source link

wsc-gae-16.0.jar throws null pointer excpetion if no parent directory specified for jar output file #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add in a parent directory for the output jar file to get around this issue
BREAKS: java -classpath wsc-gae-16_0.jar <wsdl_file> output.jar
WORKS: java -classpath wsc-gae-16_0.jar <wsdl_file> ./output.jar

What is the expected output? What do you see instead?
Would expect this to parse the input wsdl and output a jar.  Instead I get
this error:
Exception in thread "main" java.lang.NullPointerException
    at com.sforce.ws.tools.wsdlc.checkTargetFile(wsdlc.java:115)
    at com.sforce.ws.tools.wsdlc.<init>(wsdlc.java:66)
    at com.sforce.ws.tools.wsdlc.run(wsdlc.java:288)
    at com.sforce.ws.tools.wsdlc.main(wsdlc.java:279)

What version of the product are you using? On what operating system?
Using wsc-gae-16_0.jar on Mac OS 10.5.6 (Intel Core 2 Duo)

Original issue reported on code.google.com by Ralph.W....@gmail.com on 22 Jun 2009 at 1:40

GoogleCodeExporter commented 8 years ago
Will take a look at this one for the next release.

Original comment by manoj.ch...@gmail.com on 23 Jul 2009 at 12:11

GoogleCodeExporter commented 8 years ago
Same error on OSX 10.6.2

Original comment by jdietz on 24 Mar 2010 at 7:56

GoogleCodeExporter commented 8 years ago
Fixed in Version 18.

Original comment by manoj.ch...@gmail.com on 6 Apr 2010 at 11:17