Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException (can't harvest) #162

Open
patrickzurek opened this issue Sep 9, 2016 · 0 comments
Open

NullPointerException (can't harvest) #162

patrickzurek opened this issue Sep 9, 2016 · 0 comments

Comments

@patrickzurek
Copy link

JIRA issue created by: rcook
Originally opened: 2012-06-26 09:30 AM

Issue body:
GC Issue http://code.google.com/p/xcoaitoolkit/issues/detail?id=88

Reported by project member [email protected], Oct 20, 2011

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)

root cause

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant