You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2006/10/27 21:42:16 UTC

[jira] Created: (WSCOMMONS-117) NPE in OMDocumentImpl

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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Updated: (WSCOMMONS-117) NPE in OMDocumentImpl

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WSCOMMONS-117?page=all ]

Rich Scheuerle updated WSCOMMONS-117:
-------------------------------------

    Attachment: patch.txt

> NPE in OMDocumentImpl
> ---------------------
>
>                 Key: WSCOMMONS-117
>                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-117
>             Project: WS-Commons
>          Issue Type: Bug
>            Reporter: Rich Scheuerle
>         Attachments: patch.txt
>
>
> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Commented: (WSCOMMONS-117) NPE in OMDocumentImpl

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
    [ 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Resolved: (WSCOMMONS-117) NPE in OMDocumentImpl

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WSCOMMONS-117?page=all ]

Davanum Srinivas resolved WSCOMMONS-117.
----------------------------------------

    Resolution: Fixed

Applied. (svn rev 468512)

thanks,
dims

> NPE in OMDocumentImpl
> ---------------------
>
>                 Key: WSCOMMONS-117
>                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-117
>             Project: WS-Commons
>          Issue Type: Bug
>            Reporter: Rich Scheuerle
>         Attachments: patch.txt
>
>
> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Updated: (WSCOMMONS-117) NPE in OMDocumentImpl

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated WSCOMMONS-117:
--------------------------------------

    Component/s: AXIOM

> NPE in OMDocumentImpl
> ---------------------
>
>                 Key: WSCOMMONS-117
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-117
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: Rich Scheuerle
>         Attachments: patch.txt
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.