TransactionInsert Shows Error
-----------------------------
Key: GEOS-1262
URL: http://jira.codehaus.org/browse/GEOS-1262
Project: GeoServer
Issue Type: Bug
Environment: Windows,Postgresql,Postgis
Reporter: Pratik Shrestha Dhauvadel
Assignee: Andrea Aime
Priority: Trivial
Attachments: SOS_WFS_transactionInsert.xml
When i try to insert the feature in the postgis database, it shows the error as follows
<ServiceException>java.lang.ArrayIndexOutOfBoundsException: 3org.geoserver.platform.ServiceException: java.lang.ArrayIndexOutOfBoundsException: 3 at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1144) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:215) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle........
my xml file is like this.
<wfs:Transaction service="WFS" version="1.0.0"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd http://localhost:8082/geoserver/wfs/DescribeFeatureType?typename=ait:Registered_SOS">
<wfs:Insert>
<ait:Registered_SOS>
<ait:geom>
<gml:Point srsDimension="2" srsName="urn:ogc:def:crs:EPSG:6.6:4326">
<gml:coordinates>7.727958,51.883906</gml:coordinates>
</gml:Point>
</ait:geom>
<ait:Offering>GAUGE_HEIGHT</ait:Offering>
<ait:Offering_Description>The water level in a river</ait:Offering_Description>
<ait:Start_Position>2005-10-05T10:15:00</ait:Start_Position>
<ait:Stop_Position>2005-10-10T10:15:00</ait:Stop_Position>
<ait:Link>http://localhost:8080/52nSOSv2/sos</ait:Link>
</ait:Registered_SOS>
</wfs:Insert>
</wfs:Transaction>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira