commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JXPATH-38) ClassFunctions throws NPE searching for a function in null ns
Date Mon, 10 Mar 2008 21:24:46 GMT

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

Matt Benson updated JXPATH-38:
------------------------------

    Summary: ClassFunctions throws NPE searching for a function in null ns  (was: [jxpath]
ClassFunctions throws NPE searching for a function in null ns)

> 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
>             Fix For: 1.3
>
>         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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message