@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
             Fix For: Java-SCA-Next


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.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to