eXtensibleCatalog / OAI-Toolkit

Synchronize MARC metadata in most ILSs with XC
5 stars 1 forks source link

NullPointerException (can't harvest) #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In attempting to recreate this issue:
http://code.google.com/p/xcmetadataservicestoolkit/issues/detail?id=316

The first file (bib2marcxml-roman.xml) loaded OK, but when I went to harvest, I 
got the following exception:

ax.servlet.ServletException: java.lang.NullPointerException
        org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
</pre></p><p><b>root cause</b> <pre>java.lang.NullPointerException
        info.extensiblecatalog.OAIToolkit.utils.TextUtil.luceneToDate(TextUtil.java:185)
        info.extensiblecatalog.OAIToolkit.oai.dataproviders.LuceneFacadeDataProvider.initializeCachedFullHarvest(LuceneFacadeDataProvider.java:103)
        info.extensiblecatalog.OAIToolkit.oai.dataproviders.LuceneFacadeDataProvider.prepareQuery(LuceneFacadeDataProvider.java:354)
        info.extensiblecatalog.OAIToolkit.api.Facade.handleRecordLists(Facade.java:666)
        info.extensiblecatalog.OAIToolkit.api.Facade.doCachedSearch(Facade.java:387)
        info.extensiblecatalog.OAIToolkit.api.Facade.doListRecords(Facade.java:357)
        info.extensiblecatalog.OAIToolkit.struts.action.OaiRequestAction.execute(OaiRequestAction.java:80)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Chris, if you're able to fix this and get it running - could you either capture 
2 harvest out files so we can import them into the mst or let John know when an 
oai-toolkit is available to he can capture them to a file?

This would be a 2-phased load/harvest, load/harvest since it has to do with 
updates.

Original issue reported on code.google.com by bander...@library.rochester.edu on 20 Oct 2011 at 3:58

GoogleCodeExporter commented 9 years ago
In Jira as http://extensiblecatalog.lib.rochester.edu:8080/browse/OAI-34

Original comment by rc...@library.rochester.edu on 26 Jun 2012 at 1:33