[Geoserver-users] error during upgrade from 2.2.4 to 2.4

during the upgrade of geoserver from version 2.2.4 to 2.4 I encountered an error only when I click on preview of my existing layers.
Workspace and datastore seems to be ok.
I encountered the same error also upgrading to version 2.4.4 and 2.4.3
The only version that upgraded correctly is 2.3

Please let mi know.
Many thanks

Mauro

The error is the following:

2014-02-21 13:19:25,694 ERROR [wicket.RequestCycle] - Can’t instantiate page using constructor public org.geoserver.web.demo.MapPreviewPage()
org.apache.wicket.WicketRuntimeException: Can’t instantiate page using constructor public org.geoserver.web.demo.MapPreviewPage()
at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
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:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
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:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
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.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
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.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:115)
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.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
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.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52)
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:134)
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:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:192)
… 103 more
Caused by: java.lang.NullPointerException
at org.geoserver.ows.LocalWorkspaceCatalogFilter.hideResource(LocalWorkspaceCatalogFilter.java:53)
at org.geoserver.security.CatalogFilterAccessManager.hideResource(CatalogFilterAccessManager.java:95)
at org.geoserver.security.CatalogFilterAccessManager.getAccessLimits(CatalogFilterAccessManager.java:49)
at org.geoserver.security.SecureCatalogImpl.buildWrapperPolicy(SecureCatalogImpl.java:793)
at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:584)
at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:478)
at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:631)
at org.geoserver.security.SecureCatalogImpl.filterGroups(SecureCatalogImpl.java:946)
at org.geoserver.security.SecureCatalogImpl.getLayerGroups(SecureCatalogImpl.java:310)
at org.geoserver.catalog.impl.AbstractFilteredCatalog.getLayerGroups(AbstractFilteredCatalog.java:248)
at org.geoserver.catalog.impl.AbstractCatalogDecorator.getLayerGroups(AbstractCatalogDecorator.java:456)
at org.geoserver.catalog.impl.LocalWorkspaceCatalog.getLayerGroups(LocalWorkspaceCatalog.java:197)
at org.geoserver.web.demo.PreviewLayerProvider.getItems(PreviewLayerProvider.java:69)
at org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:236)
at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:562)
at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.(GeoServerTablePanel.java:555)
at org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:219)
at org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:98)
at org.geoserver.web.demo.MapPreviewPage$1.(MapPreviewPage.java:63)
at org.geoserver.web.demo.MapPreviewPage.(MapPreviewPage.java:63)
… 108 more

Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

Hi Mauro,

···

2014-02-21 13:20 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

during the upgrade of geoserver from version 2.2.4 to 2.4 I encountered an error only when I click on preview of my existing layers.
Workspace and datastore seems to be ok.
I encountered the same error also upgrading to version 2.4.4 and 2.4.3
The only version that upgraded correctly is 2.3

Should be identical to this: https://jira.codehaus.org/browse/GEOS-6320

Usually is some layergroup misconfigured (missing layers or styles).

The bug should be fixed on master, but not on 2.4.x

I suggest you to investigate on layergroups and fix/remove the offending ones.

Mauro

Hi Mauro,

I have not any layersgroups in my original geoserver data dir.
It is strange that I lost some piece because I copied the entire data dir from the previous release and then I started the new geoserver with that one.

Greetings
Mauro

···

2014-02-21 14:12 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 13:20 GMT+01:00 mbagazzi@anonymised.com. <maurobagazzilavoro@anonymised.com>:

during the upgrade of geoserver from version 2.2.4 to 2.4 I encountered an error only when I click on preview of my existing layers.
Workspace and datastore seems to be ok.
I encountered the same error also upgrading to version 2.4.4 and 2.4.3
The only version that upgraded correctly is 2.3

Should be identical to this: https://jira.codehaus.org/browse/GEOS-6320

Usually is some layergroup misconfigured (missing layers or styles).

The bug should be fixed on master, but not on 2.4.x

I suggest you to investigate on layergroups and fix/remove the offending ones.

Mauro

Mauro,

also when I click on “Layer Groups” I receive a similar error:
org.apache.wicket.WicketRuntimeException: Can’t instantiate page using constructor public org.geoserver.web.data.layergroup.LayerGroupPage() at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)

This is strange however because I have not any layer groups in the geoserver data dir

Thanks

Mauro

···

2014-02-21 14:12 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 13:20 GMT+01:00 mbagazzi@anonymised.com. <maurobagazzilavoro@anonymised.com>:

during the upgrade of geoserver from version 2.2.4 to 2.4 I encountered an error only when I click on preview of my existing layers.
Workspace and datastore seems to be ok.
I encountered the same error also upgrading to version 2.4.4 and 2.4.3
The only version that upgraded correctly is 2.3

Should be identical to this: https://jira.codehaus.org/browse/GEOS-6320

Usually is some layergroup misconfigured (missing layers or styles).

The bug should be fixed on master, but not on 2.4.x

I suggest you to investigate on layergroups and fix/remove the offending ones.

Mauro

Hi Mauro,
if it’s not so big, can you share a copy of your data_dir (the workspaces subfolder is enough)?

Thanks
Mauro

···

2014-02-21 14:21 GMT+01:00 mbagazzi@…5407… <maurobagazzilavoro@anonymised.com>:

Hi Mauro,

I have not any layersgroups in my original geoserver data dir.
It is strange that I lost some piece because I copied the entire data dir from the previous release and then I started the new geoserver with that one.

Greetings
Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:12 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 13:20 GMT+01:00 mbagazzi@anonymised.com. <maurobagazzilavoro@anonymised.com>:

during the upgrade of geoserver from version 2.2.4 to 2.4 I encountered an error only when I click on preview of my existing layers.
Workspace and datastore seems to be ok.
I encountered the same error also upgrading to version 2.4.4 and 2.4.3
The only version that upgraded correctly is 2.3

Should be identical to this: https://jira.codehaus.org/browse/GEOS-6320

Usually is some layergroup misconfigured (missing layers or styles).

The bug should be fixed on master, but not on 2.4.x

I suggest you to investigate on layergroups and fix/remove the offending ones.

Mauro

of course.
I attached my workspace part of geoserver data dir.
Mauro

workspace.tar.gz (36.4 KB)

···

2014-02-21 14:25 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,
if it’s not so big, can you share a copy of your data_dir (the workspaces subfolder is enough)?

Thanks
Mauro

Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 14:21 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

Hi Mauro,

I have not any layersgroups in my original geoserver data dir.
It is strange that I lost some piece because I copied the entire data dir from the previous release and then I started the new geoserver with that one.

Greetings
Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:12 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 13:20 GMT+01:00 mbagazzi@anonymised.com. <maurobagazzilavoro@anonymised.com>:

during the upgrade of geoserver from version 2.2.4 to 2.4 I encountered an error only when I click on preview of my existing layers.
Workspace and datastore seems to be ok.
I encountered the same error also upgrading to version 2.4.4 and 2.4.3
The only version that upgraded correctly is 2.3

Should be identical to this: https://jira.codehaus.org/browse/GEOS-6320

Usually is some layergroup misconfigured (missing layers or styles).

The bug should be fixed on master, but not on 2.4.x

I suggest you to investigate on layergroups and fix/remove the offending ones.

Mauro

Hi Mauro,

Can you also send the styles and layergroups folders in the root folder of the data_dir?

···

2014-02-21 14:30 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

of course.
I attached my workspace part of geoserver data dir.
Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:25 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,
if it’s not so big, can you share a copy of your data_dir (the workspaces subfolder is enough)?

Thanks
Mauro

Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 14:21 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

Hi Mauro,

I have not any layersgroups in my original geoserver data dir.
It is strange that I lost some piece because I copied the entire data dir from the previous release and then I started the new geoserver with that one.

Greetings
Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:12 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 13:20 GMT+01:00 mbagazzi@anonymised.com. <maurobagazzilavoro@anonymised.com>:

during the upgrade of geoserver from version 2.2.4 to 2.4 I encountered an error only when I click on preview of my existing layers.
Workspace and datastore seems to be ok.
I encountered the same error also upgrading to version 2.4.4 and 2.4.3
The only version that upgraded correctly is 2.3

Should be identical to this: https://jira.codehaus.org/browse/GEOS-6320

Usually is some layergroup misconfigured (missing layers or styles).

The bug should be fixed on master, but not on 2.4.x

I suggest you to investigate on layergroups and fix/remove the offending ones.

Mauro

in attachment you can find layersgroups and styles dirs.

Mauro

lg_styles.tar.gz (234 KB)

···

2014-02-21 14:37 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,

Can you also send the styles and layergroups folders in the root folder of the data_dir?

Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 14:30 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

of course.
I attached my workspace part of geoserver data dir.
Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:25 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,
if it’s not so big, can you share a copy of your data_dir (the workspaces subfolder is enough)?

Thanks
Mauro

Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 14:21 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

Hi Mauro,

I have not any layersgroups in my original geoserver data dir.
It is strange that I lost some piece because I copied the entire data dir from the previous release and then I started the new geoserver with that one.

Greetings
Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:12 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 13:20 GMT+01:00 mbagazzi@anonymised.com. <maurobagazzilavoro@anonymised.com>:

during the upgrade of geoserver from version 2.2.4 to 2.4 I encountered an error only when I click on preview of my existing layers.
Workspace and datastore seems to be ok.
I encountered the same error also upgrading to version 2.4.4 and 2.4.3
The only version that upgraded correctly is 2.3

Should be identical to this: https://jira.codehaus.org/browse/GEOS-6320

Usually is some layergroup misconfigured (missing layers or styles).

The bug should be fixed on master, but not on 2.4.x

I suggest you to investigate on layergroups and fix/remove the offending ones.

Mauro

Hi Matt,
found!

The default layergroups are corrupted.
Just remove all the xml files from the layergroups folder, restart Geoserver and you should be fine.

Mauro

···

2014-02-21 14:41 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

in attachment you can find layersgroups and styles dirs.

Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:37 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com.>:

Hi Mauro,

Can you also send the styles and layergroups folders in the root folder of the data_dir?

Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 14:30 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

of course.
I attached my workspace part of geoserver data dir.
Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:25 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,
if it’s not so big, can you share a copy of your data_dir (the workspaces subfolder is enough)?

Thanks
Mauro

Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 14:21 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

Hi Mauro,

I have not any layersgroups in my original geoserver data dir.
It is strange that I lost some piece because I copied the entire data dir from the previous release and then I started the new geoserver with that one.

Greetings
Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:12 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 13:20 GMT+01:00 mbagazzi@anonymised.com. <maurobagazzilavoro@anonymised.com>:

during the upgrade of geoserver from version 2.2.4 to 2.4 I encountered an error only when I click on preview of my existing layers.
Workspace and datastore seems to be ok.
I encountered the same error also upgrading to version 2.4.4 and 2.4.3
The only version that upgraded correctly is 2.3

Should be identical to this: https://jira.codehaus.org/browse/GEOS-6320

Usually is some layergroup misconfigured (missing layers or styles).

The bug should be fixed on master, but not on 2.4.x

I suggest you to investigate on layergroups and fix/remove the offending ones.

Mauro

Hi Mauro,

that’s it.
Perfect, once I deleted the files in layergroups dir Geoserver work correctly.
Many thanks

Mauro

···

2014-02-21 14:54 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com.>:

Hi Matt,
found!

The default layergroups are corrupted.
Just remove all the xml files from the layergroups folder, restart Geoserver and you should be fine.

Mauro

Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 14:41 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

in attachment you can find layersgroups and styles dirs.

Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:37 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com.>:

Hi Mauro,

Can you also send the styles and layergroups folders in the root folder of the data_dir?

Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 14:30 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

of course.
I attached my workspace part of geoserver data dir.
Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:25 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,
if it’s not so big, can you share a copy of your data_dir (the workspaces subfolder is enough)?

Thanks
Mauro

Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 14:21 GMT+01:00 mbagazzi@anonymised.com <maurobagazzilavoro@anonymised.com>:

Hi Mauro,

I have not any layersgroups in my original geoserver data dir.
It is strange that I lost some piece because I copied the entire data dir from the previous release and then I started the new geoserver with that one.

Greetings
Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


2014-02-21 14:12 GMT+01:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Mauro,

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi

2014-02-21 13:20 GMT+01:00 mbagazzi@anonymised.com. <maurobagazzilavoro@anonymised.com>:

during the upgrade of geoserver from version 2.2.4 to 2.4 I encountered an error only when I click on preview of my existing layers.
Workspace and datastore seems to be ok.
I encountered the same error also upgrading to version 2.4.4 and 2.4.3
The only version that upgraded correctly is 2.3

Should be identical to this: https://jira.codehaus.org/browse/GEOS-6320

Usually is some layergroup misconfigured (missing layers or styles).

The bug should be fixed on master, but not on 2.4.x

I suggest you to investigate on layergroups and fix/remove the offending ones.

Mauro