[ 
http://jira.nuxeo.org/browse/NXP-4323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radu Darlea resolved NXP-4323.
------------------------------

    Resolution: Fixed

Check for null return from SQL Document and return right away if this is the 
case. Also check the current usages of the API to further protect against NPE.
http://hg.nuxeo.org/nuxeo/nuxeo-dm/rev/16db4fd1033f
http://hg.nuxeo.org/nuxeo/nuxeo-core/rev/4c9dc8018eee


> Avoid NPE in core session when version is not found
> ---------------------------------------------------
>
>                 Key: NXP-4323
>                 URL: http://jira.nuxeo.org/browse/NXP-4323
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 5.2 GA SP1, 5.3 GA
>            Reporter: Radu Darlea
>            Assignee: Radu Darlea
>             Fix For: 5.3.1
>
>
> When the core session is requested for an not existing labeled version it 
> throws NPE in the method getDocumentWithVersion().

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

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to