dear list,
I have a problem with csw getRecordByID. It's a geonetwork-trunk from may
this year and this version works fine on our debian machine but makes
troubles on a suse sles 10.x.
The getCapabilities and the getRecords request are working fine.
But if geonetwork tries to get the records by id the following error
message appears:
138775 [Thread-17] DEBUG geonetwork.harvester - Getting record from :
www.portalu.de (uuid:1C54912E-F243-11D2-9A86-080000507261)
GET
params:request=GetRecordById&service=CSW&version=2.0.2&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&elementSetName=full&id=1C54912E-F243-11D2-9A8
6-080000507261
138775 [Thread-17] WARN geonetwork.harvester - Raised exception while
getting record : java.lang.NullPointerException
java.lang.NullPointerException
at
org.apache.commons.httpclient.HttpMethodBase.getStatusText(HttpMethodBase.java:801)
at
org.fao.geonet.csw.common.requests.CatalogRequest.setupReceivedData(CatalogRequest.java:507)
at
org.fao.geonet.csw.common.requests.CatalogRequest.doExecute(CatalogRequest.java:429)
at
org.fao.geonet.csw.common.requests.CatalogRequest.execute(CatalogRequest.java:205)
at
org.fao.geonet.kernel.harvest.harvester.csw.Aligner.retrieveMetadata(Aligner.java:330)
at
org.fao.geonet.kernel.harvest.harvester.csw.Aligner.addMetadata(Aligner.java:171)
at
org.fao.geonet.kernel.harvest.harvester.csw.Aligner.align(Aligner.java:154)
at
org.fao.geonet.kernel.harvest.harvester.csw.Harvester.harvest(Harvester.java:96)
at
org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester.doHarvest(CswHarvester.java:211)
at
org.fao.geonet.kernel.harvest.harvester.AbstractHarvester$HarvestWithIndexProcessor.process(AbstractHarvester.java:371)
at
org.fao.geonet.kernel.MetadataIndexerProcessor.processWithFastIndexing(MetadataIndexerProcessor.java:39)
at
org.fao.geonet.kernel.harvest.harvester.AbstractHarvester.harvest(AbstractHarvester.java:398)
at
org.fao.geonet.kernel.harvest.harvester.Executor.run(Executor.java:87)
138775 [Thread-17] INFO geonetwork.harvester - End of alignment for :
PortalU138775 [Thread-17] INFO geonetwork.harvester - Ended harvesting
from node : Por
talU (CswHarvester)
The catalogue (portalU) replies the getRecordById requests as you see here:
I put a tcpdump on eth0 but I can't find the request there (only the
getCapabilities and getRecords).
Every hint is welcome.
Thanks a lot and best regards
Uli
--
---------------------------------------
Ulrich Rothstein
WhereGroup GmbH & Co. KG
Siemensstraße 8
53121 Bonn
Germany
Fon: +49 (0)228 / 90 90 38 - 17
Fax: +49 (0)228 / 90 90 38 - 11
mailto:uli.rothstein@anonymised.com
pgp: http://www.wheregroup.com/keys/uli.rothstein.wheregroup.asc
http://www.wheregroup.com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
---------------------------------------