Hi Mariana!
You need to get the latest code from that location. This bug has been seen
before and fixed and was caused by the update. The problem was that we were
freeing the DSpace Context object early and didn't have it for retrieving the
records, something that somehow caused no problem in the earlier version of
DSpace 1.7.
Ralph
From: Kocisky [mailto:koci...@autistici.org]
Sent: Wednesday, June 15, 2011 1:01 PM
To: Marianna Mühlhölzer
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Dspace SRW/SRU search problem
i mean here: http://code.google.com/p/oclcsrwdspacelucene/issues/list
2011/6/15 Kocisky <koci...@autistici.org>
Hi, i would suggest you to post the issue at
http://code.google.com/p/oclcsrw/issues/list.
K
2011/6/2 Marianna Mühlhölzer <mmue...@sub.uni-goettingen.de>
Dear all,
several month ego I installed the Dspace SRW/SRU Service for DSpace
1.6.2 and it worked without any problems. But after an update to DSpace
1.7.2 I get the following error message:
2011-06-02 19:07:36,365 DEBUG ORG.oclc.os.SRW.SRWDatabase @ query:
64 63 2e 74 69 74 6c 65 20 3d 20 22 74 65 73 74 dc.title = "test
22 "
2011-06-02 19:07:37,091 INFO ORG.oclc.os.SRW.SRWDatabase @ 'dc.title =
"test"'==> 9
2011-06-02 19:07:37,092 DEBUG ORG.oclc.os.SRW.SRWDatabase @ keeping
resultSet 'i28ewp' for 300 seconds
2011-06-02 19:07:37,092 DEBUG ORG.oclc.os.SRW.SRWDatabase @
schemaName=info:srw/schema/1/dc-v1.1,
schemaID=info:srw/schema/1/dc-v1.1,
sortKeys=
2011-06-02 19:07:37,092 DEBUG ORG.oclc.os.SRW.SRWDatabase @ making
RecordIterator, startPoint=1, schemaID=info:srw/schema/1/dc-v1.1
2011-06-02 19:07:37,113 INFO
ORG.oclc.os.SRW.DSpaceLucene.LuceneRecordIterator @
lqr=ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult@1
f001f, startPoint=1, numRecs=9
2011-06-02 19:07:37,113 DEBUG ORG.oclc.os.SRW.SRWDatabase @ trying to
get 9 records starting with record 1 from a set of 9 records
2011-06-02 19:07:37,114 INFO
ORG.oclc.os.SRW.DSpaceLucene.LuceneRecordIterator @ in hasNext:
whichRecord=0, numRecs=9, resultItems.le
ngth=9
2011-06-02 19:07:37,114 INFO
ORG.oclc.os.SRW.DSpaceLucene.LuceneRecordIterator @ in nextRecord:
lqr=ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult@1f001f,
startPoint=1,
whichRecord=0
2011-06-02 19:07:37,116 ERROR
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingImpl @
java.lang.NullPointerException
java.lang.NullPointerException
at
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:220)
at org.dspace.content.Item
$MetadataCache.retrieveMetadata(Item.java:2710)
at org.dspace.content.Item$MetadataCache.get(Item.java:2643)
at org.dspace.content.Item.getMetadata(Item.java:2616)
at org.dspace.content.Item.getMetadata(Item.java:457)
It looks as if the number of the query results is retrieved and the
records cannot be fetched.
Can anybody help me with this problem?
Thanks with regards,
Marianna Mühlhölzer
________________________________
View this message in context: Dspace SRW/SRU search problem
<http://dspace.2283337.n4.nabble.com/Dspace-SRW-SRU-search-problem-tp3568912p3568912.html>
Sent from the DSpace - Tech mailing list archive
<http://dspace.2283337.n4.nabble.com/DSpace-Tech-f3276945.html> at Nabble.com.
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with
vRanger.
Installation's a snap, and flexible recovery options mean your data is
safe,
secure and there when you need it. Discover what all the cheering's
about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech