axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Tulio Valente (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-2825) Findbugs Warnings
Date Mon, 22 Mar 2010 15:55:27 GMT
Findbugs Warnings
-----------------

                 Key: AXIS-2825
                 URL: https://issues.apache.org/jira/browse/AXIS-2825
             Project: Axis
          Issue Type: Bug
            Reporter: Marco Tulio Valente
            Priority: Minor
             Fix For: 1.5


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 Axis, we would like to confirm the relevance of the following
warning reported by the tool (for Axis 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
Axis'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


Mime
View raw message