[ https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597020#action_12597020 ]
Ramkumar Ramalingam commented on TUSCANY-1867: ---------------------------------------------- Hi Vamsi, FYI... Fixes for SCANodeManagerService.destroyNode() is also available from TUSCANY-2252. Since you have also included a fix for @OneWay annotation exception in your patch TUSCANY-1867-2.patch. We could probably ignore the patch for TUSCANY-2252, and apply the ones available in this JIRA. > @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-2.patch, 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.