You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org> on 2006/04/24 06:18:06 UTC

[jira] Updated: (TUSCANY-171) NPE is thrown if WSDL portType cannot be resolved

     [ http://issues.apache.org/jira/browse/TUSCANY-171?page=all ]

Jean-Sebastien Delfino updated TUSCANY-171:
-------------------------------------------

    Priority: Major  (was: Minor)

This is not just a minor bug. Without a meaningful exception the application developer has no clue at all about the problem and how to fix it. Specifying an incorrect WSDL portType is a common programming mistake and should be reported with a meaningful exception (similar to a ClassNotFoundException when you specify an incorrect java interface name).

> NPE is thrown if WSDL portType cannot be resolved
> -------------------------------------------------
>
>          Key: TUSCANY-171
>          URL: http://issues.apache.org/jira/browse/TUSCANY-171
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Axis Integration
>     Reporter: Raymond Feng

>
> NPE is thrown from ExternalWebService if portType cannot be resolved
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.tuscany.binding.axis2.builder.ExternalWebServiceBuilder.build(ExternalWebServiceBuilder.java:142)
> 	at org.apache.tuscany.core.builder.impl.AssemblyVisitor.visit(AssemblyVisitor.java:52)
> We need to have a meaningful exception.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira