[mashup-dev] [jira] Created: (MASHUP-116) Error prone code

Deepal Jayasinghe (JIRA) jira at wso2.org
Thu Jun 14 06:32:22 PDT 2007


Error prone code  
------------------

                 Key: MASHUP-116
                 URL: http://www.wso2.org/jira/browse/MASHUP-116
             Project: WSO2 Mashup Server
          Issue Type: Bug
            Reporter: Deepal Jayasinghe
         Assigned To: Thilina Gunarathne
            Priority: Critical


Hi devs,

When I was fixing Axis2 bug that Keith told me , I had to go through a class called ServiceMetaDataListerService , and when you look inside that I saw the following code , so its try to get the value from null object and after that check whether the object is null.


 AxisService axisService = configuration.getService(serviceName);
            String serviceDocumetnation = axisService.getDocumentation();

            if (axisService == null) {
                //throw new AxisFault("The passed axisService name is invalid.");

            } else {
                ArrayList returnOperations = new ArrayList();
                ServiceOperation returnOperation;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        




More information about the Mashup-dev mailing list