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

                 Key: XERCESJ-1431
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1431
             Project: Xerces2-J
          Issue Type: Bug
    Affects Versions: 2.8.1
            Reporter: Marco Tulio Valente


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 Xerces, we would like to confirm the relevance of 
the following warnings reported by the tool (for Xerces
2.8.1):

Location: org.apache.xerces.impl.xpath.regex.RangeToken dumpRanges - Line 481
Warning: Possible null pointer dereference. There is a branch of statement 
that, if executed, guarantees that a null value will be dereferenced

Location: org.apache.xerces.impl.xpath.regex.RangeToken intersectRanges - Line 
351
Warning: Self comparison of value with itself. This method compares a local 
variable with itself, and may indicate a typo or a logic error.

Location: org.apache.xerces.util.DOMUtil copyInto - Line 119
Warning: Null pointer dereference. A null pointer is dereferenced here.  This 
will lead to a NullPointerException when the code is executed.

Location: org.apache.xerces.xinclude.XIncludeTextReader getReader - Line 181
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

Since these warnings seemed relevant to us, we would like to confirm our 
classification with Xerces'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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to