Hi,

I've checked that this is only happening in the WMS service, no matter what 
version. The rest of the services respond fine. I've also set the property 
"resource error handling" to "skip misconfigured layers" but without success.

I don't know if this has something to do with the problem as well but I 
increased the number decimal places in the Global settings.

Any ideas?

Agur bero bat,


David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y 
Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren 
Arloa.
da...@hazi.eus | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290 
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   
*******************   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.


-----Mensaje original-----
De: David Alda Fernandez de Lezea [mailto:da...@hazi.eus] 
Enviado el: martes, 24 de noviembre de 2015 7:56
Para: GeoServer Users
Asunto: Re: [Geoserver-users] GeoServer Migration Plan

Hi list,

I found another issue in our migration proccess. I'm trying to connect the new 
GeoServer instance to QGIS but I can't make it woek. It seems that something is 
wrong in the capabilities document

I'm not showing all the content as it's quite long

....
<Layer queryable="1" opaque="0">
        <Name>FORESTAL:ForriskRiesgo1AreaBasimetricaEtrs89</Name>
        <Title>Forrisk - Riesgo 1 Area Basimetrica Etrs89</Title>
        <Abstract>TB_RIESGO_INC_VIENTO_ET89</Abstract>
        <KeywordList/>
        <SRS>EPSG:25830</SRS>
        <LatLonBoundingBox minx="-3.452" miny="42.465" maxx="-1.726" 
maxy="43.455"/>
        <BoundingBox SRS="EPSG:25830" minx="463435.23" miny="4702205.332" 
maxx="603054.68" maxy="4811327.358"/>
        <Style>
          <Name>polygon</Name>
          <Title>Default polygon style</Title>
          <Abstract>A sample style that just draws out a solid gray interior 
with a black 1px outline</Abstract>
          <LegendURL width="20" height="20">
            <Format>image/png</Format>
            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"; 
xlink:type="simple" 
xlink:href="http://192.168.2.200:8080/geoserver/wms?request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=FORESTAL%3AForriskRiesgo1AreaBasimetricaEtrs89"/>
          </LegendURL>
        </Style>
        <Style>
          <Name>forrisk_riesgo1_area_basimetrica</Name>
          <LegendURL width="47" height="40">
            <Format>image/png</Format>
            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"; 
xlink:type="simple" 
xlink:href="http://192.168.2.200:8080/geoserver/wms?request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=FORESTAL%3AForriskRiesgo1AreaBasimetricaEtrs89&amp;style=forrisk_riesgo1_area_basimetrica"/>
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1" opaque="0">
        <Name>FORESTAL:ForriskRiesgo2AlturaRamasEtrs89</Name>
        <Title>Forrisk - Riesgo 2 Altura Ramas Etrs89</Title>
        <Abstract>TB_RIESGO_INC_VIENTO_ET89</Abstract>
        <KeywordList/>
        <SRS>EPSG:25830</SRS>
        <LatLonBoundingBox minx="-3.452" miny="42.465" maxx="-1.726" 
maxy="43.455"/>
        <BoundingBox SRS="EPSG:25830" minx="463435.23" miny="4702205.332" 
maxx="603054.68" maxy="4811327.358"/>
        <Style>
          <Name>polygon</Name>
          <Title>Default polygon style</Title>
          <Abstract>A sample style that just draws out a solid gray interior 
with a black 1px outline</Abstract>
          <LegendURL width="20" height="20">
            <Format>image/png</Format>
            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"; 
xlink:type="simple" 
xlink:href="http://192.168.2.200:8080/geoserver/wms?request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=FORESTAL%3AForriskRiesgo2AlturaRamasEtrs89"/>
          </LegendURL>
        </Style>
        <Style>
          <Name>forrisk_riesgo2_altura_rama</Name>
          <LegendURL width="47" height="40">
            <Format>image/png</Format>
            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"; 
xlink:type="simple" 
xlink:href="http://192.168.2.200:8080/geoserver/wms?request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=FORESTAL%3AForriskRiesgo2AlturaRamasEtrs89&amp;style=forrisk_riesgo2_altura_rama"/>
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1" opaque="0">
        <Name>FORESTAL:ForriskRiesgo2ArbolMedioEtrs89</Name>
        <Title>Forrisk - Riesgo 2 Arbol Medio Etrs89</Title>
        <Abstract>TB_RIESGO_INC_VIENTO_ET89</Abstract>
        <KeywordList/>
        <SRS>EPSG:25830</SRS>
        <LatLonBoundingB<?xml version="1.0" encoding="UTF-8" 
standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM 
"http://192.168.2.200:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
 <ServiceExceptionReport version="1.1.1" >   <ServiceException>
      javax.xml.transform.TransformerException: java.lang.NullPointerException
java.lang.NullPointerException
Details:
org.geoserver.platform.ServiceException: 
javax.xml.transform.TransformerException: java.lang.NullPointerException
        at 
org.geoserver.wms.capabilities.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:116)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:996)
        at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:279)
        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.doGet(FrameworkServlet.java:778)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
        at 
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
        at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
        at 
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
        at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        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:73)
        at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at 
org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at 
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
        at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at 
org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at 
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at 
org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
        at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        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:135)
        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:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
        at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
        at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
        at 
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2522)
        at 
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2511)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Unknown Source)
Caused by: javax.xml.transform.TransformerException: 
java.lang.NullPointerException
        at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown 
Source)
        at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown 
Source)
        at 
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:300)
        at 
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:133)
        at 
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:112)
        at 
org.geoserver.wms.capabilities.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:114)
        ... 91 more
Caused by: java.lang.NullPointerException
        at com.sun.proxy.$Proxy7.hashCode(Unknown Source)
        at 
org.geoserver.catalog.impl.LayerInfoImpl.hashCode(LayerInfoImpl.java:244)
        at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at 
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)
        at com.sun.proxy.$Proxy14.hashCode(Unknown Source)
        at java.util.HashMap.hash(Unknown Source)
        at java.util.HashMap.containsKey(Unknown Source)
        at java.util.HashSet.contains(Unknown Source)
        at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.handleLayerTree(GetCapabilitiesTransformer.java:823)
        at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.handleLayers(GetCapabilitiesTransformer.java:714)
        at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.handleCapability(GetCapabilitiesTransformer.java:462)
        at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.encode(GetCapabilitiesTransformer.java:299)
        at 
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:1026)
        at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(Unknown
 Source)
        ... 97 more

</ServiceException></ServiceExceptionReport>

And the layer featurtype.xml in which it crashes is:

<featureType>
  <id>FeatureTypeInfoImpl-3f30cbbb:14d7ac0dc82:-575a</id>
  <name>ForriskRiesgo2ArbolMedioEtrs89</name>
  <nativeName>TB_RIESGO_INC_VIENTO_ET89</nativeName>
  <namespace>
    <id>NamespaceInfoImpl-2828037a:14d74b05c20:-775b</id>
  </namespace>
  <title>Forrisk - Riesgo 2 Arbol Medio Etrs89</title>
  <abstract>TB_RIESGO_INC_VIENTO_ET89</abstract>
  <nativeCRS class="projected">PROJCS[&quot;UTM Zone 30, (ETRS 89)&quot;, &#xd;
  GEOGCS[&quot;ETRS 89&quot;, &#xd;
    DATUM[&quot;ETRS 89&quot;, &#xd;
      SPHEROID[&quot;GRS 80&quot;, 6378137.0, 298.257222100883]], &#xd;
    PRIMEM[&quot;Greenwich&quot;, 0.0], &#xd;
    UNIT[&quot;degree&quot;, 0.017453292519943295], &#xd;
    AXIS[&quot;Longitude&quot;, EAST], &#xd;
    AXIS[&quot;Latitude&quot;, NORTH]], &#xd;
  PROJECTION[&quot;Transverse_Mercator&quot;], &#xd;
  PARAMETER[&quot;central_meridian&quot;, -3.0], &#xd;
  PARAMETER[&quot;latitude_of_origin&quot;, 0.0], &#xd;
  PARAMETER[&quot;scale_factor&quot;, 0.9996], &#xd;
  PARAMETER[&quot;false_easting&quot;, 500000.0], &#xd;
  PARAMETER[&quot;false_northing&quot;, 0.0], &#xd;
  UNIT[&quot;m&quot;, 1.0], &#xd;
  AXIS[&quot;x&quot;, EAST], &#xd;
  AXIS[&quot;y&quot;, NORTH]]</nativeCRS>
  <srs>EPSG:25830</srs>
  <nativeBoundingBox>
    <minx>463435.23</minx>
    <maxx>603054.68</maxx>
    <miny>4702205.332</miny>
    <maxy>4811327.358</maxy>
  </nativeBoundingBox>
  <latLonBoundingBox>
    <minx>-3.452</minx>
    <maxx>-1.726</maxx>
    <miny>42.465</miny>
    <maxy>43.455</maxy>
    <crs>EPSG:4326</crs>
  </latLonBoundingBox>
  <projectionPolicy>FORCE_DECLARED</projectionPolicy>
  <enabled>true</enabled>
  <metadata>
    <entry key="cachingEnabled">false</entry>
  </metadata>
  <store class="dataStore">
    <id>DataStoreInfoImpl-2828037a:14d74b05c20:-775a</id>
  </store>
  <maxFeatures>0</maxFeatures>
  <numDecimals>0</numDecimals>
  <overridingServiceSRS>false</overridingServiceSRS>
  <skipNumberMatched>false</skipNumberMatched>
  <circularArcPresent>false</circularArcPresent>
</featureType>

Any ideas?

Thanks.

Agur bero bat,


David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y 
Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren 
Arloa.
da...@hazi.eus | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290 
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   
*******************   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.


-----Mensaje original-----
De: David Alda Fernandez de Lezea [mailto:da...@hazi.eus] 
Enviado el: miércoles, 18 de noviembre de 2015 11:32
Para: Andrea Aime
CC: GeoServer Users
Asunto: Re: [Geoserver-users] GeoServer Migration Plan

Hi,

Ticket created:

https://osgeo-org.atlassian.net/browse/GEOS-7317

Thanks Andrea.

Regards,

Agur bero bat,



David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y 
Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren 
Arloa.
da...@hazi.eus | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290 Hazi | Granja Modelo de Arkaute 
s/n | 01192 Arkaute – Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   
*******************   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.a...@gmail.com [mailto:andrea.a...@gmail.com] En nombre de Andrea 
Aime Enviado el: miércoles, 18 de noviembre de 2015 10:59
Para: David Alda Fernandez de Lezea
CC: GeoServer Users
Asunto: Re: [Geoserver-users] GeoServer Migration Plan

Hi David,
nope, no clue as to why you're hitting that class, the XML seems "normal".
But I guess it does not hurt adding it to the whitelist.
Can you open a ticket at https://osgeo-org.atlassian.net/projects/GEOS/summary 
with the stack trace above?

Cheers
Andrea


On Mon, Nov 16, 2015 at 9:19 AM, David Alda Fernandez de Lezea <da...@hazi.eus> 
wrote:
Hi Andrea,

Thanks for your response. Here's what's inside the xml files:

Layer.xml

<layer>
  <name>ForriskAlturaMediaEtrs89</name>
  <id>LayerInfoImpl-3f30cbbb:14d7ae3d4ba:-6323</id>
  <type>VECTOR</type>
  <defaultStyle>
    <id>StyleInfoImpl-4e0b98bf:12475d46fdd:-7fe0</id>
  </defaultStyle>
  <styles class="linked-hash-set">
    <style>
      <id>StyleInfoImpl-38e82ce1:14cd58a4153:-75bf</id>
    </style>
  </styles>
  <resource class="featureType">
    <id>FeatureTypeInfoImpl-3f30cbbb:14d7ae3d4ba:-6324</id>
  </resource>
  <attribution>
    <logoWidth>0</logoWidth>
    <logoHeight>0</logoHeight>
  </attribution>
</layer>


Featuretype.xml

<featureType>
  <id>FeatureTypeInfoImpl-3f30cbbb:14d7ae3d4ba:-6324</id>
  <name>ForriskAlturaMediaEtrs89</name>
  <nativeName>TB_RIESGO_INC_VIENTO_ET89</nativeName>
  <namespace>
    <id>NamespaceInfoImpl-2828037a:14d74b05c20:-775b</id>
  </namespace>
  <title>Forrisk - Altura Media (m)</title>
  <abstract>TB_RIESGO_INC_VIENTO_ET89</abstract>
  <nativeCRS class="projected">PROJCS[&quot;UTM Zone 30, (ETRS 89)&quot;, &#xd;
  GEOGCS[&quot;ETRS 89&quot;, &#xd;
    DATUM[&quot;ETRS 89&quot;, &#xd;
      SPHEROID[&quot;GRS 80&quot;, 6378137.0, 298.257222100883]], &#xd;
    PRIMEM[&quot;Greenwich&quot;, 0.0], &#xd;
    UNIT[&quot;degree&quot;, 0.017453292519943295], &#xd;
    AXIS[&quot;Longitude&quot;, EAST], &#xd;
    AXIS[&quot;Latitude&quot;, NORTH]], &#xd;
  PROJECTION[&quot;Transverse_Mercator&quot;], &#xd;
  PARAMETER[&quot;central_meridian&quot;, -3.0], &#xd;
  PARAMETER[&quot;latitude_of_origin&quot;, 0.0], &#xd;
  PARAMETER[&quot;scale_factor&quot;, 0.9996], &#xd;
  PARAMETER[&quot;false_easting&quot;, 500000.0], &#xd;
  PARAMETER[&quot;false_northing&quot;, 0.0], &#xd;
  UNIT[&quot;m&quot;, 1.0], &#xd;
  AXIS[&quot;x&quot;, EAST], &#xd;
  AXIS[&quot;y&quot;, NORTH]]</nativeCRS>
  <srs>EPSG:25830</srs>
  <nativeBoundingBox>
    <minx>463435.23</minx>
    <maxx>603054.68</maxx>
    <miny>4702205.332</miny>
    <maxy>4811327.358</maxy>
  </nativeBoundingBox>
  <latLonBoundingBox>
    <minx>-3.452</minx>
    <maxx>-1.726</maxx>
    <miny>42.465</miny>
    <maxy>43.455</maxy>
    <crs>EPSG:4326</crs>
  </latLonBoundingBox>
  <projectionPolicy>FORCE_DECLARED</projectionPolicy>
  <enabled>true</enabled>
  <metadata>
    <entry key="cachingEnabled">false</entry>
  </metadata>
  <store class="dataStore">
    <id>DataStoreInfoImpl-2828037a:14d74b05c20:-775a</id>
  </store>
  <maxFeatures>0</maxFeatures>
  <numDecimals>0</numDecimals>
  <overridingServiceSRS>false</overridingServiceSRS>
  <skipNumberMatched>false</skipNumberMatched>
  <circularArcPresent>false</circularArcPresent>
</featureType>


Regards,


Agur bero bat,



David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y 
Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren 
Arloa.
da...@hazi.eus | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290 Hazi | Granja Modelo de Arkaute 
s/n | 01192 Arkaute – Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   
*******************   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.a...@gmail.com [mailto:andrea.a...@gmail.com] En nombre de Andrea 
Aime Enviado el: sábado, 14 de noviembre de 2015 14:01
Para: David Alda Fernandez de Lezea
CC: GeoServer Users
Asunto: Re: [Geoserver-users] GeoServer Migration Plan On Wed, Nov 11, 2015 at 
11:21 AM, David Alda Fernandez de Lezea <da...@hazi.eus> wrote:
11 Nov 11:14:46 WARN [org.geoserver] - Failed to load layer for feature type 
'ForriskAlturaMediaEtrs89'
com.thoughtworks.xstream.converters.ConversionException: Unauthorized class 
found, see logs for more details on how to handle it: 
com.thoughtworks.xstream.mapper.DynamicProxyMapper$DynamicProxy : Unauthorized 
class found, see logs for more details on how to handle it: 
com.thoughtworks.xstream.mapper.DynamicProxyMapper$DynamicProxy

This one is a side effect of our hardening against remote execution attacks, 
which allowed people with access to the REST api (admins) to launch a random 
executable on the machine running GeoServer.
We basically had to provide a white-list of files that can be de-serialized 
from XML.

This one, com.thoughtworks.xstream.mapper.DynamicProxyMapper$DynamicProxy, is 
new and unexpected.
Can you share what's in the ForriskAlturaMediaEtrs89 configuration files? It 
will be in a path like:

<geoserverDataDir>/workspaces/<theLayerWorkspace>/<theLayerStore>/ForriskAlturaMediaEtrs89/*.xml

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
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

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
 
The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

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




--
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
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

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
 
The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

-------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to