You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Devin Chollak (JIRA)" <ji...@apache.org> on 2015/03/15 19:31:38 UTC

[jira] [Created] (XALANJ-2594) Incorrect exception being thrown

Devin Chollak created XALANJ-2594:
-------------------------------------

             Summary: Incorrect exception being thrown
                 Key: XALANJ-2594
                 URL: https://issues.apache.org/jira/browse/XALANJ-2594
             Project: XalanJ2
          Issue Type: Bug
      Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects.  Anybody can view the issue.)
          Components: Xalan
    Affects Versions: 2.7.2
            Reporter: Devin Chollak
            Assignee: Steven J. Hathaway
            Priority: Minor


Using an automated research tool I detected in src\org\apache\xpath\domapi\XPathResultImpl.java on lines 111 to 113 you throw an XPathException; however, the expectation is for it to be either a NullPointerException or RuntimeException instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org