Hello, we need to update the OAI-PMH directory listing because we noticed it wasn't updating. When we run the command `/bin/dspace oai import`, we get the following error. Can anyone help us identify what we need to do to fix it?
Hola, necesitamos actualizar el listado del OAI-PMH porque nos percatamos que no se estaba actualizando. Al ejecutar el comando /bin/dspace oai import nos devuelve el siguiente error. Alguien puede ayudarnos a identificar que debemos hacer para solucionarlo?
Full import
Warning at xsl:stylesheet on line 14 column 35
Unrecognized version 1.1: treated as 1.0
java.lang.NullPointerException: Cannot invoke "org.dspace.content.Bitstream.getFormat(org.dspace.core.Context)" because "bs" is null
at org.dspace.xoai.app.XOAI.getFileFormats(XOAI.java:114)
at org.dspace.xoai.app.XOAI.index(XOAI.java:475)
at org.dspace.xoai.app.XOAI.index(XOAI.java:328)
at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:273)
at org.dspace.xoai.app.XOAI.index(XOAI.java:160)
at org.dspace.xoai.app.XOAI.main(XOAI.java:627)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)
at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)