[GeoNetwork-users] BBox Exception

Hi all,

I am trying to find out why the following query gets an exception when is
sent to GN (beta2). If anyone can help it would be much appreciated. I am
using the sample data from GAST. The only thing I can think of is that I
might have to add more information in the query. Thanks in advance.

<GetRecords xmlns="http://www.opengis.net/cat/csw&quot;
xmlns:csw="http://www.opengis.net/cat/csw&quot;
xmlns:ogc="http://www.opengis.net/ogc&quot;
xmlns:gml="http://www.opengis.net/gml&quot; service="CSW" version="2.0.1"
startPosition="1" maxRecords="10" resultType="results">
  <Query>
    <Constraint version="1.1.0">
      <ogc:Filter>
        <ogc:BBOX>
          <ogc:PropertyName>ows:BoundingBox</ogc:PropertyName>
          <gml:Envelope
srsName="http://www.opengis.net/gml/srs/epsg.xml#63266405&quot;&gt;
            <gml:lowerCorner>-180 -90</gml:lowerCorner>
            <gml:upperCorner>180 90</gml:upperCorner>
          </gml:Envelope>
        </ogc:BBOX>
      </ogc:Filter>
    </Constraint>
  </Query>
</GetRecords>

2007-06-01 08:28:14,512 INFO [jeeves.webapp.csw] - Dispatching operation :
GetRecords
file:///C:/Archivos%20de%20programa/geonetwork-2.1.0-beta1/web/xml/csw/schem
as/fgdc-std/ogc-full.xsl; LÝnea n·m.10; Columna n·m.37; El prefijo debe
resolverse como un espacio de nombres: gmd
file:///C:/Archivos%20de%20programa/geonetwork-2.1.0-beta1/web/xml/csw/schem
as/f
gdc-std/ogc-full.xsl; LÝnea n·m.10; Columna n·m.37; íExpresi¾n vacÝa!
file:///C:/Archivos%20de%20programa/geonetwork-2.1.0-beta1/web/xml/csw/schem
as/fgdc-std/ogc-full.xsl; LÝnea n·m.10; Columna n·m.37; Se esperaba un
patr¾n de vÝa de acceso relativa.
(Ubicaci¾n del error desconocida)java.lang.NullPointerException
2007-06-01 08:28:14,653 ERROR [jeeves.webapp.csw] - Error while getting
metadata with id : 6
2007-06-01 08:28:14,653 ERROR [jeeves.webapp.csw] - (C) StackTrace:
java.lang.NullPointerException
        at jeeves.utils.Xml.transform(Xml.java:136)
        at jeeves.utils.Xml.transform(Xml.java:114)
        at
org.fao.geonet.kernel.csw.services.getrecords.SearchController.retrie
veMetadata(SearchController.java:127)
        at
org.fao.geonet.kernel.csw.services.getrecords.SearchController.search
(SearchController.java:73)
        at
org.fao.geonet.kernel.csw.services.GetRecords.execute(GetRecords.java
:107)
        at
org.fao.geonet.kernel.csw.CatalogDispatcher.dispatchI(CatalogDispatch
er.java:170)
        at
org.fao.geonet.kernel.csw.CatalogDispatcher.dispatch(CatalogDispatche
r.java:117)
        at
org.fao.geonet.services.main.CswDispatcher.exec(CswDispatcher.java:55
)
        at
jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:22
6)
        at
jeeves.server.dispatchers.ServiceInfo.execServices(ServiceInfo.java:1
29)
        at
jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java
:370)
        at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
        at
jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:1
63)
        at
jeeves.server.sources.http.JeevesServlet.doPost(JeevesServlet.java:98
)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427
)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:473)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:635)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

Hi Walter,

there is a bug in the stylesheet. I will release a new beta soon to fix this
and other errors.

Cheers,
Andrea

Hi all,

I am trying to find out why the following query gets an exception when is
sent to GN (beta2). If anyone can help it would be much appreciated. I am
using the sample data from GAST. The only thing I can think of is that I
might have to add more information in the query. Thanks in advance.

<GetRecords xmlns="http://www.opengis.net/cat/csw&quot;
xmlns:csw="http://www.opengis.net/cat/csw&quot;
xmlns:ogc="http://www.opengis.net/ogc&quot;
xmlns:gml="http://www.opengis.net/gml&quot; service="CSW" version="2.0.1"
startPosition="1" maxRecords="10" resultType="results">
  <Query>
    <Constraint version="1.1.0">
      <ogc:Filter>
        <ogc:BBOX>
          <ogc:PropertyName>ows:BoundingBox</ogc:PropertyName>
          <gml:Envelope
srsName="http://www.opengis.net/gml/srs/epsg.xml#63266405&quot;&gt;
            <gml:lowerCorner>-180 -90</gml:lowerCorner>
            <gml:upperCorner>180 90</gml:upperCorner>
          </gml:Envelope>
        </ogc:BBOX>
      </ogc:Filter>
    </Constraint>
  </Query>
</GetRecords>

2007-06-01 08:28:14,512 INFO [jeeves.webapp.csw] - Dispatching operation :
GetRecords
file:///C:/Archivos%20de%20programa/geonetwork-2.1.0-beta1/web/xml/csw/schem
as/fgdc-std/ogc-full.xsl; LÝnea n·m.10; Columna n·m.37; El prefijo debe
resolverse como un espacio de nombres: gmd
file:///C:/Archivos%20de%20programa/geonetwork-2.1.0-beta1/web/xml/csw/schem
as/f
gdc-std/ogc-full.xsl; LÝnea n·m.10; Columna n·m.37; íExpresi¾n vacÝa!
file:///C:/Archivos%20de%20programa/geonetwork-2.1.0-beta1/web/xml/csw/schem
as/fgdc-std/ogc-full.xsl; LÝnea n·m.10; Columna n·m.37; Se esperaba un
patr¾n de vÝa de acceso relativa.
(Ubicaci¾n del error desconocida)java.lang.NullPointerException
2007-06-01 08:28:14,653 ERROR [jeeves.webapp.csw] - Error while getting
metadata with id : 6
2007-06-01 08:28:14,653 ERROR [jeeves.webapp.csw] - (C) StackTrace:
java.lang.NullPointerException
        at jeeves.utils.Xml.transform(Xml.java:136)
        at jeeves.utils.Xml.transform(Xml.java:114)
        at
org.fao.geonet.kernel.csw.services.getrecords.SearchController.retrie
veMetadata(SearchController.java:127)
        at
org.fao.geonet.kernel.csw.services.getrecords.SearchController.search
(SearchController.java:73)
        at
org.fao.geonet.kernel.csw.services.GetRecords.execute(GetRecords.java
:107)
        at
org.fao.geonet.kernel.csw.CatalogDispatcher.dispatchI(CatalogDispatch
er.java:170)
        at
org.fao.geonet.kernel.csw.CatalogDispatcher.dispatch(CatalogDispatche
r.java:117)
        at
org.fao.geonet.services.main.CswDispatcher.exec(CswDispatcher.java:55
)
        at
jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:22
6)
        at
jeeves.server.dispatchers.ServiceInfo.execServices(ServiceInfo.java:1
29)
        at
jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java
:370)
        at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
        at
jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:1
63)
        at
jeeves.server.sources.http.JeevesServlet.doPost(JeevesServlet.java:98
)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427
)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:473)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:635)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork