mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 21:43:11 +00:00
[DS874] NullPointerException thrown in GoogleMetadata.java
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6646 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -268,7 +268,7 @@ public class GoogleMetadata
|
||||
|
||||
DCValue v = resolveMetadataField(config);
|
||||
|
||||
if (null != v && !v.value.trim().equals(""))
|
||||
if (null != v && (null != v.value) && !v.value.trim().equals(""))
|
||||
{
|
||||
metadataMappings.put(fieldName, v.value);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user