[ 
http://issues.apache.org/jira/browse/WSCOMMONS-117?page=comments#action_12445260
 ] 
            
Rich Scheuerle commented on WSCOMMONS-117:
------------------------------------------

I don't have a testcase, here is the stack trace through jaxen which is causing 
the problem.

Caused by: java.lang.NullPointerException
at 
org.apache.axiom.om.impl.llom.OMDocumentImpl.buildNext(OMDocumentImpl.java:176)
at 
org.apache.axiom.om.impl.llom.OMNodeImpl.getNextOMSibling(OMNodeImpl.java:135)
at 
org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:270)
at 
org.apache.axiom.om.impl.traverse.OMChildrenIterator.next(OMChildrenIterator.java:116)
at org.jaxen.expr.DefaultNameStep.evaluate(DefaultNameStep.java:208)
at org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:140)
at 
org.jaxen.expr.DefaultAbsoluteLocationPath.evaluate(DefaultAbsoluteLocationPath.java:113)
at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102)
at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:680)
at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:219)
...

> NPE in OMDocumentImpl
> ---------------------
>
>                 Key: WSCOMMONS-117
>                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-117
>             Project: WS-Commons
>          Issue Type: Bug
>            Reporter: Rich Scheuerle
>
> NPE occurs in OMDoumentImpl in buildNext() if the parserWrapper is null.
> I will have a patch and commit the code shortly.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to