Opened 12 years ago

#1252 new defect

Thesaurus / GCMD keywords loading error

Reported by: fxp Owned by: geonetwork-devel@…
Priority: major Milestone: v2.10.0 RC0
Component: General Version: v2.8.0
Keywords: Cc:

Description

I attempted to load the GCMD keywords (sciencekeywords.rdf) from http://gcmdservices.gsfc.nasa.gov/static/kms/sciencekeywords/ using the manage thesauri and got an error.

2013-03-21 13:53:56,484 ERROR [jeeves.service] - Exception when executing service
2013-03-21 13:53:56,484 ERROR [jeeves.service] -  (C) Exc : org.openrdf.sesame.config.ConfigurationException: org.openrdf.sesame.sail.SailInitializationException: Parse error on li
ne -1
2013-03-21 13:53:56,485 DEBUG [jeeves.service] - Raised exception while executing service
<error id="error">
  <message>org.openrdf.sesame.sail.SailInitializationException: Parse error on line -1</message>
  <class>ConfigurationException</class>
  <stack>
    <at class="org.openrdf.sesame.repository.local.LocalService" file="LocalService.java" line="417" method="_createRepository" />
    <at class="org.openrdf.sesame.repository.local.LocalService" file="LocalService.java" line="238" method="getRepository" />
    <at class="org.openrdf.sesame.repository.local.LocalService" file="LocalService.java" line="298" method="createRepository" />
    <at class="org.fao.geonet.kernel.ThesaurusManager" file="ThesaurusManager.java" line="365" method="createThesaurusRepository" />
    <at class="org.fao.geonet.kernel.ThesaurusManager" file="ThesaurusManager.java" line="332" method="addThesaurus" />
    <at class="org.fao.geonet.services.thesaurus.Upload" file="Upload.java" line="244" method="UploadThesaurus" />
    <at class="org.fao.geonet.services.thesaurus.Upload" file="Upload.java" line="193" method="upload" />

removing in the file

<gcmd:termsOfUse xmlns:gcmd="http://gcmd.gsfc.nasa.gov/">See
    http://gcmd.nasa.gov/r/l/TermsOfUse</gcmd:termsOfUse>
  <gcmd:keywordVersion xmlns:gcmd="http://gcmd.gsfc.nasa.gov/">7.0</gcmd:keywordVersion>
  <gcmd:schemeVersion xmlns:gcmd="http://gcmd.gsfc.nasa.gov/">2013-03-13
    16:36:41</gcmd:schemeVersion>

fix the issue.

To be investigated why it's failing.

Change History (0)

Note: See TracTickets for help on using tickets.