[
https://jira.duraspace.org/browse/DS-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18317#action_18317
]
Tim Donohue commented on DS-742:
--------------------------------
Is this resolved? It looks like commits r5739 and r5756 both referenced this
issue. If it's resolved, we need to change its status in JIRA.
> Embargo Fails with Null Pointer Exception on Item Install.
> ----------------------------------------------------------
>
> Key: DS-742
> URL: https://jira.duraspace.org/browse/DS-742
> Project: DSpace
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.6.0, 1.6.1, 1.6.2, 1.7.0
> Reporter: Mark Diggory
> Fix For: 1.7.0
>
>
> Embargo fails because the code fails to check for NullPointers appropriately.
> Fix
>
> DCDate result = null;
>
> // Its very poor form to blindly use an object that could be null...
> if(terms != null && terms[0] != null)
> {
> result = setter.parseTerms(context, item, terms.length > 0 ?
> terms[0].value : null);
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel