Re: [dspace-tech] OAI Import java.lang.NullPointerException

2019-04-09 Thread MALMQUIST Hrafn
Hi Raharjo


This is a bug in 6.3, fixed with a small check for null.


https://github.com/DSpace/DSpace/pull/2138


Hrafn


From: dspace-tech@googlegroups.com  on behalf of 
Nugroho Raharjo 
Sent: 09 April 2019 10:27:34
To: DSpace Technical Support
Subject: [dspace-tech] OAI Import java.lang.NullPointerException

Hello everyone.

I get this error after run oai import command. How to solve this?

java.lang.NullPointerException
at org.dspace.xoai.app.XOAI.getFileFormats(XOAI.java:92)
at org.dspace.xoai.app.XOAI.index(XOAI.java:415)
at org.dspace.xoai.app.XOAI.index(XOAI.java:280)
at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:227)
at org.dspace.xoai.app.XOAI.index(XOAI.java:134)
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)
Thanks


I N T E G R I T Y | P R O F E S S I O N A L I S M | E N T R E P R E N E U R S H 
I P


UNIVERSITAS CIPUTRA
CitraLand CBD Boulevard

Surabaya 60219, INDONESIA
T. (62-31) 745 1699

F. (62-31) 745 1698

www.uc.ac.id<http://www.uc.ac.id>



Disclaimer: The contents of this email along with its attachments are intended 
for the recipient only and may contain information that is legally privileged, 
confidential and exempt from disclosure. If you are not the intended recipient, 
you are hereby notified that any dissemination and distribution of this email 
along with its attachments are strictly prohibited. If you have received this 
message in error, please delete this email from your computer. Universitas 
Ciputra will not be responsible for any damage caused by this email.

--
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<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To post to this group, send email to 
dspace-tech@googlegroups.com<mailto: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.
The University of Edinburgh is a charitable body, registered in Scotland, with 
registration number SC005336.

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


[dspace-tech] OAI Import java.lang.NullPointerException

2019-04-09 Thread Nugroho Raharjo
Hello everyone.

I get this error after run oai import command. How to solve this?

java.lang.NullPointerException
at org.dspace.xoai.app.XOAI.getFileFormats(XOAI.java:92)
at org.dspace.xoai.app.XOAI.index(XOAI.java:415)
at org.dspace.xoai.app.XOAI.index(XOAI.java:280)
at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:227)
at org.dspace.xoai.app.XOAI.index(XOAI.java:134)
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)
Thanks

-- 


*I N T E G R I T Y | P R O F E S S I O N A L I S M | E N T R E P R E N E 
U R S H I P*





**UNIVERSITAS CIPUTRA***
CitraLand CBD Boulevard*


*Surabaya 60219, INDONESIA
T. (62-31) 745 1699*

*F. (62-31) 745 1698*


*www.uc.ac.id *


 

Disclaimer: The contents of this 
email along with its attachments are intended for the recipient only and 
may contain information that is legally privileged, confidential and exempt 
from disclosure. If you are not the intended recipient, you are hereby 
notified that any dissemination and distribution of this email along with 
its attachments are strictly prohibited. If you have received this message 
in error, please delete this email from your computer. Universitas Ciputra 
will not be responsible for any damage caused by this email.

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