[
https://issues.apache.org/jira/browse/JXPATH-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227959#comment-14227959
]
Michael Osipov commented on JXPATH-172:
---------------------------------------
Michele,
bq. {{org.apache.commons.jxpath.ri.model.beans.NullPointer}} is an
implementation class that I think theoretically should be not known to clients.
exactly, I do not want to cope with implementations which may change any time.
I thought you are already part of the committer team. Since I am a commiter in
Apache Commons, I can merge them actually. I will have a look at all of them.
Please to me a favor first. For those PRs which do not have issues here, create
them. Align the title of the PR to: <ISSUE-xyz>: <ISSUE TITLE>. I will take a
look at them next week and will discuss them inline in GitHub.
> JXPathContext#getPointer claims that null will be returned if the XPath expr
> does not point to a valid node
> -----------------------------------------------------------------------------------------------------------
>
> Key: JXPATH-172
> URL: https://issues.apache.org/jira/browse/JXPATH-172
> Project: Commons JXPath
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Michael Osipov
> Assignee: Michael Osipov
>
> {quote}
> Traverses the xpath and returns a Pointer. A Pointer provides easy access to
> a property. If the xpath matches no properties in the graph, the pointer will
> be null.
> {quote}
> This is not true because not {{null}} is returned but {{NullPointer}}. This
> makes a tremendous difference.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)