You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Brian Foster (JIRA)" <ji...@apache.org> on 2012/08/01 23:14:03 UTC

[jira] [Updated] (OODT-481) CAS-Pushpull uniqueMetadataElement is being loaded as empty String instead of null

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

Brian Foster updated OODT-481:
------------------------------

    Attachment: OODT-481.2012-08-01.txt

- attached patch
                
> CAS-Pushpull uniqueMetadataElement is being loaded as empty String instead of null
> ----------------------------------------------------------------------------------
>
>                 Key: OODT-481
>                 URL: https://issues.apache.org/jira/browse/OODT-481
>             Project: OODT
>          Issue Type: Bug
>          Components: push pull framework
>    Affects Versions: 0.4
>         Environment: none
>            Reporter: Brian Foster
>            Assignee: Brian Foster
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: OODT-481.2012-08-01.txt
>
>
> Element.getAttribute returns an empty String instead of NULL when the attribute doesn't exist... this causes Pushpull to think that the uniqueMetadataElement is set and thus causes a NullPointerException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira