[thredds] documentation on catalogs

Hi all,

I'm getting an odd error when including documentation in my server-side catalog. I have attached the catalog (which is referenced from the base catalog.xml).

The server loads up fine until I go down to an actual file, I get the attached error. I initially had some <p> and <br> tags in there, but removing them didn't help at all... I then tried using CDATA and that didn't work either....

Oddly enough, I am still getting the same errors despite removing all <documentation> tags and restarting the container.

If someone can point out the obvious error, that would be very much appreciated. Is anyone else having the same problem? I'm running this using:

- THREDDS Data Server [Version 4.0.9 - 20090501.1900],
- jetty-6.1.15 and
- jdk1.6.0_13.

Thanks!

-Pauline.

--
Pauline Mak

ARCS Data Services
Ph: (03) 6226 7518
Email: pauline.mak@xxxxxxxxxxx
Jabber: pauline.mak@xxxxxxxxxxx
http://www.arcs.org.au/

TPAC
Email: pauline.mak@xxxxxxxxxxx
http://www.tpac.org.au/



<?xml version="1.0" encoding="UTF-8"?>
<catalog name="TPAC/ARCS OPeNDAP server"
        xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";
        xmlns:xlink="http://www.w3.org/1999/xlink";>

<service name="simple" base="" serviceType="compound">
    <service name="dapService" serviceType="OpenDAP" base="/thredds/dodsC/" />
    <service name="httpService" serviceType="HTTPServer" 
base="/thredds/fileServer/" /> <!-- direct file download -->
    <service name="GridFTP" serviceType="GridFTP" 
base="gsiftp://gridftp-whiteout.sf/library/"; />
   </service>
<service name="httpOnly" serviceType="HTTPServer" base="/thredds/fileServer/" />

        <dataset name="Argo floats">
        <metadata inherited="true">
                        <serviceName>simple</serviceName>
                        <creator>
                                <name></name>
                                <contact>
                                        <email>codac@xxxxxxxxxx</email>
                                        
<url>http://www.coriolis.eu.org/default.htm</url>
                                </contact>
                        </creator>
            <dataFormat>NetCDF</dataFormat>
            <documentation type="rights">Freely available</documentation>
            <documentation type="summary">
                Argo is a global array of 3,000 free-drifting profiling floats 
that measures the temperature and salinity of the upper 2000 m of the ocean. 
This allows continuous monitoring of the climate state of the ocean.  Please 
note that this dataset is updated weekly on Saturday night, and is itself a 
copy of the Argo dataset stored at CSIRO, which is also updated weekly.  
            </documentation>
            <documentation xlink:href="http://www.coriolis.eu.org/default.htm"; 
xlink:title="Coriolis" />
        </metadata>

         <datasetScan name="Argo Australia" path="library/argo_australia" 
location="/library/argo_csiro/argo_australia">
            <filter>
                <include wildcard="*.ncml"/>
                <include wildcard="*.nc" />
            </filter>
        </datasetScan>
        <datasetScan name="Argo Global" path="library/argo_australia" 
location="/library/argo_csiro/csiro_rsync">
            <filter>
                <include wildcard="*.ncml"/>
                <include wildcard="*.nc" />
            </filter>
        </datasetScan>
        <datasetScan name="Argo Matlab" path="library/argo_australia" 
location="/library/argo_csiro/argo_australia">
                        <metadata>
                                <serviceName>httpOnly</serviceName>
                        </metadata>
            <filter>
                <include wildcard="*.mat"/>
            </filter>
        </datasetScan>

    </dataset>
</catalog>
2009-05-13T08:50:49.153 +1000 [    256266][      18] ERROR - 
thredds.server.catalogservice.LocalCatalogServiceController - 
handleRequestInternal(): Problem handling request.
java.lang.NullPointerException
    at ucar.unidata.util.StringUtil.replace(StringUtil.java:366)
    at ucar.unidata.util.StringUtil.quoteHtmlContent(StringUtil.java:281)
    at 
thredds.catalog.InvDatasetImpl.writeHtmlDescription(InvDatasetImpl.java:1112)
    at thredds.servlet.HtmlWriter.convertDatasetToHtml(HtmlWriter.java:877)
    at thredds.servlet.HtmlWriter.showDataset(HtmlWriter.java:895)
    at 
thredds.server.catalogservice.LocalCatalogServiceController.handleRequestInternal(LocalCatalogServiceController.java:233)
    at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
    at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
    at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
    at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
    at 
thredds.servlet.filter.CatalogServiceFilter.doFilter(CatalogServiceFilter.java:107)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
    at 
thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.java:121)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
    at 
thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java:105)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:378)
    at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
    at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:324)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)
    at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    at 
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
2009-05-13T08:50:49.153 +1000 [    256266][      18] INFO  - 
thredds.server.catalogservice.LocalCatalogServiceController - 
handleRequestInternal(): Request Completed - 400 - -1 - 4

  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: