commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JXPATH-38) [jxpath] ClassFunctions throws NPE searching for a function in null ns
Date Fri, 05 Jan 2007 15:26:28 GMT

    [ https://issues.apache.org/jira/browse/JXPATH-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462505
] 

Matt Benson commented on JXPATH-38:
-----------------------------------

patch added.  Recommend inclusion for 1.3 .

> [jxpath] ClassFunctions throws NPE searching for a function in null ns
> ----------------------------------------------------------------------
>
>                 Key: JXPATH-38
>                 URL: https://issues.apache.org/jira/browse/JXPATH-38
>             Project: Commons JXPath
>          Issue Type: Bug
>    Affects Versions: 1.2 Final
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Matt Benson
>         Attachments: jxpath-38.patch.txt
>
>
> First thing in getFunction(...):
>         if (!namespace.equals(this.namespace)) {
>             return null;
>         }
> In contrast PackageFunctions has null checks.  I think I can work around this by
> always using a namespace, but I can't think of any reason this behavior should
> persist into (theoretical) future versions of jxpath.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message