Hi Freddy,

that is the same error as before, see Tim's answer from the 28th of
February for details.
Track down the item in question and correct it before creating the oai
index.

cu

Claudia Jürgen


Am 07.03.2019 um 06:40 schrieb Freddy Guerrero:
Hi Claudia

Yes, execute:
$DSPACE/bin/dspace oai clean-cache
$DSPACE/bin/dspace oai import -c

i have error:

java.lang.NullPointerException
         at
org.dspace.storage.bitstore.BitstreamStorageServiceImpl.retrieve(BitstreamStorageServiceImpl.java:216)
         at
org.dspace.content.BitstreamServiceImpl.retrieve(BitstreamServiceImpl.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(NativeMethodAccessorImpl.java:62)
         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:498)
         at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
         at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)






El miércoles, 6 de marzo de 2019, 2:43:39 (UTC-5), Claudia Jürgen escribió:
Hello Freddy,

did you recreate the oai index after having corrected the items?
This is done with
[dspace]/bin/dspace oai -c import

Hope this helps

Claudia Jürgen


Am 06.03.2019 um 07:22 schrieb Freddy Guerrero:
Hello Claudia

Thanks for your help, run the script and I left the items that were not
licensed, then one by one I added the license, and actually the license
file was generated. I run the script again and the same items keep
coming
up, should I run something else?

Regards,

Freddy




El viernes, 1 de marzo de 2019, 5:19:32 (UTC-5), Claudia Jürgen
escribió:
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...@tu-dortmund.de <javascript:>
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.

--
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...@tu-dortmund.de <javascript:>
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.


--
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