Hello Freddy,

you can query the database:

select  * from item where in_archive=true and uuid not in (select
item_id from item2bundle join metadatavalue on
item2bundle.bundle_id=metadatavalue.dspace_object_id  where
metadata_field_id in (select metadata_field_id from
metadatafieldregistry where metadata_schema_id=1 and element='title' and
qualifier is null) and text_value='LICENSE');

Did you ever import items, most likely these had no license specified.

Hope this helps

Claudia Jürgen


Am 01.03.2019 um 04:53 schrieb Freddy Guerrero:
Thanks Tim for your answer, can someone provide us with a recommendation on
how to identify the records that do not contain the license files?

Regards




El martes, 26 de febrero de 2019, 0:04:39 (UTC-5), Freddy Guerrero escribió:
Hi, I use dspace v. 6.3, jspui, and when executing "dspace oai import ",
I get this error:

java.lang.NullPointerException
         at org.dspace.storage.bitstore.BitstreamStorageServiceImpl.retr
ieve(BitstreamStorageServiceImpl.java:216)
         at org.dspace.content.BitstreamServiceImpl.retrieve(BitstreamSe
rviceImpl.java:309)
         at org.dspace.xoai.util.ItemUtils.retrieveMetadata(ItemUtils.
java:298)
         at org.dspace.xoai.app.XOAI.index(XOAI.java:421)
         at org.dspace.xoai.app.XOAI.index(XOAI.java:280)
         at org.dspace.xoai.app.XOAI.index(XOAI.java:179)
         at org.dspace.xoai.app.XOAI.index(XOAI.java:145)
         at org.dspace.xoai.app.XOAI.main(XOAI.java:560)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:62)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:498)
         at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptL
auncher.java:229)
         at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.
java:81)


--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended for the recipient. If you are not the intended recipient of 
this e-mail please contact the sender and delete this message. Thank you. 
Without prejudice of e-mail correspondence, our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
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