On Tue, Jan 22, 2013 at 2:19 PM, Joachim Bingel <[email protected]>wrote:
> I also tried this on my dev instance of DSpace 3.0-rc3, with the same
> result except that the avaliable options for "[dspace]/bin/dspace oai"
> change to "clean-cache", "compile-items" and "erase-compiled-items".
> "compile-items" fails with a java.lang.NullPointerException
>
These options indicate that you're using the database backend in OAI, not
Solr. (storage=database in [dspace]/config/modules/oai.cfg).
I'm not sure how you could get the same result (SolrException: Bad Request)
when using the database backend - Solr shouldn't be used in that case at
all! In any case, this also independently points to the fact that the
handle of your item cannot be retrieved:
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-oai/src/main/java/org/dspace/xoai/util/XOAICacheManager.java#L81
How did you store such handle (the handle postfix is non-standard for
DSpace)? Did you do any customizations to store such handles?
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
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