From the ministry of confusing error messages

When JBoss says this:

Caused by:
java.lang.IllegalArgumentException: URL cannot be null

at org.jboss.webservice.metadata.jaxrpcmapping.
JavaWsdlMappingFactory.parse(JavaWsdlMappingFactory.java:55)

it may mean (well, it did in my case) that you’ve accidentally mis-typed the name of jaxrpc-mapping.xml. I guess the error arises whenever files referenced by webservices.xml don’t exactly match the actual file names. A reasonable problem, but rather an opaque error message.

In my case was a missing hack in maven.xml that renames a path in  webservices.xml file generated by XDoclet, basically a workaround to this bug, the source of the problem…

Thanks to Ian I figured this out, he saved me a considerable amount of debug time.

Technorati Tags: , , , ,

Related Posts (generated)

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Switch to our mobile site