[ 
https://issues.apache.org/jira/browse/AXIS2-4267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradeep Fernando updated AXIS2-4267:
------------------------------------

    Attachment: AXIS2-4267.patch

trivial issue.


> possible null pointer exception in the createClientSideAxisService method
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-4267
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4267
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: client-api
>         Environment: GNU/linux  JDK1.5
>            Reporter: Pradeep Fernando
>            Priority: Trivial
>         Attachments: AXIS2-4267.patch
>
>
> it accesses properties of axisEndpoint object without making sure it is not 
> null.
> AxisEndpoint axisEndpoint = (AxisEndpoint) axisService.getEndpoints()
>                               .get(axisService.getEndpointName());
>               options.setTo(new 
> EndpointReference(axisEndpoint.getEndpointURL()));
>               if (axisEndpoint != null) {
>                       options.setSoapVersionURI((String) 
> axisEndpoint.getBinding()
>                                       
> .getProperty(WSDL2Constants.ATTR_WSOAP_VERSION));
>               }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to