Hello all,

I have encontered a new problem on my DSpace CRIS test instance. In our 
submission form we have a field for a ddc class, which is using a local 
"authority file" containing a list of DDC classes. On our normal DSpace 
production system this works fine. But on my CRIS system it is not working 
at all and causing a serious system error, when I configure this field 
exactly as I did on the production system.

In dspace.cfg I have the following lines to configure the plugin for my 
metadata field dc.subject.ddc:
choices.plugin.dc.subject.ddc = ddc_de
choices.presentation.dc.subject.ddc = select
vocabulary.plugin.ddc_de.hierarchy.store = false
vocabulary.plugin.ddc_de.hierarchy.suggest = false
vocabulary.plugin.ddc_de.delimiter = "::"

Putting these lines into my dspace.cfg on the CRIS system, I get a system 
error due to a a NullPointerException, which is caused by the controlled 
vocabulary:
2017-08-15 11:53:06,799 INFO  
org.dspace.content.authority.DSpaceControlledVocabulary @ Initializing 
org.dspace.content.authority.DSpaceControlledVocabulary
2017-08-15 11:53:06,799 INFO  
org.dspace.content.authority.DSpaceControlledVocabulary @ Loading 
/srv/dspace/dspace-cris/config/controlled-vocabularies/ddc_de.xml
2017-08-15 11:53:06,799 DEBUG 
org.dspace.content.authority.DSpaceControlledVocabulary @ Getting matches 
for 'null'
2017-08-15 11:53:06,805 ERROR 
org.dspace.app.webui.servlet.SubmissionController @ Error loading step 
class'org.dspace.submit.step.DescribeStep':
javax.servlet.ServletException: org.apache.jasper.JasperException: 
java.lang.NullPointerException

On my production system I get this line, when I get the submission form 
page:
2017-08-15 12:38:42,993 DEBUG 
org.dspace.content.authority.DSpaceControlledVocabulary @ Getting matches 
for ''

As you might notice, that's the point, where I get the NullPointerException 
on CRIS...

Is CRIS handling the authority plugin differently than original DSpace? 
Both of the systems are on DSpace 5.7.

Thanks, best regards
Oliver

-- 
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 [email protected].
To post to this group, send email to [email protected].
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