From: Jeremy D. <jd...@gm...> - 2007-07-17 08:37:03
|
I downloaded http://geo.openplans.org/nightly/1.5.x/geoserver-1.5.x-071607-bin.zip (the latest in the displayed list) Moved my geoserver/ to geoserver.old/ Extracted the new one to geoserver/ Deleted geoserver/data_dir Copied geoserver.old/data_dir to geoserver/data_dir Started geoserver/bin/startup.bat On admin page it still display 1.5.1 I'm i doing something wrong? Anyway i tested it again, its the same problem : req: POST /geoserver/wfs? HTTP/1.0 User-Agent: GrfMapViewer Content-Length: 407 <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.0.0" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:Query wfs:typeName="icia:batiment_prive"><ogc:PropertyName>icia:qualite</ogc:PropertyName><ogc:Filter><ogc:FeatureId fid="batiment_prive.136"/></ogc:Filter></wfs:Query></wfs:GetFeature> answer: <?xml version="1.0" ?> <ServiceExceptionReport version="1.2.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://62.193.xx0.1xx:8080/geoserver/schemas//wfs/1.0.0/OGC-exception.xsd"> <ServiceException> java.lang.NullPointerException java.lang.NullPointerException </ServiceException> </ServiceExceptionReport> Thanks again ;) 2007/7/17, Andrea Aime <aa...@op...>: > Jeremy DERRAC ha scritto: > > I'm using GeoServer 1.5.1 it seems to be the latest release. > > > ... > > <xs:element name="the_geom" minOccurs="0" nillable="true" > > type="gml:MultiPolygonPropertyType"/> > > Hmm... this dataset is not geometryless, yet I think that fix I made > covers this case too. I bet your source is a shapefile without .prj > file, or a postgis table with a SRS declared as -1 (unknown)? > > Can you grab a 1.5.2-snapshot from > http://geo.openplans.org/nightly/1.5.x/ and give it a spin? > > Cheers > Andrea > |