[Geoserver-users] Error performing insert GeoServer 2.2.4

Hi ther again,

I've found a strange issue regarding WFS-T in Geoserver 2.2.4. I've just upgraded from 2.0.2 version and I'm checking that everything that we've got works in this new version. The thing is that I get this error while performing an insert.

Error performing insert: Source was null in trying to create a reprojected feature collection! Details:org.geoserver.wfs.WFSException: Error performing insert: Source was null in trying to create a reprojected feature collection! at org.geoserver.wfs.response.TransactionResponse.v_1_1(TransactionResponse.java:195) at org.geoserver.wfs.response.TransactionResponse.write(TransactionResponse.java:65) at org.geoserver.ows.Dispatcher.response(Dispatcher.java:912) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:276) 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:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173) at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:97) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Unknown Source)

My transaction request

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs&quot; service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://192.168.3.15/ikt http://192.168.3.15/geoserver/wfs?request=DescribeFeatureType&amp;version=1.1.0&amp;typename=IKT:prueba_wfst&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;wfs:Delete typeName="feature:prueba_wfst" xmlns:feature="http://192.168.3.15/ikt&quot;&gt;&lt;ogc:Filter xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;&lt;ogc:FeatureId fid="prueba_wfst.671"/></ogc:Filter></wfs:Delete><wfs:Insert><feature:prueba_wfst xmlns:feature="http://192.168.3.15/ikt&quot; fid="OpenLayers.Feature.Vector_23812"><feature:GEOMETRY><gml:Polygon xmlns:gml="http://www.opengis.net/gml&quot; srsName="http://www.opengis.net/gml/srs/epsg\.xml\#23030&quot;&gt;&lt;gml:exterior&gt;&lt;gml:LinearRing&gt;&lt;gml:posList&gt;524436\.20351425 4752219.5716147 524438.55867931 4752213.28762235 524438.97308014 4752212.181416 524446.32068919 4752194.80115149 524444.32261992 4752173.79463762 524456.54206118 4752135.03207455 524460.59922808 4752121.48441329 524462.76368129 4752118.82065748 524468.01337421 4752104.67221324 524473.77987503 4752095.24489475 524531.97094726 4752129.7868488 524589.136922937 4752153.4698959 524583.81754562 4752160.9818325 524580.42775873 4752165.76344444 524579.35679397 4752166.81144273 524573.96933935 4752177.34771206 524567.68288503 4752186.76377965 524564.25332954 4752185.45766417 524547.84265866 4752208.11109973 524542.56950953 4752215.39922435 524520.2547143 4752215.18918926 524491.37958897 4752214.9092838 524486.63205168 4752214.8644278 524483.41103108 4752222.22507327 524477.79691549 4752242.66458331 524477.2840825 4752244.51509624 524473.7147488 4752257.47806916 524471.51295621 4752255.27347585 524469.63155847 4752253.38650537 524463.26952435 4752247.59272424 524459.09626231 4752243.81732635 524454.58030616 4752238.3000686 524451.1338322 4752234.06185176 524450.19389005 4752232.90428236 524446.18149972 4752228.13348305 524439.53425507 4752221.73367315 524436.20351425 4752219.5716147</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></feature:GEOMETRY><feature:PROVINCIA>1</feature:PROVINCIA><feature:MUNICIPIO>18</feature:MUNICIPIO><feature:POLIGONO>6</feature:POLIGONO><feature:PARCELA>90389</feature:PARCELA><feature:RECINTO>33</feature:RECINTO><feature:DN_SURFACE>54946.22359</feature:DN_SURFACE><feature:DN_PERIMET>1055.04051</feature:DN_PERIMET><feature:ELEGIBILID>0</feature:ELEGIBILID><feature:COEF_REGAD>0</feature:COEF_REGAD><feature:COEF_PASTO>100</feature:COEF_PASTO><feature:DN_OID>9974</feature:DN_OID><feature:USO_SIGPAC>TA</feature:USO_SIGPAC><feature:USO_2003>PR</feature:USO_2003><feature:PENDIENTE>101</feature:PENDIENTE></feature:prueba_wfst></wfs:Insert></wfs:Transaction>

This very same request works perfect in the old version.

Any ideas what I'm doing wrong or what could be happening??

David Alda Fernández de Lezea

INFORMAZIO ETA TEKNOLOGIA UNITATEA / UNIDAD DE INFORMACIÓN Y TECNOLOGÍA

Granja Modelo s/n

01192 Arkaute Araba
T 945 003 295 F 945 003 290

dalda@anonymised.com <blocked::mailto:correo_electronico@anonymised.com> | www.hazi.es <blocked::http://www.hazi.es/&gt;

<blocked::http://www.hazi.es/&gt;

********************* LEGE OHARRA ******************* AVISO LEGAL ******************* DISCLAIMER ******************

Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.

Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.

This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

On Mon, Feb 25, 2013 at 3:49 PM, David Alda Fernandez de Lezea <dalda@anonymised.com29…> wrote:

Hi ther again,

I’ve found a strange issue regarding WFS-T in Geoserver 2.2.4. I’ve just upgraded from 2.0.2 version and I’m checking that everything that we’ve got works in this new version. The thing is that I get this error while performing an insert.

The transaction request seems good, but the actual error message is somewhere in the logs, try to find a
stack trace with the “Source was null in trying to create a reprojected feature collection” message

My guess is that there is some GML parsing error, yet the request seems valid…

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Hi Andrea,

You were right there is a "Source was null trying..." error too.

2013-02-25 13:16:03,032 ERROR [org.geoserver.ows] -
org.geoserver.wfs.WFSException: Error performing insert: Source was null in trying to create a reprojected feature collection!
at org.geoserver.wfs.response.TransactionResponse.v_1_1(TransactionResponse.java:195)
at org.geoserver.wfs.response.TransactionResponse.write(TransactionResponse.java:65)
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:912)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:276)
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:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:97)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
2013-02-25 13:19:44,345 INFO [org.geoserver.wfs] -
Request: getServiceInfo

But I'm not making any reprojection. What could be wrong? I've been checking the differences between the two versions and I've noticed that when configuring the WFS Service in version 2.0.2 I have SRS Style for GML 2 -> XML and SRS for GML3 -> URN but in version 2.2.4 those values don't appear in the lists. Whta configuration would be the same in the newer version?

Thanks.

Regards,

David Alda Fernández de Lezea

INFORMAZIO ETA TEKNOLOGIA UNITATEA / UNIDAD DE INFORMACIÓN Y TECNOLOGÍA

Granja Modelo s/n

01192 Arkaute Araba
T 945 003 295 F 945 003 290

dalda@anonymised.com <blocked::mailto:correo_electronico@anonymised.com> | www.hazi.es <blocked::http://www.hazi.es/&gt;

<file://C:\Documents and Settings\u0899dal\Datos de programa\Microsoft\Signatures\HAZI Consultoria_archivos\image001.jpg>

<blocked::http://www.hazi.es/&gt;

********************* LEGE OHARRA ******************* AVISO LEGAL ******************* DISCLAIMER ******************

Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.

Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.

This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

________________________________

De: andrea.aime@anonymised.com [mailto:andrea.aime@anonymised.com] En nombre de Andrea Aime
Enviado el: lunes, 25 de febrero de 2013 17:13
Para: David Alda Fernandez de Lezea
CC: geoserver-users@lists.sourceforge.net
Asunto: Re: [Geoserver-users] Error performing insert GeoServer 2.2.4

On Mon, Feb 25, 2013 at 3:49 PM, David Alda Fernandez de Lezea <dalda@anonymised.com29...> wrote:

  Hi ther again,
  
  I've found a strange issue regarding WFS-T in Geoserver 2.2.4. I've just upgraded from 2.0.2 version and I'm checking that everything that we've got works in this new version. The thing is that I get this error while performing an insert.
  
The transaction request seems good, but the actual error message is somewhere in the logs, try to find a
stack trace with the "Source was null in trying to create a reprojected feature collection" message

My guess is that there is some GML parsing error, yet the request seems valid...

Cheers
Andrea

--

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Tue, Feb 26, 2013 at 8:37 AM, David Alda Fernandez de Lezea <dalda@anonymised.com29…> wrote:

Hi Andrea,

You were right there is a “Source was null trying…” error too.

2013-02-25 13:16:03,032 ERROR [org.geoserver.ows] -

org.geoserver.wfs.WFSException: Error performing insert: Source was null in trying to create a reprojected feature collection!

This is the same error you got in the OWS service exception. Is there any before it?

But I’m not making any reprojection. What could be wrong? I’ve been checking the differences between the two versions and I’ve noticed that when configuring the WFS Service in version 2.0.2 I have SRS Style for GML 2 → XML and SRS for GML3 → URN but in version 2.2.4 those values don’t appear in the lists. Whta configuration would be the same in the newer version?

Err… you should have exactly the same?

In your wfs.xml there should be:

false


<org.geoserver.wfs.WFSInfo_-Version>V_10</org.geoserver.wfs.WFSInfo_-Version>
<org.geoserver.wfs.GMLInfoImpl>
XML
true
</org.geoserver.wfs.GMLInfoImpl>


<org.geoserver.wfs.WFSInfo_-Version>V_11</org.geoserver.wfs.WFSInfo_-Version>
<org.geoserver.wfs.GMLInfoImpl>
URN
false
</org.geoserver.wfs.GMLInfoImpl>


COMPLETE

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Hi,

the full trace error is:

2013-02-26 09:18:51,845 INFO [org.geoserver.wfs] -
Request: getServiceInfo
2013-02-26 09:18:51,845 DEBUG [org.geotools.xml] - schemaLocation found: http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://192.168.3.17/ikt http://192.168.3.17/geoserver/wfs?request=DescribeFeatureType&version=1.1.0&typename=IKT:prueba_wfst
2013-02-26 09:18:51,845 DEBUG [org.geotools.xml] - Found override for http://www.opengis.net/wfs: http://schemas.opengis.net/wfs/1.1.0/wfs.xsd ==> jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/wfs-2.2.4.jar!/org/geoserver/wfs/xml/v1_1_0/wfs.xsd
2013-02-26 09:18:51,876 DEBUG [org.geotools.xml] - Parsing unknown attribute: fid
2013-02-26 09:18:51,876 WARN [org.geotools.feature] - Creating location with null CoordinateReferenceSystem - did you mean to setCRS?
2013-02-26 09:18:51,892 WARN [org.geotools.feature] - Creating GEOMETRY with null CoordinateReferenceSystem - did you mean to setCRS?
2013-02-26 09:18:51,892 ERROR [org.geoserver.wfs] - Transaction failed
org.geoserver.wfs.WFSTransactionException: Error performing insert: Source was null in trying to create a reprojected feature collection!
  at org.geoserver.wfs.InsertElementHandler.execute(InsertElementHandler.java:214)
  at org.geoserver.wfs.Transaction.execute(Transaction.java:319)
  at org.geoserver.wfs.Transaction.transaction(Transaction.java:104)
  at org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:170)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:54)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  at $Proxy25.transaction(Unknown Source)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:772)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272)
  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:923)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
  at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
  at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
  at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
  at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:97)
  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
  at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
  at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
  at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
  at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Source was null in trying to create a reprojected feature collection!
  at org.geoserver.feature.ReprojectingFeatureCollection.<init>(ReprojectingFeatureCollection.java:111)
  at org.geoserver.wfs.InsertElementHandler.execute(InsertElementHandler.java:146)
  ... 95 more
2013-02-26 09:18:51,892 INFO [org.geoserver.wfs] -
Request: transaction
    service = WFS
    version = 1.1.0
    baseUrl = http://192.168.3.17:80/geoserver/
    group[0] = wfs:insert=net.opengis.wfs.impl.InsertElementTypeImpl@anonymised.com.5456... (feature: [SimpleFeatureImpl:prueba_wfst=[SimpleFeatureImpl.Attribute: metaDataProperty<metaDataProperty id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: description<description id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: name<name id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: boundedBy<boundedBy id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: location<location id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: GID<GID id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: PROVINCIA<PROVINCIA id=OpenLayers.Feature.Vector_23812>=1, SimpleFeatureImpl.Attribute: MUNICIPIO<MUNICIPIO id=OpenLayers.Feature.Vector_23812>=18, SimpleFeatureImpl.Attribute: POLIGONO<POLIGONO id=OpenLayers.Feature.Vector_23812>=6, SimpleFeatureImpl.Attribute: PARCELA<PARCELA id=OpenLayers.Feature.Vector_23812>=90389, SimpleFeatureImpl.Attribute: RECINTO<RECINTO id=OpenLayers.Feature.Vector_23812>=33, SimpleFeatureImpl.Attribute: DN_SURFACE<DN_SURFACE id=OpenLayers.Feature.Vector_23812>=54946.22359, SimpleFeatureImpl.Attribute: DN_PERIMET<DN_PERIMET id=OpenLayers.Feature.Vector_23812>=1055.04051, SimpleFeatureImpl.Attribute: ELEGIBILID<ELEGIBILID id=OpenLayers.Feature.Vector_23812>=0, SimpleFeatureImpl.Attribute: COEF_REGAD<COEF_REGAD id=OpenLayers.Feature.Vector_23812>=0, SimpleFeatureImpl.Attribute: COEF_PASTO<COEF_PASTO id=OpenLayers.Feature.Vector_23812>=100, SimpleFeatureImpl.Attribute: PARCELA_AG<PARCELA_AG id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: DN_OID<DN_OID id=OpenLayers.Feature.Vector_23812>=9974, SimpleFeatureImpl.Attribute: FECHA<FECHA id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: USO_SIGPAC<USO_SIGPAC id=OpenLayers.Feature.Vector_23812>=TA, SimpleFeatureImpl.Attribute: USO_2003<USO_2003 id=OpenLayers.Feature.Vector_23812>=PR, SimpleFeatureImpl.Attribute: PENDIENTE<PENDIENTE id=OpenLayers.Feature.Vector_23812>=101, SimpleFeatureImpl.Attribute: GEOMETRY<GEOMETRY id=OpenLayers.Feature.Vector_23812>=POLYGON ((524436.20351425 4752219.5716147, 524438.55867931 4752213.28762235, 524438.97308014 4752212.181416, 524446.32068919 4752194.80115149, 524444.32261992 4752173.79463762, 524456.54206118 4752135.03207455, 524460.59922808 4752121.48441329, 524462.76368129 4752118.82065748, 524468.01337421 4752104.67221324, 524473.77987503 4752095.24489475, 524531.97094726 4752129.7868488, 524589.136922937 4752153.4698959, 524583.81754562 4752160.9818325, 524580.42775873 4752165.76344444, 524579.35679397 4752166.81144273, 524573.96933935 4752177.34771206, 524567.68288503 4752186.76377965, 524564.25332954 4752185.45766417, 524547.84265866 4752208.11109973, 524542.56950953 4752215.39922435, 524520.2547143 4752215.18918926, 524491.37958897 4752214.9092838, 524486.63205168 4752214.8644278, 524483.41103108 4752222.22507327, 524477.79691549 4752242.66458331, 524477.2840825 4752244.51509624, 524473.7147488 4752257.47806916, 524471.51295621 4752255.27347585, 524469.63155847 4752253.38650537, 524463.26952435 4752247.59272424, 524459.09626231 4752243.81732635, 524454.58030616 4752238.3000686, 524451.1338322 4752234.06185176, 524450.19389005 4752232.90428236, 524446.18149972 4752228.13348305, 524439.53425507 4752221.73367315, 524436.20351425 4752219.5716147))]], handle: null, idgen: <unset>, inputFormat: <unset>, srsName: null)
    insert[0]:
        feature[0] = SimpleFeatureImpl:prueba_wfst=[SimpleFeatureImpl.Attribute: metaDataProperty<metaDataProperty id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: description<description id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: name<name id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: boundedBy<boundedBy id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: location<location id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: GID<GID id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: PROVINCIA<PROVINCIA id=OpenLayers.Feature.Vector_23812>=1, SimpleFeatureImpl.Attribute: MUNICIPIO<MUNICIPIO id=OpenLayers.Feature.Vector_23812>=18, SimpleFeatureImpl.Attribute: POLIGONO<POLIGONO id=OpenLayers.Feature.Vector_23812>=6, SimpleFeatureImpl.Attribute: PARCELA<PARCELA id=OpenLayers.Feature.Vector_23812>=90389, SimpleFeatureImpl.Attribute: RECINTO<RECINTO id=OpenLayers.Feature.Vector_23812>=33, SimpleFeatureImpl.Attribute: DN_SURFACE<DN_SURFACE id=OpenLayers.Feature.Vector_23812>=54946.22359, SimpleFeatureImpl.Attribute: DN_PERIMET<DN_PERIMET id=OpenLayers.Feature.Vector_23812>=1055.04051, SimpleFeatureImpl.Attribute: ELEGIBILID<ELEGIBILID id=OpenLayers.Feature.Vector_23812>=0, SimpleFeatureImpl.Attribute: COEF_REGAD<COEF_REGAD id=OpenLayers.Feature.Vector_23812>=0, SimpleFeatureImpl.Attribute: COEF_PASTO<COEF_PASTO id=OpenLayers.Feature.Vector_23812>=100, SimpleFeatureImpl.Attribute: PARCELA_AG<PARCELA_AG id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: DN_OID<DN_OID id=OpenLayers.Feature.Vector_23812>=9974, SimpleFeatureImpl.Attribute: FECHA<FECHA id=OpenLayers.Feature.Vector_23812>=null, SimpleFeatureImpl.Attribute: USO_SIGPAC<USO_SIGPAC id=OpenLayers.Feature.Vector_23812>=TA, SimpleFeatureImpl.Attribute: USO_2003<USO_2003 id=OpenLayers.Feature.Vector_23812>=PR, SimpleFeatureImpl.Attribute: PENDIENTE<PENDIENTE id=OpenLayers.Feature.Vector_23812>=101, SimpleFeatureImpl.Attribute: GEOMETRY<GEOMETRY id=OpenLayers.Feature.Vector_23812>=POLYGON ((524436.20351425 4752219.5716147, 524438.55867931 4752213.28762235, 524438.97308014 4752212.181416, 524446.32068919 4752194.80115149, 524444.32261992 4752173.79463762, 524456.54206118 4752135.03207455, 524460.59922808 4752121.48441329, 524462.76368129 4752118.82065748, 524468.01337421 4752104.67221324, 524473.77987503 4752095.24489475, 524531.97094726 4752129.7868488, 524589.136922937 4752153.4698959, 524583.81754562 4752160.9818325, 524580.42775873 4752165.76344444, 524579.35679397 4752166.81144273, 524573.96933935 4752177.34771206, 524567.68288503 4752186.76377965, 524564.25332954 4752185.45766417, 524547.84265866 4752208.11109973, 524542.56950953 4752215.39922435, 524520.2547143 4752215.18918926, 524491.37958897 4752214.9092838, 524486.63205168 4752214.8644278, 524483.41103108 4752222.22507327, 524477.79691549 4752242.66458331, 524477.2840825 4752244.51509624, 524473.7147488 4752257.47806916, 524471.51295621 4752255.27347585, 524469.63155847 4752253.38650537, 524463.26952435 4752247.59272424, 524459.09626231 4752243.81732635, 524454.58030616 4752238.3000686, 524451.1338322 4752234.06185176, 524450.19389005 4752232.90428236, 524446.18149972 4752228.13348305, 524439.53425507 4752221.73367315, 524436.20351425 4752219.5716147))]
        idgen = GenerateNew
        inputFormat = text/xml; subtype=gml/3.1.1
    releaseAction = ALL
2013-02-26 09:18:51,892 ERROR [org.geoserver.ows] -
org.geoserver.wfs.WFSException: Error performing insert: Source was null in trying to create a reprojected feature collection!
  at org.geoserver.wfs.response.TransactionResponse.v_1_1(TransactionResponse.java:195)
  at org.geoserver.wfs.response.TransactionResponse.write(TransactionResponse.java:65)
  at org.geoserver.ows.Dispatcher.response(Dispatcher.java:912)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:276)
  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:923)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
  at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
  at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
  at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
  at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:97)
  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
  at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
  at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
  at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
  at java.lang.Thread.run(Unknown Source)

In your wfs.xml there should be:

This is what I've got:

- <gml>
- <entry>
  <version>V_10</version>
- <gml>
  <srsNameStyle>XML</srsNameStyle>
  <overrideGMLAttributes>true</overrideGMLAttributes>
  </gml>
  </entry>
- <entry>
  <version>V_20</version>
- <gml>
  <srsNameStyle>URN2</srsNameStyle>
  <overrideGMLAttributes>false</overrideGMLAttributes>
  </gml>
  </entry>
- <entry>
  <version>V_11</version>
- <gml>
  <srsNameStyle>URN</srsNameStyle>
  <overrideGMLAttributes>false</overrideGMLAttributes>
  </gml>
  </entry>
  </gml>

I hope this is a configuration problem in GeoServer, otherwise changing my webapps code right now would be really difficult.

Thanks.

Regards,

David Alda Fernández de Lezea

INFORMAZIO ETA TEKNOLOGIA UNITATEA / UNIDAD DE INFORMACIÓN Y TECNOLOGÍA

Granja Modelo s/n

01192 Arkaute Araba
T 945 003 295 F 945 003 290

dalda@anonymised.com <blocked::mailto:correo_electronico@anonymised.com> | www.hazi.es <blocked::http://www.hazi.es/&gt;

<file://C:\Documents and Settings\u0899dal\Datos de programa\Microsoft\Signatures\HAZI Consultoria_archivos\image001.jpg>

<blocked::http://www.hazi.es/&gt;

********************* LEGE OHARRA ******************* AVISO LEGAL ******************* DISCLAIMER ******************

Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.

Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.

This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

________________________________

De: andrea.aime@anonymised.com [mailto:andrea.aime@anonymised.com] En nombre de Andrea Aime
Enviado el: martes, 26 de febrero de 2013 8:59
Para: David Alda Fernandez de Lezea
CC: geoserver-users@lists.sourceforge.net
Asunto: Re: [Geoserver-users] Error performing insert GeoServer 2.2.4

On Tue, Feb 26, 2013 at 8:37 AM, David Alda Fernandez de Lezea <dalda@anonymised.com29...> wrote:

  Hi Andrea,
  
  You were right there is a "Source was null trying..." error too.
  
  2013-02-25 13:16:03,032 ERROR [org.geoserver.ows] -
  
  org.geoserver.wfs.WFSException: Error performing insert: Source was null in trying to create a reprojected feature collection!
  
This is the same error you got in the OWS service exception. Is there any before it?

  But I'm not making any reprojection. What could be wrong? I've been checking the differences between the two versions and I've noticed that when configuring the WFS Service in version 2.0.2 I have SRS Style for GML 2 -> XML and SRS for GML3 -> URN but in version 2.2.4 those values don't appear in the lists. Whta configuration would be the same in the newer version?
  
Err... you should have exactly the same?

In your wfs.xml there should be:

...
  <verbose>false</verbose>
  <gml>
    <entry>
      <org.geoserver.wfs.WFSInfo_-Version>V_10</org.geoserver.wfs.WFSInfo_-Version>
      <org.geoserver.wfs.GMLInfoImpl>
        <srsNameStyle>XML</srsNameStyle>
        <overrideGMLAttributes>true</overrideGMLAttributes>
      </org.geoserver.wfs.GMLInfoImpl>
    </entry>
    <entry>
      <org.geoserver.wfs.WFSInfo_-Version>V_11</org.geoserver.wfs.WFSInfo_-Version>
      <org.geoserver.wfs.GMLInfoImpl>
        <srsNameStyle>URN</srsNameStyle>
        <overrideGMLAttributes>false</overrideGMLAttributes>
      </org.geoserver.wfs.GMLInfoImpl>
    </entry>
  </gml>
  <serviceLevel>COMPLETE</serviceLevel>
...

Cheers
Andrea

--

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Tue, Feb 26, 2013 at 9:33 AM, David Alda Fernandez de Lezea <dalda@anonymised.com29…> wrote:

Hi,

the full trace error is:

Hum, ok, this is happening because the parsed feature collection does not have a coordinate reference system.
However the feature has a CRS.

Justin, looking at the logs it seems the parser is using the DescribeFatureType output instead of an internal information
source:

2013-02-26 09:18:51,845 DEBUG [org.geotools.xml] - schemaLocation found: http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://192.168.3.17/ikt [http://192.168.3.17/geoserver/wfs?request=DescribeFeatureType&version=1.1.0&typename=IKT:prueba_wfst](http://192.168.3.17/geoserver/wfs?request=DescribeFeatureType&version=1.1.0&typename=IKT:prueba_wfst
2013-02-26)
[2013-02-26](http://192.168.3.17/geoserver/wfs?request=DescribeFeatureType&version=1.1.0&typename=IKT:prueba_wfst
2013-02-26) 09:18:51,845 DEBUG [org.geotools.xml] - Found override for http://www.opengis.net/wfs: http://schemas.opengis.net/wfs/1.1.0/wfs.xsd ==> jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/wfs-2.2.4.jar!/org/geoserver/wfs/xml/v1_1_0/wfs.xsd

and the DFT output by itself does not provide any notion of the coordinate system.
I’m wondering if this might be the cause of the feature collection’s feature type does not have a CRS?

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Hi,

Any news about this issue? If you require further information, please contact me.

Thanks.

Regards,

David Alda Fernández de Lezea

INFORMAZIO ETA TEKNOLOGIA UNITATEA / UNIDAD DE INFORMACIÓN Y TECNOLOGÍA

Granja Modelo s/n

01192 Arkaute Araba
T 945 003 295 F 945 003 290

dalda@anonymised.com <blocked::mailto:correo_electronico@anonymised.com> | www.hazi.es <blocked::http://www.hazi.es/&gt;

<file://C:\Documents and Settings\u0899dal\Datos de programa\Microsoft\Signatures\HAZI Consultoria_archivos\image001.jpg>

<blocked::http://www.hazi.es/&gt;

********************* LEGE OHARRA ******************* AVISO LEGAL ******************* DISCLAIMER ******************

Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.

Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.

This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

________________________________

De: andrea.aime@anonymised.com [mailto:andrea.aime@anonymised.com] En nombre de Andrea Aime
Enviado el: martes, 26 de febrero de 2013 10:29
Para: David Alda Fernandez de Lezea
CC: geoserver-users@lists.sourceforge.net; Justin Deoliveira
Asunto: Re: [Geoserver-users] Error performing insert GeoServer 2.2.4

On Tue, Feb 26, 2013 at 9:33 AM, David Alda Fernandez de Lezea <dalda@anonymised.com29...> wrote:

  Hi,
  
  the full trace error is:
  
Hum, ok, this is happening because the parsed feature collection does not have a coordinate reference system.
However the feature has a CRS.

Justin, looking at the logs it seems the parser is using the DescribeFatureType output instead of an internal information
source:

  2013-02-26 09:18:51,845 DEBUG [org.geotools.xml] - schemaLocation found: http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://192.168.3.17/ikt http://192.168.3.17/geoserver/wfs?request=DescribeFeatureType&version=1.1.0&typename=IKT:prueba_wfst2013-02-26&gt;
  2013-02-26 <http://192.168.3.17/geoserver/wfs?request=DescribeFeatureType&version=1.1.0&typename=IKT:prueba_wfst2013-02-26&gt; 09:18:51,845 DEBUG [org.geotools.xml] - Found override for http://www.opengis.net/wfs: http://schemas.opengis.net/wfs/1.1.0/wfs.xsd ==> jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/wfs-2.2.4.jar!/org/geoserver/wfs/xml/v1_1_0/wfs.xsd
  
and the DFT output by itself does not provide any notion of the coordinate system.
I'm wondering if this might be the cause of the feature collection's feature type does not have a CRS?

Cheers
Andrea

--

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Fri, Mar 1, 2013 at 8:06 AM, David Alda Fernandez de Lezea <dalda@anonymised.com9…> wrote:

Hi,

Any news about this issue? If you require further information, please contact me.

I’d suggest you open a bug report on jira.codehaus.org with all that’s required to reproduce
the issue, such as a database dump, the request, and whatever extra configuration you might
have added in GeoServer.

Out of curiosity, you’re 100% sure that the typename and the namespace URI do match
what you have in the GeoServer configuration?

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Hi,

I'm sure (I suppose) it's the same as I've just imported the data directory from my previous installation. That should be enoguh, isn't it?

This a describe feature type request to the same layer but in GeoServer 2.0.2

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot; xmlns:IKT="http://192.168.3.15/ikt&quot; xmlns:cite="http://www.opengeospatial.net/cite&quot; xmlns:gml="http://www.opengis.net/gml&quot; xmlns:it.geosolutions="http://www.geo-solutions.it" xmlns:nurc="http://www.nurc.nato.int" xmlns:sde="http://geoserver.sf.net" xmlns:sf="http://www.openplans.org/spearfish&quot; xmlns:tiger="http://www.census.gov" xmlns:topp="http://www.openplans.org/topp&quot; elementFormDefault="qualified" targetNamespace="http://192.168.3.15/ikt&quot;&gt;
  <xsd:import namespace="http://www.opengis.net/gml&quot; schemaLocation="http://192.168.3.15:80/geoserver/schemas/gml/2.1.2/feature.xsd&quot;/&gt;
  <xsd:complexType name="prueba_wfstType">
    <xsd:complexContent>
      <xsd:extension base="gml:AbstractFeatureType">
        <xsd:sequence>
          <xsd:element maxOccurs="1" minOccurs="0" name="GID" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="PROVINCIA" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="MUNICIPIO" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="POLIGONO" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="PARCELA" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="RECINTO" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="DN_SURFACE" nillable="true" type="xsd:double"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="DN_PERIMET" nillable="true" type="xsd:double"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="ELEGIBILID" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="COEF_REGAD" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="COEF_PASTO" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="PARCELA_AG" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="DN_OID" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="FECHA" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="USO_SIGPAC" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="USO_2003" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="PENDIENTE" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="GEOMETRY" nillable="true" type="gml:GeometryPropertyType"/>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="prueba_wfst" substitutionGroup="gml:_Feature" type="IKT:prueba_wfstType"/>
</xsd:schema>

And this is the same request but in the migrating-test server

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:IKT="http://192.168.3.17/ikt&quot; xmlns:cite="http://www.opengeospatial.net/cite&quot; xmlns:gml="http://www.opengis.net/gml&quot; xmlns:it.geosolutions="http://www.geo-solutions.it" xmlns:nurc="http://www.nurc.nato.int" xmlns:sde="http://geoserver.sf.net" xmlns:sf="http://www.openplans.org/spearfish&quot; xmlns:tiger="http://www.census.gov" xmlns:topp="http://www.openplans.org/topp&quot; xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot; elementFormDefault="qualified" targetNamespace="http://192.168.3.17/ikt&quot;&gt;
  <xsd:import namespace="http://www.opengis.net/gml&quot; schemaLocation="http://192.168.3.17:80/geoserver/schemas/gml/2.1.2/feature.xsd&quot;/&gt;
  <xsd:complexType name="prueba_wfstType">
    <xsd:complexContent>
      <xsd:extension base="gml:AbstractFeatureType">
        <xsd:sequence>
          <xsd:element maxOccurs="1" minOccurs="1" name="GID" nillable="false" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="PROVINCIA" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="MUNICIPIO" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="POLIGONO" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="PARCELA" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="RECINTO" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="DN_SURFACE" nillable="true" type="xsd:double"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="DN_PERIMET" nillable="true" type="xsd:double"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="ELEGIBILID" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="COEF_REGAD" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="COEF_PASTO" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="PARCELA_AG" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="DN_OID" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="FECHA" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="USO_SIGPAC" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="USO_2003" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="PENDIENTE" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="GEOMETRY" nillable="true" type="gml:GeometryPropertyType"/>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="prueba_wfst" substitutionGroup="gml:_Feature" type="IKT:prueba_wfstType"/>
</xsd:schema>

We've cloned the old server to test the migration progress. In that new server is where I'm doing the migration.
Deleting geometries works fine, I've tested it.

Do you think it could be a BUG?

Thanks.

Regards,

David Alda Fernández de Lezea

INFORMAZIO ETA TEKNOLOGIA UNITATEA / UNIDAD DE INFORMACIÓN Y TECNOLOGÍA

Granja Modelo s/n

01192 Arkaute Araba
T 945 003 295 F 945 003 290

dalda@anonymised.com <blocked::mailto:correo_electronico@anonymised.com> | www.hazi.es <blocked::http://www.hazi.es/&gt;

<file://C:\Documents and Settings\u0899dal\Datos de programa\Microsoft\Signatures\HAZI Consultoria_archivos\image001.jpg>

<blocked::http://www.hazi.es/&gt;

********************* LEGE OHARRA ******************* AVISO LEGAL ******************* DISCLAIMER ******************

Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.

Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.

This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

________________________________

De: andrea.aime@anonymised.com [mailto:andrea.aime@anonymised.com] En nombre de Andrea Aime
Enviado el: viernes, 01 de marzo de 2013 8:33
Para: David Alda Fernandez de Lezea
CC: geoserver-users@lists.sourceforge.net; Justin Deoliveira
Asunto: Re: [Geoserver-users] Error performing insert GeoServer 2.2.4

On Fri, Mar 1, 2013 at 8:06 AM, David Alda Fernandez de Lezea <dalda@anonymised.com9...> wrote:

  Hi,
  
  Any news about this issue? If you require further information, please contact me.
  
I'd suggest you open a bug report on jira.codehaus.org with all that's required to reproduce
the issue, such as a database dump, the request, and whatever extra configuration you might
have added in GeoServer.

Out of curiosity, you're 100% sure that the typename and the namespace URI do match
what you have in the GeoServer configuration?

Cheers
Andrea

--

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Fri, Mar 1, 2013 at 12:34 PM, David Alda Fernandez de Lezea <dalda@anonymised.com29…> wrote:

We’ve cloned the old server to test the migration progress. In that new server is where I’m doing the migration.
Deleting geometries works fine, I’ve tested it.

Do you think it could be a BUG?

Yes, I think so, althought I’m not sure what’s causing it. We have several tests in the build that perform inserts
and they work. We have the official OGC compliance tests for WFS 1.0 and 1.1 running every night,
they also do several inserts, and those work too.

That’s why I asked you to open a bug report on JIRA
with a database dump, request and GeoServer configuration, there must be something specific to your
case that makes it break, I just have no idea what that might be

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Ok. I'll try to gather all the information as soon as possible and let you know.

Thanks.

Regards,

David Alda Fernández de Lezea

INFORMAZIO ETA TEKNOLOGIA UNITATEA / UNIDAD DE INFORMACIÓN Y TECNOLOGÍA

Granja Modelo s/n

01192 Arkaute Araba
T 945 003 295 F 945 003 290

dalda@anonymised.com <blocked::mailto:correo_electronico@anonymised.com> | www.hazi.es <blocked::http://www.hazi.es/&gt;

<file://C:\Documents and Settings\u0899dal\Datos de programa\Microsoft\Signatures\HAZI Consultoria_archivos\image001.jpg>

<blocked::http://www.hazi.es/&gt;

********************* LEGE OHARRA ******************* AVISO LEGAL ******************* DISCLAIMER ******************

Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.

Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.

This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

________________________________

De: andrea.aime@anonymised.com [mailto:andrea.aime@anonymised.com] En nombre de Andrea Aime
Enviado el: viernes, 01 de marzo de 2013 12:38
Para: David Alda Fernandez de Lezea
CC: geoserver-users@lists.sourceforge.net; Justin Deoliveira
Asunto: Re: [Geoserver-users] Error performing insert GeoServer 2.2.4

On Fri, Mar 1, 2013 at 12:34 PM, David Alda Fernandez de Lezea <dalda@anonymised.com29...> wrote:

  We've cloned the old server to test the migration progress. In that new server is where I'm doing the migration.
  Deleting geometries works fine, I've tested it.
  
  Do you think it could be a BUG?
  
Yes, I think so, althought I'm not sure what's causing it. We have several tests in the build that perform inserts
and they work. We have the official OGC compliance tests for WFS 1.0 and 1.1 running every night,
they also do several inserts, and those work too.

That's why I asked you to open a bug report on JIRA
with a database dump, request and GeoServer configuration, there must be something specific to your
case that makes it break, I just have no idea what that might be

Cheers
Andrea

--

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Yes, I think so, althought I'm not sure what's causing it.

I had the same problem. After looking through PostGRES's error logs,
I found that an insert SQL command was failing - it appeared to be
on a sequence.

I went into psql and Granted write permissions on the sequence to
my geoserver user, and then the error went away and everything worked.