Hi everyone,

I am upgrading an instance of DSpace from 1.5.2 to 4.1, and I'm running into 2 
problems after the upgrade. They may be related, so I'm posting them both here 
together. First off, note that I'm using legacy lucene indexing and XMLUI, and 
I'm using code that has worked for 2 other DSpace upgrades.

Problem #1: The collection pages are blank after the upgrade. In other words, 
the collection pages don't show the usual content in the main part of the page 
(the "search within this document type", "browse by", and "recent submissions" 
are all missing). The sidebar is there, and I can search or browse the 
collection just fine by using the sidebar, but the main part of the page 
doesn't show. Strangely, I can switch to any other theme, including Classic and 
Kubrick, and the same problem occurs. If I view the DRI and XML versions of 
those pages I can see that the "recent submissions" node is not present at all. 
If I create new collections, they exhibit the same problem. I do not have this 
problem in the older 1.5.2 instance.

Problem #2: When running an index-lucene-init it works just fine, but running 
index-lucene-update crashes every time with:
         java.lang.NullPointerException
        at org.dspace.search.DSIndexer.cleanIndex(DSIndexer.java:604)
        at org.dspace.search.DSIndexer.main(DSIndexer.java:507)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)

Can anyone help me with this? I'm more concerned about #1 than #2, because I 
won't be able to put this repository into production until I resolve this issue.

Thanks!


-          Jim Halliday

-          Indiana University
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to