[
https://issues.apache.org/jira/browse/AXIS2-4267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Supun Kamburugamuva resolved AXIS2-4267.
----------------------------------------
Resolution: Fixed
Fixed by applying the patch. Thanks Pradeep for the contribution.
> possible null pointer exception in the createClientSideAxisService method
> -------------------------------------------------------------------------
>
> Key: AXIS2-4267
> URL: https://issues.apache.org/jira/browse/AXIS2-4267
> Project: 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]