You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Marco Tulio Valente (JIRA)" <ji...@apache.org> on 2010/03/22 16:57:27 UTC

[jira] Created: (AXIS2-4661) Findbugs Warnings

Findbugs Warnings
-----------------

                 Key: AXIS2-4661
                 URL: https://issues.apache.org/jira/browse/AXIS2-4661
             Project: Axis2
          Issue Type: Bug
    Affects Versions: 1.5.1
            Reporter: Marco Tulio Valente
            Priority: Minor


Dear all, 

We are conducting an study about the relevance of the warnings reported by the FindBugs tool when executed over several open-source systems. 

Particularly, in the case of Axis2, we would like to confirm the relevance of the following warning reported by the tool (for Axis2 1.5.1): 

Warning: Invocation of toString on an array 
Locations: 
* org.apache.axis2.context.externalize.DebugObjectOutputStream write - Line 70 
* org.apache.axis2.jaxws.description.builder.ActionAnnot toString - Line 83 
* org.apache.axis2.jaxws.description.impl.AttachmentDescriptionImpl toString - Line 66 
* org.apache.axis2.jaxws.description.impl.OperationDescriptionImpl toString - Line 1559 
* org.apache.axis2.jaxws.message.util.Reader getTextCharacters - Line 277 

Warning: Nullcheck of value previously dereferenced. A value is checked here to see whether it is null, but this value can't be null because it was previously dereferenced and if it were null a null pointer exception would have occurred at the earlier dereference 
Location: 
* org.apache.axis2.jaxws.description.impl.URIResolverImpl constructPath - Line 284 

Warning: This call to a generic collection method contains an argument with an incompatible class from that of the collection's parameter (i.e., the type of the argument is neither a supertype nor a subtype of the corresponding generic type argument). 
Locations: 
* org.apache.axis2.jaxws.message.impl.MessageImpl getAttachmentID - Line 337 
* org.apache.axis2.jaxws.utility.XMLRootElementUtil createPropertyDescriptorMap - Line 209 

Warning: Null value is guaranteed to be dereferenced. There is a statement or branch that if executed guarantees that a value is null at this point, and that value that is guaranteed to be dereferenced 
Locations: 
* org.apache.axis2.schema.writer.CStructWriter process - Line 340 
* org.apache.axis2.schema.writer.JavaBeanWriter process - Line 489 

Warning: Null pointer dereference. A null pointer is dereferenced here. 
Location: 
* org.apache.axis2.saaj.SOAPHeaderImpl addUpgradeHeaderElement - Line 370 

Warning: Possible null pointer dereference. There is a branch of statement that, if executed, guarantees that a null value will be dereferenced, which would generate a NullPointerException 
Location: 
* org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter getOutputParamElement - Line 3222 

Warning: Nullcheck of value previously dereferenced. A value is checked here to see whether it is null, but this value can't be null because it was previously dereferenced and if it were null a null pointer exception would have occurred at the earlier dereference. 
Location: 
* org.apache.axis2.wsdl.codegen.emitter.CEmitter addCSpecifcAttributes - Line 672 

Since these warnings seemed relevant to us, we would like to confirm our classification with Axis2's developers. 

Best regards, 

Marco Tulio Valente 
Brazil


-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org