axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Fernando (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-4267) possible null pointer exception in the createClientSideAxisService method
Date Wed, 11 Mar 2009 11:01:50 GMT

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


Mime
View raw message