You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (JIRA)" <tu...@ws.apache.org> on 2007/10/24 19:38:50 UTC

[jira] Created: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

@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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Assigned: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "Ramkumar Ramalingam (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramkumar Ramalingam reassigned TUSCANY-1867:
--------------------------------------------

    Assignee: Ramkumar Ramalingam

> @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: Ramkumar Ramalingam
>             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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Assigned: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder reassigned TUSCANY-1867:
----------------------------------

    Assignee: ant elder  (was: Ramkumar Ramalingam)

> @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.


[jira] Updated: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "Ramkumar Ramalingam (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramkumar Ramalingam updated TUSCANY-1867:
-----------------------------------------

    Attachment: TUSCANY-1867.patch

> @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: Ramkumar Ramalingam
>             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.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws updated TUSCANY-1867:
--------------------------------


Didn't make 1.1

> @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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws updated TUSCANY-1867:
--------------------------------

    Fix Version/s:     (was: Java-SCA-1.1)
                   Java-SCA-Next

> @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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "Ramkumar Ramalingam (JIRA)" <tu...@ws.apache.org>.
    [ 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.


[jira] Closed: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ 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 2 applied, 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-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.


[jira] Reopened: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ 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.


[jira] Commented: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "Ramkumar Ramalingam (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589541#action_12589541 ] 

Ramkumar Ramalingam commented on TUSCANY-1867:
----------------------------------------------

This JIRA talks about producing better exception message for those methods with @OneWay annotations, when these method does not have "void" return type. The best place to throw this exception would be in the org.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceIntrospectorImpl code as shown below, instead of allowing them to crop-up in the axis2 code.

            boolean nonBlocking = method.isAnnotationPresent(OneWay.class);
            if (nonBlocking) {
            	if (!(returnType == void.class)) {
            		throw new InvalidOperationException(
                            "Method should return 'void' when declared with an @OneWay annotation.",
                            method);
            	}
            	if (!(faultTypes.length == 0)) {
            		throw new InvalidOperationException(
                            "Method should not declare exceptions with an @OneWay annotation.",
                            method);
            	}
            }

I'll attach a patch with this 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: Ramkumar Ramalingam
>             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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ 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.


[jira] Updated: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws updated TUSCANY-1867:
--------------------------------

    Fix Version/s:     (was: Java-SCA-Next)
                   Java-SCA-1.1

Moved to 1.1

> @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-1.1
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1867) @OneWay with String return type causes NullPointerException

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy updated TUSCANY-1867:
-----------------------------------------

    Attachment: TUSCANY-1867-2.patch

TUSCANY-1867-2.patch: Fixes SCANodeManagerService.destroyNode().

> @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.