You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (Moved) (JIRA)" <ji...@apache.org> on 2011/12/30 00:03:31 UTC
[jira] [Moved] (AXIS2-5218) Findbugs Warnings
[ https://issues.apache.org/jira/browse/AXIS2-5218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen moved AXIS-2825 to AXIS2-5218:
----------------------------------------------
Fix Version/s: (was: 1.5)
1.5
Key: AXIS2-5218 (was: AXIS-2825)
Project: Axis2 (was: Axis)
> Findbugs Warnings
> -----------------
>
> Key: AXIS2-5218
> URL: https://issues.apache.org/jira/browse/AXIS2-5218
> Project: Axis2
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org