OAI import fail

57 views
Skip to first unread message

Nico Lambrechts

unread,
Apr 16, 2025, 3:33:59 AM4/16/25
to DSpace Technical Support
Good day,

1st time doing import process on fairly new system and I am seeing the error below. 
where/how do I troubleshoot from here?

dspace@dspace:/dspace/bin$ sudo ./dspace oai import -c
OAI 2.0 manager action started
Clearing index
Index cleared
Using full import.
Full import
1000 items imported so far...
java.lang.NullPointerException
        at org.dspace.xoai.app.XOAI.getFileFormats(XOAI.java:113)
        at org.dspace.xoai.app.XOAI.index(XOAI.java:467)
        at org.dspace.xoai.app.XOAI.index(XOAI.java:320)
        at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:265)
        at org.dspace.xoai.app.XOAI.index(XOAI.java:158)
        at org.dspace.xoai.app.XOAI.main(XOAI.java:618)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:283)
        at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:134)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:99)

DSpace Technical Support

unread,
Apr 21, 2025, 11:13:45 AM4/21/25
to DSpace Technical Support
Hi,

It's unclear which version of DSpace you are using, but this error looks very similar to this bug ticket: https://github.com/DSpace/DSpace/issues/10510   That bug was fixed in DSpace version 7.6.4 and version 8.2.  So, it's possible you just need to upgrade in order to fix this issue.

Tim

Nico Lambrechts

unread,
Apr 23, 2025, 8:53:25 AM4/23/25
to DSpace Technical Support
Thank you,
We have 7.6.1 -- will upgrade to the latest possible and provide feedback.

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to a topic in the Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/27WkNVQu_6A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-tech...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/52e8e72e-fab0-4cc5-bb52-ede9cf6ffa22n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages