You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/08/27 22:22:38 UTC

[jira] [Commented] (AXIOM-203) NPE in DigestGenerator's getExpandedName() methods

    [ https://issues.apache.org/jira/browse/AXIOM-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092376#comment-13092376 ] 

Hudson commented on AXIOM-203:
------------------------------

Integrated in ws-axiom-trunk #516 (See [https://builds.apache.org/job/ws-axiom-trunk/516/])
    Added a couple of unit tests for AXIOM-270 and fixed the issue described in AXIOM-203.

veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/util/DigestGenerator.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/test/java/org/apache/axiom/om/impl/dom/OMImplementationTest.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/DigestTestCase.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/OMTestSuiteBuilder.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestDigestWithNamespace.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestDigestWithQualifiedAttribute.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestDigestWithUnqualifiedAttribute.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestDigestWithoutNamespace.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/pi
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/pi/TestDigest.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/text/TestDigest.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testutils/src/main/java/org/apache/axiom/testutils/DigestUtils.java


> NPE in DigestGenerator's getExpandedName() methods
> --------------------------------------------------
>
>                 Key: AXIOM-203
>                 URL: https://issues.apache.org/jira/browse/AXIOM-203
>             Project: Axiom
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.2.9
>            Reporter: Myles Bunbury
>
> In org.apache.axiom.om.util.DigestGenerator, both getExpandedName(OMElement element) and getExpandedName(OMAttribute attribute) will throw a null pointer exception if getNamespace() returns NULL:
>       return attribute.getNamespace().getNamespaceURI() + ":" + attribute.getLocalName();

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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