Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A93D76D0 for ; Thu, 29 Dec 2011 23:03:57 +0000 (UTC) Received: (qmail 5460 invoked by uid 500); 29 Dec 2011 23:03:56 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 5334 invoked by uid 500); 29 Dec 2011 23:03:56 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 5325 invoked by uid 99); 29 Dec 2011 23:03:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2011 23:03:56 +0000 X-ASF-Spam-Status: No, hits=-2001.3 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2011 23:03:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1BFAD1304C8 for ; Thu, 29 Dec 2011 23:03:31 +0000 (UTC) Date: Thu, 29 Dec 2011 23:03:31 +0000 (UTC) From: "Andreas Veithen (Moved) (JIRA)" To: java-dev@axis.apache.org Message-ID: <790162897.52758.1325199811116.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Moved] (AXIS2-5218) Findbugs Warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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