[Geoserver-users] web admin interface broken in geoserver

Hi list,

I have some issues with the web administration interface when you use geoserver 2.6.x.

When I want to view the layer preview page, I get the following exception:

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)

Similar exception for the layer groups page:

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)

at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)

When I want to remove a layer from the layers page, it fails with the following error. This same error is shown when I try to remove a style from the styles page.

java.lang.NullPointerException

at org.geoserver.ows.LocalWorkspaceCatalogFilter.hideResource(LocalWorkspaceCatalogFilter.java:62)

at org.geoserver.security.CatalogFilterAccessManager.hideResource(CatalogFilterAccessManager.java:99)

at org.geoserver.security.CatalogFilterAccessManager.getAccessLimits(CatalogFilterAccessManager.java:53)

I noticed the same behavior in all geoserver 2.6.x releases. I assume it’s unlikely to be a bug which nobody else has reported yet, so I’ll probably have an issue with the data directory. Any pointers to look for? Because it makes the web admin interface almost unusable. I just tested with geoserver 2.5.5 and got the same errors.

Kind regards,

Roel De Nijs

Senior Java Developer

Roel,
we first need to see the full stack traces, in java ones the interesting part is always towards the end,
and the full thing is useful so… don’t cut them :slight_smile:

Cheers
Andrea

···

On Mon, Feb 23, 2015 at 12:24 PM, Roel De Nijs <roel.denijs@anonymised.com> wrote:

Hi list,

I have some issues with the web administration interface when you use geoserver 2.6.x.

When I want to view the layer preview page, I get the following exception:

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)

Similar exception for the layer groups page:

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)

at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)

When I want to remove a layer from the layers page, it fails with the following error. This same error is shown when I try to remove a style from the styles page.

java.lang.NullPointerException

at org.geoserver.ows.LocalWorkspaceCatalogFilter.hideResource(LocalWorkspaceCatalogFilter.java:62)

at org.geoserver.security.CatalogFilterAccessManager.hideResource(CatalogFilterAccessManager.java:99)

at org.geoserver.security.CatalogFilterAccessManager.getAccessLimits(CatalogFilterAccessManager.java:53)

I noticed the same behavior in all geoserver 2.6.x releases. I assume it’s unlikely to be a bug which nobody else has reported yet, so I’ll probably have an issue with the data directory. Any pointers to look for? Because it makes the web admin interface almost unusable. I just tested with geoserver 2.5.5 and got the same errors.

Kind regards,

Roel De Nijs

Senior Java Developer

Congres publieke ruimte


Volg Aquafin op Facebook | Twitter | YouTube | LinkedIN

Disclaimer: zie www.aquafin.be P Denk aan het milieu. Druk deze mail niet onnodig af.


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==

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


That’s not a problem. Just executed the 3 scenarios which causes an exception and here are the stack traces from geoserver logs. First the layer preview page, then layer group page and finally (with the shortest stack trace ever J) deleting a layer:

2015-02-23 12:47:48,320 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:620)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

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:620)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

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.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)

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.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)

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.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)

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.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:76)

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.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)

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:501)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

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: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:192)

… 105 more

Caused by: java.lang.NullPointerException

2015-02-23 12:48:50,581 ERROR [wicket.RequestCycle] - Can’t instantiate page using constructor public org.geoserver.web.data.layergroup.LayerGroupPage()

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)

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:620)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

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:620)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

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.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)

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.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)

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.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)

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.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:76)

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.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)

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:501)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)

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: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:192)

… 105 more

Caused by: java.lang.NullPointerException

2015-02-23 12:49:03,108 ERROR [wicket.RequestCycle] -

java.lang.NullPointerException

Verzonden: maandag 23 februari 2015 12:40

~WRD000.jpg

···

Roel,

we first need to see the full stack traces, in java ones the interesting part is always towards the end,

and the full thing is useful so… don’t cut them :slight_smile:

Cheers

Andrea

On Mon, Feb 23, 2015 at 12:24 PM, Roel De Nijs <roel.denijs@…5173…> wrote:

Hi list,

I have some issues with the web administration interface when you use geoserver 2.6.x.

When I want to view the layer preview page, I get the following exception:

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)

Similar exception for the layer groups page:

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)

at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)

When I want to remove a layer from the layers page, it fails with the following error. This same error is shown when I try to remove a style from the styles page.

java.lang.NullPointerException

at org.geoserver.ows.LocalWorkspaceCatalogFilter.hideResource(LocalWorkspaceCatalogFilter.java:62)

at org.geoserver.security.CatalogFilterAccessManager.hideResource(CatalogFilterAccessManager.java:99)

at org.geoserver.security.CatalogFilterAccessManager.getAccessLimits(CatalogFilterAccessManager.java:53)

I noticed the same behavior in all geoserver 2.6.x releases. I assume it’s unlikely to be a bug which nobody else has reported yet, so I’ll probably have an issue with the data directory. Any pointers to look for? Because it makes the web admin interface almost unusable. I just tested with geoserver 2.5.5 and got the same errors.

Kind regards,

Roel De Nijs

Senior Java Developer

Afbeelding verwijderd door afzender. Congres publieke ruimte


Volg Aquafin op Facebook | Twitter | YouTube | LinkedIN

Disclaimer: zie www.aquafin.be P Denk aan het milieu. Druk deze mail niet onnodig af.


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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.


Hi Roel,

if I remember correct I had the same problem upgrading to 2.6
(and the wicket stacktraces are not very helpfull)

by 'merging/overwriting' my external data directory with the 2.6 data
directory I managed to apparently get stuff back which were
needed/changed(?) in wicket/templates. (maybe vars defined in compiled
jsp pages or so??)
But I lost my 'default polygon/point styles' because of this copy for
example, giving problems with layers which used those.

I lost some confidence in the 'upgrading'-scenario's of Geoserver
because of this. IF working with a external data directory, things
should not brake when you upgrade. I can imagine that there is some new
stuff needed (templates, variables whatever), but it would be nice if
you can do an 'easy' upgrade of your external data dir then.

( but maybe I misread some docs... :slight_smile: )

Regards,

Richard Duivenvoorde

On 23-02-15 12:52, Roel De Nijs wrote:

That’s not a problem. Just executed the 3 scenarios which causes an
exception and here are the stack traces from geoserver logs. First the
layer preview page, then layer group page and finally (with the shortest
stack trace ever J) deleting a layer:

2015-02-23 12:47:48,320 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:620)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

            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:620)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

            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.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)

            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.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)

            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.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)

            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.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:76)

            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.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)

            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:501)

            at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

            at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

            at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

            at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

            at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)

            at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

            at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

            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: java.lang.reflect.InvocationTargetException

            at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

            at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

            at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

            at java.lang.reflect.Constructor.newInstance(Unknown Source)

            at
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:192)

            ... 105 more

Caused by: java.lang.NullPointerException

2015-02-23 12:48:50,581 ERROR [wicket.RequestCycle] - Can't instantiate
page using constructor public
org.geoserver.web.data.layergroup.LayerGroupPage()

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)

            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:620)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

            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:620)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

            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.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)

            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.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)

            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.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)

            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.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:76)

            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.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)

            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:501)

            at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

            at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

            at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

            at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

            at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)

            at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

            at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)

            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: java.lang.reflect.InvocationTargetException

            at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

            at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

            at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

            at java.lang.reflect.Constructor.newInstance(Unknown Source)

            at
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:192)

            ... 105 more

Caused by: java.lang.NullPointerException

2015-02-23 12:49:03,108 ERROR [wicket.RequestCycle] -

java.lang.NullPointerException

*Van:*andrea.aime@anonymised.com [mailto:andrea.aime@anonymised.com] *Namens
*Andrea Aime
*Verzonden:* maandag 23 februari 2015 12:40
*Aan:* Roel De Nijs
*CC:* geoserver-users@lists.sourceforge.net
*Onderwerp:* Re: [Geoserver-users] web admin interface broken in geoserver

Roel,

we first need to see the full stack traces, in java ones the interesting
part is always towards the end,

and the full thing is useful so... don't cut them :slight_smile:

Cheers

Andrea

On Mon, Feb 23, 2015 at 12:24 PM, Roel De Nijs <roel.denijs@anonymised.com
<mailto:roel.denijs@anonymised.com>> wrote:

    Hi list,

    I have some issues with the web administration interface when you
    use geoserver 2.6.x.

    When I want to view the layer preview page, I get the following
    exception:

    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)

    Similar exception for the layer groups page:

    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)

            at
    org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)

    When I want to remove a layer from the layers page, it fails with
    the following error. This same error is shown when I try to remove a
    style from the styles page.

    java.lang.NullPointerException

            at
    org.geoserver.ows.LocalWorkspaceCatalogFilter.hideResource(LocalWorkspaceCatalogFilter.java:62)

            at
    org.geoserver.security.CatalogFilterAccessManager.hideResource(CatalogFilterAccessManager.java:99)

            at
    org.geoserver.security.CatalogFilterAccessManager.getAccessLimits(CatalogFilterAccessManager.java:53)

    I noticed the same behavior in all geoserver 2.6.x releases. I
    assume it’s unlikely to be a bug which nobody else has reported yet,
    so I’ll probably have an issue with the data directory. Any pointers
    to look for? Because it makes the web admin interface almost
    unusable. I just tested with geoserver 2.5.5 and got the same errors.

    Kind regards,

    Roel De Nijs

    Senior Java Developer

    Afbeelding verwijderd door afzender. Congres publieke ruimte
    <http://www.congrespubliekeruimte.be>

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

    /Volg Aquafin op Facebook <https://www.facebook.com/AquafinNV&gt; |
    Twitter <https://twitter.com/aquafinnv&gt; | YouTube
    <http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee&gt;
    | LinkedIN <http://www.linkedin.com/company/aquafin/products&gt; /

    Disclaimer: zie www.aquafin.be <http://www.aquafin.be> PDenk aan
    het milieu. Druk deze mail niet onnodig af.

    ------------------------------------------------------------------------------
    Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
    from Actuate! Instantly Supercharge Your Business Reports and Dashboards
    with Interactivity, Sharing, Native Excel Exports, App Integration &
    more
    Get technology previously reserved for billion-dollar corporations, FREE
    http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
    _______________________________________________
    Geoserver-users mailing list
    Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users

--

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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.

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

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Mon, Feb 23, 2015 at 1:18 PM, Richard Duivenvoorde <rdmailings@anonymised.com.>
wrote:

Hi Roel,

if I remember correct I had the same problem upgrading to 2.6
(and the wicket stacktraces are not very helpfull)

by 'merging/overwriting' my external data directory with the 2.6 data
directory I managed to apparently get stuff back which were
needed/changed(?) in wicket/templates. (maybe vars defined in compiled
jsp pages or so??)
But I lost my 'default polygon/point styles' because of this copy for
example, giving problems with layers which used those.

I lost some confidence in the 'upgrading'-scenario's of Geoserver
because of this. IF working with a external data directory, things
should not brake when you upgrade. I can imagine that there is some new
stuff needed (templates, variables whatever), but it would be nice if
you can do an 'easy' upgrade of your external data dir then.

GeoServer upgrades are indeed meant to be uneventful, and all the tests
we run in GeoServer are actually running against older versions of data
directory
syntaxes (we just never needed to upgrade them to the current content of
the xml files.).

However, if people do not provide reproducible ways to trigger the problems,
there is nothing we can do to fix them

Personally I haven't encountered problems in normal project activity

Cheers
Andrea

--

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

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

After Richard’s reply I decided to start from scratch using a fresh data directory from the geoserver 2.6.2 war. Deleted all demo workspaces and copied our workspaces from the old data directory. Restarted geoserver and all previously mentioned problems have vanished. I can preview layers again and delete layers. Yay!

Thanks guys for the help and putting me in the right direction!

Verzonden: maandag 23 februari 2015 14:03

···

On Mon, Feb 23, 2015 at 1:18 PM, Richard Duivenvoorde <rdmailings@…5924…> wrote:

Hi Roel,

if I remember correct I had the same problem upgrading to 2.6
(and the wicket stacktraces are not very helpfull)

by ‘merging/overwriting’ my external data directory with the 2.6 data
directory I managed to apparently get stuff back which were
needed/changed(?) in wicket/templates. (maybe vars defined in compiled
jsp pages or so??)
But I lost my ‘default polygon/point styles’ because of this copy for
example, giving problems with layers which used those.

I lost some confidence in the ‘upgrading’-scenario’s of Geoserver
because of this. IF working with a external data directory, things
should not brake when you upgrade. I can imagine that there is some new
stuff needed (templates, variables whatever), but it would be nice if
you can do an ‘easy’ upgrade of your external data dir then.

GeoServer upgrades are indeed meant to be uneventful, and all the tests

we run in GeoServer are actually running against older versions of data directory

syntaxes (we just never needed to upgrade them to the current content of

the xml files.).

However, if people do not provide reproducible ways to trigger the problems,

there is nothing we can do to fix them

Personally I haven’t encountered problems in normal project activity

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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.


Fellow countrymen: I agree with Andrea: throughout the years I made many GeoServer 2.x upgrades up to recent 2.6.2 without issues, using the same,separate GS data dir, e.g. specified using an env var in /etc/default/tomcat on Ubuntu.

What could cause problems though are various kinds of temporary files: to begin with caching/cookies in your browser possibly causing Wicket errors. Shift-reload may already help here. Plus possibly server container temp files like under the Tomcat work dir. In case of any problems, cleaning temporaries is a first action. Caching is a blessing and a curse ;-).

best,

Just

On 24-02-15 14:22, Roel De Nijs wrote:

After Richard’s reply I decided to start from scratch using a fresh data
directory from the geoserver 2.6.2 war. Deleted all demo workspaces and
copied our workspaces from the old data directory. Restarted geoserver
and all previously mentioned problems have vanished. I can preview
layers again and delete layers. Yay!

Thanks guys for the help and putting me in the right direction!

*Van:*Andrea Aime [mailto:andrea.aime@anonymised.com]
*Verzonden:* maandag 23 februari 2015 14:03
*Aan:* Richard Duivenvoorde
*CC:* GeoServer Mailing List List
*Onderwerp:* Re: [Geoserver-users] web admin interface broken in geoserver

On Mon, Feb 23, 2015 at 1:18 PM, Richard Duivenvoorde
<rdmailings@anonymised.com <mailto:rdmailings@anonymised.com>> wrote:

    Hi Roel,

    if I remember correct I had the same problem upgrading to 2.6
    (and the wicket stacktraces are not very helpfull)

    by 'merging/overwriting' my external data directory with the 2.6 data
    directory I managed to apparently get stuff back which were
    needed/changed(?) in wicket/templates. (maybe vars defined in compiled
    jsp pages or so??)
    But I lost my 'default polygon/point styles' because of this copy for
    example, giving problems with layers which used those.

    I lost some confidence in the 'upgrading'-scenario's of Geoserver
    because of this. IF working with a external data directory, things
    should not brake when you upgrade. I can imagine that there is some new
    stuff needed (templates, variables whatever), but it would be nice if
    you can do an 'easy' upgrade of your external data dir then.

GeoServer upgrades are indeed meant to be uneventful, and all the tests

we run in GeoServer are actually running against older versions of data
directory

syntaxes (we just never needed to upgrade them to the current content of

the xml files.).

However, if people do not provide reproducible ways to trigger the problems,

there is nothing we can do to fix them

Personally I haven't encountered problems in normal project activity

Cheers

Andrea

--

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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.

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

Congres publieke ruimte <http://www.congrespubliekeruimte.be>
------------------------------------------------------------------------

/Volg Aquafin op Facebook <https://www.facebook.com/AquafinNV&gt; | Twitter
<https://twitter.com/aquafinnv&gt; | YouTube
<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee&gt; |
LinkedIN <http://www.linkedin.com/company/aquafin/products&gt; /

Disclaimer: zie www.aquafin.be <http://www.aquafin.be> P Denk aan het
milieu. Druk deze mail niet onnodig af.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

I recently turned into a noob regarding geoserver jboss. I managed to
get geoserver running on Jboss and started adding layers
enthousiastically. Then I stopped and restarted JBoss. And then the
data_dir got reset as that is what JBoss does...

So, when you deploy on JBoss ALWAYS use an external data_dir.

(from the person who found out the hard way :wink:

2015-02-26 10:29 GMT+01:00 Just van den Broecke <just@anonymised.com>:

Fellow countrymen: I agree with Andrea: throughout the years I made many
GeoServer 2.x upgrades up to recent 2.6.2 without issues, using the
same,separate GS data dir, e.g. specified using an env var in
/etc/default/tomcat on Ubuntu.

What could cause problems though are various kinds of temporary files:
to begin with caching/cookies in your browser possibly causing Wicket
errors. Shift-reload may already help here. Plus possibly server
container temp files like under the Tomcat work dir. In case of any
problems, cleaning temporaries is a first action. Caching is a blessing
and a curse ;-).

best,

Just

On 24-02-15 14:22, Roel De Nijs wrote:

After Richard’s reply I decided to start from scratch using a fresh data
directory from the geoserver 2.6.2 war. Deleted all demo workspaces and
copied our workspaces from the old data directory. Restarted geoserver
and all previously mentioned problems have vanished. I can preview
layers again and delete layers. Yay!

Thanks guys for the help and putting me in the right direction!

*Van:*Andrea Aime [mailto:andrea.aime@anonymised.com]
*Verzonden:* maandag 23 februari 2015 14:03
*Aan:* Richard Duivenvoorde
*CC:* GeoServer Mailing List List
*Onderwerp:* Re: [Geoserver-users] web admin interface broken in geoserver

On Mon, Feb 23, 2015 at 1:18 PM, Richard Duivenvoorde
<rdmailings@anonymised.com <mailto:rdmailings@anonymised.com>> wrote:

    Hi Roel,

    if I remember correct I had the same problem upgrading to 2.6
    (and the wicket stacktraces are not very helpfull)

    by 'merging/overwriting' my external data directory with the 2.6 data
    directory I managed to apparently get stuff back which were
    needed/changed(?) in wicket/templates. (maybe vars defined in compiled
    jsp pages or so??)
    But I lost my 'default polygon/point styles' because of this copy for
    example, giving problems with layers which used those.

    I lost some confidence in the 'upgrading'-scenario's of Geoserver
    because of this. IF working with a external data directory, things
    should not brake when you upgrade. I can imagine that there is some new
    stuff needed (templates, variables whatever), but it would be nice if
    you can do an 'easy' upgrade of your external data dir then.

GeoServer upgrades are indeed meant to be uneventful, and all the tests

we run in GeoServer are actually running against older versions of data
directory

syntaxes (we just never needed to upgrade them to the current content of

the xml files.).

However, if people do not provide reproducible ways to trigger the problems,

there is nothing we can do to fix them

Personally I haven't encountered problems in normal project activity

Cheers

Andrea

--

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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.

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

Congres publieke ruimte <http://www.congrespubliekeruimte.be>
------------------------------------------------------------------------

/Volg Aquafin op Facebook <https://www.facebook.com/AquafinNV&gt; | Twitter
<https://twitter.com/aquafinnv&gt; | YouTube
<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee&gt; |
LinkedIN <http://www.linkedin.com/company/aquafin/products&gt; /

Disclaimer: zie www.aquafin.be <http://www.aquafin.be> P Denk aan het
milieu. Druk deze mail niet onnodig af.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Milo van der Linden
dogodigi
t: +31-6-16598808

Just for the record. We are using an external directory. And if I remember correctly, when I upgraded to geoserver 2.6.0, I used a fresh data directory (from inside the war) and copied our workspace directory into the data directory. Then I deployed a new version of geoserver (with a new geoserver release tomcat's logs, temp and work directories are always cleaned) and restarted tomcat. And since then the issues occured.

But I followed exactly the same procedure and everything was working flawlessly again. So no idea about what was causing these issues.

-----Oorspronkelijk bericht-----
Van: Milo van der Linden [mailto:milo@…3084…]
Verzonden: donderdag 26 februari 2015 14:32
Aan: Just van den Broecke
CC: Mailinglist: Geoserver - Users
Onderwerp: Re: [Geoserver-users] web admin interface broken in geoserver

I recently turned into a noob regarding geoserver jboss. I managed to get geoserver running on Jboss and started adding layers enthousiastically. Then I stopped and restarted JBoss. And then the data_dir got reset as that is what JBoss does...

So, when you deploy on JBoss ALWAYS use an external data_dir.

(from the person who found out the hard way :wink:

2015-02-26 10:29 GMT+01:00 Just van den Broecke <just@...945...>:

Fellow countrymen: I agree with Andrea: throughout the years I made
many GeoServer 2.x upgrades up to recent 2.6.2 without issues, using
the same,separate GS data dir, e.g. specified using an env var in
/etc/default/tomcat on Ubuntu.

What could cause problems though are various kinds of temporary files:
to begin with caching/cookies in your browser possibly causing Wicket
errors. Shift-reload may already help here. Plus possibly server
container temp files like under the Tomcat work dir. In case of any
problems, cleaning temporaries is a first action. Caching is a
blessing and a curse ;-).

best,

Just

On 24-02-15 14:22, Roel De Nijs wrote:

After Richard’s reply I decided to start from scratch using a fresh
data directory from the geoserver 2.6.2 war. Deleted all demo
workspaces and copied our workspaces from the old data directory.
Restarted geoserver and all previously mentioned problems have
vanished. I can preview layers again and delete layers. Yay!

Thanks guys for the help and putting me in the right direction!

*Van:*Andrea Aime [mailto:andrea.aime@…1107…]
*Verzonden:* maandag 23 februari 2015 14:03
*Aan:* Richard Duivenvoorde
*CC:* GeoServer Mailing List List
*Onderwerp:* Re: [Geoserver-users] web admin interface broken in
geoserver

On Mon, Feb 23, 2015 at 1:18 PM, Richard Duivenvoorde
<rdmailings@...5924... <mailto:rdmailings@…5924…>> wrote:

    Hi Roel,

    if I remember correct I had the same problem upgrading to 2.6
    (and the wicket stacktraces are not very helpfull)

    by 'merging/overwriting' my external data directory with the 2.6 data
    directory I managed to apparently get stuff back which were
    needed/changed(?) in wicket/templates. (maybe vars defined in compiled
    jsp pages or so??)
    But I lost my 'default polygon/point styles' because of this copy for
    example, giving problems with layers which used those.

    I lost some confidence in the 'upgrading'-scenario's of Geoserver
    because of this. IF working with a external data directory, things
    should not brake when you upgrade. I can imagine that there is some new
    stuff needed (templates, variables whatever), but it would be nice if
    you can do an 'easy' upgrade of your external data dir then.

GeoServer upgrades are indeed meant to be uneventful, and all the
tests

we run in GeoServer are actually running against older versions of
data directory

syntaxes (we just never needed to upgrade them to the current content
of

the xml files.).

However, if people do not provide reproducible ways to trigger the
problems,

there is nothing we can do to fix them

Personally I haven't encountered problems in normal project activity

Cheers

Andrea

--

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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.

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

Congres publieke ruimte <http://www.congrespubliekeruimte.be>
---------------------------------------------------------------------
---

/Volg Aquafin op Facebook <https://www.facebook.com/AquafinNV&gt; |
Twitter <https://twitter.com/aquafinnv&gt; | YouTube
<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee
> | LinkedIN <http://www.linkedin.com/company/aquafin/products&gt; /

Disclaimer: zie www.aquafin.be <http://www.aquafin.be> P Denk aan het
milieu. Druk deze mail niet onnodig af.

---------------------------------------------------------------------
--------- Dive into the World of Parallel Programming The Go Parallel
Website, sponsored by Intel and developed in partnership with
Slashdot Media, is your hub for all things parallel software
development, from weekly thought leadership blogs to news, videos,
case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

----------------------------------------------------------------------
-------- Dive into the World of Parallel Programming The Go Parallel
Website, sponsored by Intel and developed in partnership with Slashdot
Media, is your hub for all things parallel software development, from
weekly thought leadership blogs to news, videos, case studies,
tutorials and more. Take a look and join the conversation now.
http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Milo van der Linden
dogodigi
t: +31-6-16598808

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

________________________________

Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV&gt; | Twitter<https://twitter.com/aquafinnv&gt; | YouTube<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee&gt; | LinkedIN<http://www.linkedin.com/company/aquafin/products&gt;

Disclaimer: zie www.aquafin.be<http://www.aquafin.be> P Denk aan het milieu. Druk deze mail niet onnodig af.