We're having a problem with item mapping in one of our collections.  Clicking 
on the "Item Mapper" button results in an immediate system error.  The log 
entry for the error (appended below) shows a null pointer exception, apparently 
at a point where the code is iterating through the items in the collection and 
getting their owning collections.  I've check the database, and I don't have an 
item without an owning collection.  I tried unmapping the last item mapped, 
just in case there was some problem with it, but that accomplished nothing.  
The collection in question contains 665 items, all mapped.  I also tried 
submitting an item to the collection directly.  This worked fine; it's only 
mapping that's broken.

Item mapping works in all other collections.  It has apparently been broken in 
this collection for several years, and across several upgrades, going back to 
before my tenure here.  One of my colleagues remembers that it was broken 
earlier, when their were only a few items in the collection -- at that time, it 
was fixed by deleting the collection, recreating it, and re-mapping all the 
items.  It worked for a time, and then broke again; nobody could figure out the 
problem, and there it say until our new archivist tried to use it last week.  

Has anybody else encountered this?  Any suggestions?  

My apologies if this has been addressed here before; there seems to be a 
problem with the dspace-tech archives on sourceforge, and I wasn't able to 
search.

Thanks,

Bill Anderson
Systems Analyst
Georgia Tech Library

2009-10-26 14:23:54,369 WARN  org.dspace.app.webui.servlet.InternalErrorServlet 
@ :session_id=FD1E6B248AD0538F340B539A9724394D:internal_error:-- URL Was: 
http://smartech.gatech.edu/tools/itemmap-- Method: GET
-- Parameters were:
java.lang.NullPointerException
        at 
org.dspace.app.webui.servlet.admin.ItemMapServlet.doDSPost(ItemMapServlet.java:151)
        at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
        at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)    
    at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
        at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:619)

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to