[ 
https://issues.apache.org/jira/browse/AXIS2-4656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859892#action_12859892
 ] 

Nuwan Bandara commented on AXIS2-4656:
--------------------------------------

Hi,

Okey, understood, will look in to it

Regards
/Nuwan

> NPE from ServiceClient in method [public OperationClient createClient]
> ----------------------------------------------------------------------
>
>                 Key: AXIS2-4656
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4656
>             Project: Axis2
>          Issue Type: Bug
>          Components: client-api
>    Affects Versions: 1.5.1
>         Environment: Java 5, Windows
>            Reporter: Martin
>            Priority: Minor
>
> Using a default Options instance with a ServiceClient causes a 
> NullPointerException from ServiceClient.createClient(QName operationQName) 
> throws AxisFault.
> The line in question is: 648
>          if 
> (JavaUtils.isTrue(getOptions().getProperty(AUTO_OPERATION_CLEANUP), true) &&
>                  !getOptions().isUseSeparateListener()) {
>              cleanupTransport();
>         }
> In a default Options, properties are null, causing the NPE. This code should 
> check for NPE's.
> Thanks!

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