[ https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ant elder closed TUSCANY-1867. ------------------------------ Resolution: Fixed Patch applied in r656190, thanks for the fix > @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.