Claudia, 

We were able to track it down to track it down to having some older 
dspace-api libraries in /dspace/lib/xmlui.  Our original installation 
copy left dspace-api.1.5.0 and dspace-api.1.5.1 jars in the lib 
directory; we removed the 1.5.0 jar from /dspace/lib, but had not 
removed the copy from the xmlui directories.

Thanks,
Bill Kelm


Below is the error we were seeing in the log file:


 009-03-20 15:01:14,421 DEBUG org.dspace.event.BasicDispatcher @ Sending 
event to "browse": org.dspace.event.Event(ev
> entType=REMOVE, SubjectType=BUNDLE, SubjectID=5308, 
> ObjectType=BITSTREAM, ObjectID=5517, TimeStamp=1237586474404, dis
> patcher=1544803905, detail="1", 
> transactionID="TX93980716333345394679020765086496509531")
> 2009-03-20 15:01:14,421 DEBUG org.dspace.storage.rdbms.DatabaseManager 
> @ Running query "select * from bundle where bu
> ndle_id = ? "  with parameters: 5308
> 2009-03-20 15:01:14,421 DEBUG org.dspace.content.Bundle @ 
> [email protected]:session_id=AA791E9175CFE5E9A39FC1804
> C1FBA47:ip_addr=158.104.100.37:find_bundle:not_found,bundle_id=5308
> 2009-03-20 15:01:14,421 WARN  org.dspace.browse.BrowseConsumer @ 
> consume() got unrecognized event: org.dspace.event.E
> vent(eventType=REMOVE, SubjectType=BUNDLE, SubjectID=5308, 
> ObjectType=BITSTREAM, ObjectID=5517, TimeStamp=12375864744
> 04, dispatcher=1544803905, detail="1", 
> transactionID="TX93980716333345394679020765086496509531")
> 2009-03-20 15:01:14,421 DEBUG org.dspace.event.Event @ Filtering 
> event: eventType=16, subjectType=2, result=true
> 2009-03-20 15:01:14,421 DEBUG org.dspace.event.BasicDispatcher @ 
> Sending event to "search": org.dspace.event.Event(ev
> entType=REMOVE, SubjectType=BUNDLE, SubjectID=5308, 
> ObjectType=BITSTREAM, ObjectID=5517, TimeStamp=1237586474404, dis
> patcher=1544803905, detail="1", 
> transactionID="TX93980716333345394679020765086496509531")
> 2009-03-20 15:01:14,421 DEBUG org.dspace.storage.rdbms.DatabaseManager 
> @ Running query "select * from bundle where bu
> ndle_id = ? "  with parameters: 5308
> 2009-03-20 15:01:14,421 DEBUG org.dspace.content.Bundle @ 
> [email protected]:session_id=AA791E9175CFE5E9A39FC1804
> C1FBA47:ip_addr=158.104.100.37:find_bundle:not_found,bundle_id=5308
> 2009-03-20 15:01:14,422 DEBUG org.dspace.event.Event @ Filtering 
> event: eventType=16, subjectType=2, result=false
> 2009-03-20 15:01:14,422 DEBUG org.dspace.event.BasicDispatcher @ 
> Iterating over 3 consumers...
> 2009-03-20 15:01:14,422 DEBUG org.dspace.event.Event @ Filtering 
> event: eventType=32, subjectType=1, result=false
> 2009-03-20 15:01:14,422 DEBUG org.dspace.event.Event @ Filtering 
> event: eventType=32, subjectType=1, result=false
> 2009-03-20 15:01:14,422 DEBUG org.dspace.event.Event @ Filtering 
> event: eventType=32, subjectType=1, result=false
> 2009-03-20 15:01:14,422 DEBUG org.dspace.event.BasicDispatcher @ 
> Calling end for consumer "browse"
> 2009-03-20 15:01:14,422 ERROR org.dspace.event.BasicDispatcher @ Error 
> in Consumer("browse").end: java.lang.NullPoint
> erException
> java.lang.NullPointerException
>         at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:343)
>         at org.dspace.browse.BrowseConsumer.end(BrowseConsumer.java:140)
>         at 
> org.dspace.event.BasicDispatcher.dispatch(BasicDispatcher.java:171)
>         at org.dspace.core.Context.commit(Context.java:286)
>         at 
> org.dspace.app.xmlui.aspect.administrative.FlowItemUtils.processDeleteItem(FlowItemUtils.java:351)
>  
>
>         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:616)
>         at 
> org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
>         at 
> org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
>         at 
> org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134)
>  
>
>         at 
> org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
>  
>
>         at 
> org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
>  
>
>         at 
> org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
>  
>
>         at 
> org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
>         at 
> org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1591)
>  
>
>
>
> Claudia Jürgen wrote:
>> Hi Bill,
>>
>> I was not able to reproduce this on a vanilla 1.5.1 instance.
>> Could you provide the detailed error logs? Do you got something like 
>> "org.dspace.browse.BrowseException: 
>> org.postgresql.util.PSQLException: ERROR: relation with OID n does 
>> not exist ?
>>
>>
>> Are you using Postgres < 8.3?
>


-- 
Bill G. Kelm - Systems Librarian
Willamette University Library
900 State Street - Salem, OR 97301
Phone: 503-375-5332   Fax: 503-370-6141


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to