[ 
https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vamsavardhana Reddy reopened TUSCANY-1867:
------------------------------------------


r656190 is causing build failures in samples\callback-ws-service because 
@OneWay annotation is present on 
org.apache.tuscany.sca.node.management.SCANodeManagerService.destroyNode().  
And the message in the exception is not really helpful if it does not tell what 
is the problematic method carrying the @OneWay annotation.

> @OneWay with String return type causes NullPointerException
> -----------------------------------------------------------
>
>                 Key: TUSCANY-1867
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1867
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: ant elder
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-1867.patch
>
>
> I tried using @OneWay on a method with a String return type and I got a 
> NullPointerException, like this:
> Exception in thread "Axis2 Task" java.lang.NullPointerException
>         at 
> org.apache.axis2.description.OutInAxisOperationClient$NonBlockingInvocationWorker.run(OutInAxisOperation.java:444)
>         at 
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>         at 
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>         at java.lang.Thread.run(Thread.java:595)
> We should produce a better exception to tell the user what he/she has done 
> wrong.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to