DSpace6.0 XMLUI Unable to submit item

159 views
Skip to first unread message

Bolette A. Jurik

unread,
Jan 6, 2017, 7:11:21 AM1/6/17
to DSpace Technical Support
We have made fresh install of the DSpace6.0 release, but we are unable to submit items using the XMLUI.
We cannot get past Describe Page
Errors at Access Step

Java stacktrace: java.lang.NullPointerException
at org.dspace.app.xmlui.aspect.submission.submit.AccessStepUtil.populateEmbargoDetail(AccessStepUtil.java:204)
at org.dspace.app.xmlui.aspect.submission.submit.AccessStepUtil.addEmbargoDateSimpleForm(AccessStepUtil.java:223)
at org.dspace.app.xmlui.aspect.submission.submit.AccessStepUtil.addAccessRadios(AccessStepUtil.java:160)
at org.dspace.app.xmlui.aspect.submission.submit.AccessStep.addBody(AccessStep.java:118)

The same error has been reported for the DSpace Demo:
https://jira.duraspace.org/browse/DS-3388

We had a release candidate 3 up and running without this problem. We have tried to find the location of the change that caused this, but unsuccessfully.

The submit process still works in the jspui.

Does anyone have an idea how to fix this?

Kind regards,
Bolette A. Jurik


Tom Desair

unread,
Jan 7, 2017, 4:57:30 AM1/7/17
to Bolette A. Jurik, DSpace Technical Support
Could it be that this is solved by https://jira.duraspace.org/browse/DS-3435 (https://github.com/DSpace/DSpace/pull/1599 and https://github.com/DSpace/DSpace/pull/1600) ? Because that ticket also fixed a NullPointer in AccessStepUtil.populateEmbargoDetail().

Can you try to build that version (or just apply the fix) and verify if it solved your issue?

 
logoTom Desair
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Esperantolaan 4, Heverlee 3001, Belgium
www.atmire.com

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Bolette A. Jurik

unread,
Jan 10, 2017, 4:41:16 AM1/10/17
to DSpace Technical Support, b...@statsbiblioteket.dk
We tried to build this version, but we still get the same nullpointerexception. We will try fixing it and push it.

Regards,
BOLETTE AMMITZBØLL JURIK
PhD, IT Developer
DIRECT 8946 2322

IT Development
DET KGL. BIBLIOTEK / ROYAL DANISH LIBRARY
VICTOR ALBECKS VEJ 1
8000 AARHUS C
DENMARK

VAT NO. 1010 0682
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.

Tom Desair

unread,
Jan 10, 2017, 5:20:09 AM1/10/17
to Bolette A. Jurik, DSpace Technical Support
That is strange because I can't see how any NullPointer can still occur on line 204 in this PR: https://github.com/DSpace/DSpace/pull/1600/files#diff-633b634bb94f8eb2325ba480e025bd8bR204

Do you still have the NullPointer on the same line number?


 
logoTom Desair
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Esperantolaan 4, Heverlee 3001, Belgium
www.atmire.com
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscribe@googlegroups.com.

Bolette A. Jurik

unread,
Jan 10, 2017, 5:59:50 AM1/10/17
to DSpace Technical Support, b...@statsbiblioteket.dk
Sorry! I think I forgot an 'mvn clean'. Now it works! Thanks :)

/Bolette Jurik

Tom Desair

unread,
Jan 10, 2017, 6:06:24 AM1/10/17
to Bolette A. Jurik, DSpace Technical Support
No problem! I'm glad we could help.

 
logoTom Desair
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Esperantolaan 4, Heverlee 3001, Belgium
www.atmire.com
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscribe@googlegroups.com.

Cameron, Jacob

unread,
Jan 11, 2017, 10:45:01 AM1/11/17
to Tom Desair, DSpace Technical Support

Hello Everyone

 

So I need to apply this patch as well…

 

I got the dspace-api folder covered as we use the release copy and have applied a patch there before

 

But for the dspace-xmlui folder, do I add AccessStepUtil.java in

 

dspace\modules\xmlui\src\main\java\org\dspace\app\xmlui\aspect\submission\submit?

 

Jake

--

Jake Cameron, BCS(UNB)

Systems Support Specialist III

Information Systems and Technical Services University of Lethbridge Library

Phone:(403)329-2756

 

This e-mail, including any and all attachments, is only for the use of the intended recipient(s) and may contain information that is confidential or privileged. If you are not the intended recipient, you are advised that any dissemination, copying or other use of this e-mail is prohibited. Please notify the sender of the error in communication by return e-mail and destroy all copies of this e-mail.  Thank you.

Tom Desair

unread,
Jan 12, 2017, 4:29:23 AM1/12/17
to Cameron, Jacob, DSpace Technical Support
Hi Jake,

dspace/modules/xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/AccessStepUtil.java

Best regards,
Tom

 
logoTom Desair
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Esperantolaan 4, Heverlee 3001, Belgium
www.atmire.com

To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscribe@googlegroups.com.


To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.


To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages