Dear Terry,

thanks for your time. But when I am using ORCID:dc.contributor
I ge the following error mesasage:

java.lang.NullPointerException
        at 
org.dspace.app.bulkedit.MetadataImport.compare(MetadataImport.java:49
5)
        at 
org.dspace.app.bulkedit.MetadataImport.runImport(MetadataImport.java:
169)
        at 
org.dspace.app.bulkedit.MetadataImport.main(MetadataImport.java:1341)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.j
ava:226)
        at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
There were no changes detected
----------------------

Thanks in advance
Stefanie

Am Montag, 21. November 2016 18:04:12 UTC+1 schrieb Terry Brady:
>
> Looking at the wiki page, I think you need a colon after ORCID rather than 
> a period:  ORCID:dc.contributor
>
> On Mon, Nov 21, 2016 at 6:02 AM, Stefanie Behnke <[email protected] 
> <javascript:>> wrote:
>
>> Dear all,
>>
>>  
>>
>> I am using Dspace 5.5 with XMLUI mirage theme.
>>
>>  
>>
>> I want to use the batch metadata import as described in:
>>
>>
>> https://wiki.duraspace.org/display/DSDOC5x/ORCID+Integration#ORCIDIntegration-EditingexistingitemsusingBatchCSVEditing
>>
>>  
>>
>> When I use
>>
>> ORCID:dc.contributor.author
>>
>>  
>>
>> In the column, I always get the error: 
>>
>>  
>>
>> java.lang.NullPointerException
>>
>>         at 
>> org.dspace.app.bulkedit.MetadataImport.compare(MetadataImport.java:49
>>
>> 5)
>>
>>         at 
>> org.dspace.app.bulkedit.MetadataImport.runImport(MetadataImport.java:
>>
>> 169)
>>
>>         at 
>> org.dspace.app.bulkedit.MetadataImport.main(MetadataImport.java:1341)
>>
>>  
>>
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
>>         at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>
>> java:62)
>>
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>
>> sorImpl.java:43)
>>
>>         at java.lang.reflect.Method.invoke(Method.java:498)
>>
>>         at 
>> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.j
>>
>> ava:226)
>>
>>         at 
>> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
>>
>> There were no changes detected
>>
>>  
>>
>> ------------------------
>>
>> When I use ORCID.dc.contributor.author instead of 
>> ORCID:dc.contributor.author
>>
>> The lookup works, but the metadata field cannot be added:
>>
>>  
>>
>> Changes for item: 14770 (10.2312/2630804)
>>
>> + Add    (ORCID.dc.contributor[]): Behnke, Stefanie
>>
>>  
>>
>> 1 item(s) will be changed
>>
>>  
>>
>> Do you want to make these changes? [y/n] y
>>
>> java.sql.SQLException: Invalid metadata field: [ORCID.dc.contributor]
>>
>>         at 
>> org.dspace.content.DSpaceObject.updateMetadata(DSpaceObject.java:122)
>>
>>  
>>
>>         at org.dspace.content.Item.update(Item.java:1100)
>>
>>         at 
>> org.dspace.app.bulkedit.MetadataImport.compare(MetadataImport.java:62
>>
>> 0)
>>
>>         at 
>> org.dspace.app.bulkedit.MetadataImport.runImport(MetadataImport.java:
>>
>> 169)
>>
>>         at 
>> org.dspace.app.bulkedit.MetadataImport.main(MetadataImport.java:1396)
>>
>>  
>>
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
>>         at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>
>> java:62)
>>
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>
>> sorImpl.java:43)
>>
>>         at java.lang.reflect.Method.invoke(Method.java:498)
>>
>>         at 
>> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.j
>>
>> ava:226)
>>
>>         at 
>> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
>>
>> ----------------------------
>>
>>  
>>
>> How can I manage the correct editing? What has to be in the column 
>> headline?
>>
>>  
>>
>> Thanks in advance
>>
>> Stefanie
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/ 
> <https://www.library.georgetown.edu/lit/code>
> 425-298-5498 (Seattle, WA)
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to