#686: Thesaurus manager failed to load a thesaurus from URL without extension
---------------------+------------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: Future release
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------
Error is :
{{{
2011-11-30 10:20:00,820 INFO [jeeves.service] - Dispatching :
xml.thesaurus.upload
2011-11-30 10:20:00,821 DEBUG [jeeves.service] - -> parameters are :
<request>
<dir>theme</dir>
<rb-auto>1</rb-auto>
<type>external</type>
<url>http://vocab.ndg.nerc.ac.uk/list/A020/3</url>
</request>
2011-11-30 10:25:00,902 ERROR [jeeves.service] - Exception when executing
service
2011-11-30 10:25:00,902 ERROR [jeeves.service] - (C) Exc :
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
2011-11-30 10:25:00,903 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
<message>String index out of range: -1</message>
<class>StringIndexOutOfBoundsException</class>
<stack>
<at class="java.lang.String" file="String.java" line="1931"
method="substring" />
<at class="java.lang.String" file="String.java" line="1904"
method="substring" />
<at class="org.fao.geonet.services.thesaurus.Upload"
file="Upload.java" line="179" method="upload" />
}}}
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/686>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.