Hello everyone,<br><br>I have a bug which I cannot solve. Was wandering if anyone could help.<br><br>I am trying to save a single point to a vector layer (this is originally a shp file which I uploaded to GeoServer in two ways - as the shapefile itself and as a postgis table, both of them produce the same error) following the wfs-t example that comes with geoserver (geoserver/www/wfs-t.html).<br>

When I try with the default page it works and saves the point to topp:tasmania_cities.<br><br>Anyone has any ideas. I&#39;m kind of in the dark. If you want any more info about my data feel free to ask. I will answer immediately.<br>


<br>
Thanks, João<br>
<br><br>Logs below:<br><br>When I send this POST Request:<br><br><code class="focusRow subFocusRow ">&lt;wfs:Transaction 
xmlns:wfs=&quot;<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>&quot; version=&quot;1.0.0&quot; 
service=&quot;WFS&quot;&gt;<br></code><div style="margin-left: 40px;"><code class="focusRow subFocusRow ">&lt;wfs:Insert&gt;</code><br><code class="focusRow subFocusRow "></code></div><div style="margin-left: 40px;"><div style="margin-left: 40px;">

<code class="focusRow subFocusRow ">&lt;feature</code><code class="focusRow subFocusRow ">:pontos_interesse_min_postgis
 
xmlns:feature=&quot;<a href="http://localhost:8080/geoserver/peniche">http://localhost:8080/geoserver/peniche</a>&quot;&gt;</code><br></div><code class="focusRow subFocusRow "></code></div><div style="margin-left: 40px;">

<div style="margin-left: 80px;"><code class="focusRow subFocusRow ">&lt;feature:the_geom</code><code class="focusRow subFocusRow ">&gt;</code><br></div><code class="focusRow subFocusRow "></code></div><div style="margin-left: 40px;">

<div style="margin-left: 120px;"><code class="focusRow subFocusRow ">&lt;gml:MultiPoint 
xmlns:gml=&quot;<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>&quot;&gt;</code><br></div><code class="focusRow subFocusRow "></code></div><div style="margin-left: 40px;"><div style="margin-left: 160px;">

<code class="focusRow subFocusRow ">&lt;gml:pointMember&gt;</code><br></div><code class="focusRow subFocusRow "></code></div><div style="margin-left: 40px;"><div style="margin-left: 200px;"><code class="focusRow subFocusRow ">&lt;gml:Point&gt;</code><br>

</div><code class="focusRow subFocusRow "></code></div><div style="margin-left: 40px;"><div style="margin-left: 240px;"><code class="focusRow subFocusRow ">&lt;gml:coordinates</code><code class="focusRow subFocusRow "> decimal=&quot;.&quot; cs=&quot;,&quot; ts=&quot; 
&quot;&gt;<br></code><div style="margin-left: 40px;"><code class="focusRow subFocusRow ">14337.787617188,31343.8228125<br></code></div><code class="focusRow subFocusRow ">&lt;/gml:coordinates&gt;</code><br></div><code class="focusRow subFocusRow "></code></div>

<div style="margin-left: 40px;"><div style="margin-left: 200px;"><code class="focusRow subFocusRow ">&lt;/gml:Point&gt;</code><br></div><code class="focusRow subFocusRow "></code></div><div style="margin-left: 40px;"><div style="margin-left: 160px;">

<code class="focusRow subFocusRow ">&lt;/gml:pointMember</code><code class="focusRow subFocusRow ">&gt;</code><br></div><code class="focusRow subFocusRow "></code></div><div style="margin-left: 40px;"><div style="margin-left: 120px;">

<code class="focusRow subFocusRow ">&lt;/gml:MultiPoint&gt;</code><br></div><code class="focusRow subFocusRow "></code></div><div style="margin-left: 40px;"><div style="margin-left: 80px;"><code class="focusRow subFocusRow ">&lt;/feature:the_geom&gt;</code><br>

</div><code class="focusRow subFocusRow "></code></div><div style="margin-left: 80px;"><code class="focusRow subFocusRow ">&lt;/feature:pontos_interesse_min_postgis&gt;<br></code></div><div style="margin-left: 40px;"><code class="focusRow subFocusRow ">&lt;/wfs:Insert&gt;</code><br>

<code class="focusRow subFocusRow "></code></div><code class="focusRow subFocusRow ">&lt;/wfs:Transaction</code><code tabindex="0" class="focusRow 
subFocusRow a11yModified">&gt;</code><br><br clear="all">The Response is:<br><br><div selected class="netInfoResponseText 
netInfoText "><pre><code class="wrappedText focusRow">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;wfs:WFS_TransactionResponse version=&quot;1.0.0&quot; <br>xmlns:wfs=&quot;http:/</code><code class="wrappedText focusRow">/<a href="http://www.opengis.net/wfs">www.opengis.net/wfs</a>&quot; <br>

xmlns:ogc=&quot;<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>&quot; <br>xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot;</code><code class="wrappedText focusRow"> <br>

xsi:schemaLocation=&quot;<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a> <a href="http://localhost:80/geoserver/schemas/wfs/1.0.0/WFS-transaction">http://localhost:80/geoserver/schemas/wfs/1.0.0/WFS-transaction</a></code><code class="wrappedText focusRow">.xsd&quot;&gt;<br>

</code></pre><div style="margin-left: 40px;"><code class="wrappedText focusRow">&lt;wfs:InsertResult&gt;<br></code><div style="margin-left: 40px;"><code class="wrappedText focusRow">&lt;ogc:FeatureId fid=&quot;none&quot;/&gt;<br>

</code></div><code class="wrappedText focusRow">&lt;/wfs:InsertResult&gt;<br>&lt;wfs:TransactionResult&gt;<br></code><div style="margin-left: 40px;"><code class="wrappedText focusRow">&lt;wfs:Status</code><code class="wrappedText focusRow">&gt;<br>

</code><div style="margin-left: 40px;"><code class="wrappedText focusRow">&lt;wfs:FAILED/&gt;<br></code></div><code class="wrappedText focusRow">&lt;/wfs:Status&gt;<br>&lt;wfs:Message&gt;<br></code><div style="margin-left: 40px;">

<code class="wrappedText focusRow">Error performing insert<br></code></div><code class="wrappedText focusRow">&lt;/wfs:Message&gt;<br></code></div><code class="wrappedText focusRow">&lt;/wfs:TransactionResult</code><code tabindex="0" class="wrappedText focusRow a11yModified">&gt;<br>

</code></div><code tabindex="0" class="wrappedText focusRow a11yModified">&lt;/wfs:WFS_TransactionResponse&gt;<br><br><br></code></div><br>The GeoServer Log says: <br><br>2010-05-07 15:23:53,190 ERROR [geoserver.wfs] - Transaction failed<br>

org.geoserver.wfs.WFSTransactionException: Error performing insert<br><br>2010-05-07 15:23:53,192 INFO [geoserver.wfs] - <br>Request: transaction<br>    handle = null<br>    service = WFS<br>    version = 1.0.0<br>    baseUrl = <a href="http://localhost:80/geoserver/">http://localhost:80/geoserver/</a><br>

    providedVersion = null<br>    lockId = null<br>    group = [wfs:insert=net.opengis.wfs.impl.InsertElementTypeImpl@f53890 (feature: [SimpleFeatureImpl:pontos_interesse_min_postgis=[SimpleFeatureImpl.Attribute: objectid&lt;objectid id=fid--6c61e3e8_128726979c6_-7fec&gt;=null, SimpleFeatureImpl.Attribute: id&lt;id id=fid--6c61e3e8_128726979c6_-7fec&gt;=null, SimpleFeatureImpl.Attribute: nome&lt;nome id=fid--6c61e3e8_128726979c6_-7fec&gt;=null, SimpleFeatureImpl.Attribute: categoria&lt;categoria id=fid--6c61e3e8_128726979c6_-7fec&gt;=null, SimpleFeatureImpl.Attribute: dtcc&lt;dtcc id=fid--6c61e3e8_128726979c6_-7fec&gt;=null, SimpleFeatureImpl.Attribute: the_geom&lt;the_geom id=fid--6c61e3e8_128726979c6_-7fec&gt;=]], handle: null, idgen: &lt;unset&gt;, inputFormat: &lt;unset&gt;, srsName: null)]<br>

    insert = [net.opengis.wfs.impl.InsertElementTypeImpl@f53890 (feature: [SimpleFeatureImpl:pontos_interesse_min_postgis=[SimpleFeatureImpl.Attribute: objectid&lt;objectid id=fid--6c61e3e8_128726979c6_-7fec&gt;=null, SimpleFeatureImpl.Attribute: id&lt;id id=fid--6c61e3e8_128726979c6_-7fec&gt;=null, SimpleFeatureImpl.Attribute: nome&lt;nome id=fid--6c61e3e8_128726979c6_-7fec&gt;=null, SimpleFeatureImpl.Attribute: categoria&lt;categoria id=fid--6c61e3e8_128726979c6_-7fec&gt;=null, SimpleFeatureImpl.Attribute: dtcc&lt;dtcc id=fid--6c61e3e8_128726979c6_-7fec&gt;=null, SimpleFeatureImpl.Attribute: the_geom&lt;the_geom id=fid--6c61e3e8_128726979c6_-7fec&gt;=]], handle: null, idgen: &lt;unset&gt;, inputFormat: &lt;unset&gt;, srsName: null)]<br>

    update = []<br>    delete = []<br>    native = []<br>    releaseAction = ALL<br> <br><br>The PostGre log does not report anything.<br><br><br><br><br><br><br>-- <br>&quot;Ajude um pouco ... já é muito&quot;<br>Projecto SOSIndia <a href="http://sosindia.net">http://sosindia.net</a><br>

---------------------------------------------<br><br>Shoot for the moon,<br>even if you miss it<br>you will land among the stars.<br>- Unknown<br><br>-------------------------------------------------<br><br>What if for a moment, as an experiment,<br>

you drop every belief that you have?<br>- Unknown<br><br>---------------------------------------------------------------<br><br>&quot;We are all linked by a fabric of unseen connections. This fabric is constantly changing and evolving. This field is directly structured and influenced by our behavior and by our understanding.&quot;<br>

—David Bohm, quantum physicist, 1917–1992 <br>