You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2006/04/11 07:16:21 UTC
[jira] Created: (TUSCANY-171) NPE is thrown if WSDL portType cannot
be resolved
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
Priority: Minor
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
[jira] Closed: (TUSCANY-171) NPE is thrown if WSDL portType cannot
be resolved
Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-171?page=all ]
ant elder closed TUSCANY-171:
-----------------------------
> 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 Binding
> Reporter: Raymond Feng
> Assignee: ant elder
>
> 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
[jira] Commented: (TUSCANY-171) NPE is thrown if WSDL portType
cannot be resolved
Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-171?page=comments#action_12376887 ]
Raymond Feng commented on TUSCANY-171:
--------------------------------------
It seems now that the InterfaceLoader correctly reports the portType cannot be resolved. I assume it's fixed.
> 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 Binding
> 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
[jira] Updated: (TUSCANY-171) NPE is thrown if WSDL portType cannot
be resolved
Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
[ 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
[jira] Assigned: (TUSCANY-171) NPE is thrown if WSDL portType
cannot be resolved
Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-171?page=all ]
ant elder reassigned TUSCANY-171:
---------------------------------
Assign To: ant elder
> 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 Binding
> Reporter: Raymond Feng
> Assignee: ant elder
>
> 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
[jira] Resolved: (TUSCANY-171) NPE is thrown if WSDL portType
cannot be resolved
Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-171?page=all ]
ant elder resolved TUSCANY-171:
-------------------------------
Resolution: Fixed
After all the refactors that bit of code doesn't even exist now so can't be getting NPE
> 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 Binding
> Reporter: Raymond Feng
> Assignee: ant elder
>
> 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