[Geoserver-users] Could not list layers for this store (JDBC Image Mosaic)

Hello,

I am trying to build an app that utilizes raster files that I have ingested into my PostgreSQL/PostGIS database. The error occurs when trying to make the PostGIS raster data store. The error on the web interface says “Could not list layers for this store, an error occurred retrieving them: Failed to create reader from file:glc.postgis.xml and hints null”.

However the geoserver log reports a connection error.
2015-06-29 09:02:30,681 WARN [data.jdbc] - Could not acquire A BDCP connection pool.:org.geotools.data.DataSourceException: Connection pool improperly set up: Cannot create PoolableConnectionFactory (Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)

What is wrong?

I know that I have the connection xml defined properly. I am following the following documentation.
http://docs.geoserver.org/2.5.x/en/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html

···

David Haynes, Ph.D.
Research Associate Terra Populus
Minnesota Population Center
www.terrapop.org

Hi David

Do you see a stack trace in the GeoServer log file.

Cheers
Christian

···

On Tue, Jun 30, 2015 at 3:24 PM, David Haynes II <dahaynes@anonymised.com> wrote:

Hello,

I am trying to build an app that utilizes raster files that I have ingested into my PostgreSQL/PostGIS database. The error occurs when trying to make the PostGIS raster data store. The error on the web interface says “Could not list layers for this store, an error occurred retrieving them: Failed to create reader from file:glc.postgis.xml and hints null”.

However the geoserver log reports a connection error.
2015-06-29 09:02:30,681 WARN [data.jdbc] - Could not acquire A BDCP connection pool.:org.geotools.data.DataSourceException: Connection pool improperly set up: Cannot create PoolableConnectionFactory (Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)

What is wrong?

I know that I have the connection xml defined properly. I am following the following documentation.
http://docs.geoserver.org/2.5.x/en/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html

David Haynes, Ph.D.
Research Associate Terra Populus
Minnesota Population Center
www.terrapop.org


Don’t Limit Your Business. Reach for the Cloud.
GigeNET’s Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

HI David

Looks like a connection problem. Did you configure PostGres for remote access ?

http://www.cyberciti.biz/tips/postgres-allow-remote-access-tcp-connection.html

Cheers
Christian

···

On Tue, Jun 30, 2015 at 4:22 PM, David Haynes II <dahaynes@anonymised.com> wrote:

Here is the error log. Hope that helps.

On Tue, Jun 30, 2015 at 8:33 AM, Christian Mueller <christian.mueller@anonymised.com> wrote:

Hi David

Do you see a stack trace in the GeoServer log file.

Cheers
Christian

David Haynes, Ph.D.
Research Associate Terra Populus
Minnesota Population Center
www.terrapop.org

On Tue, Jun 30, 2015 at 3:24 PM, David Haynes II <dahaynes@anonymised.com> wrote:

Hello,

I am trying to build an app that utilizes raster files that I have ingested into my PostgreSQL/PostGIS database. The error occurs when trying to make the PostGIS raster data store. The error on the web interface says “Could not list layers for this store, an error occurred retrieving them: Failed to create reader from file:glc.postgis.xml and hints null”.

However the geoserver log reports a connection error.
2015-06-29 09:02:30,681 WARN [data.jdbc] - Could not acquire A BDCP connection pool.:org.geotools.data.DataSourceException: Connection pool improperly set up: Cannot create PoolableConnectionFactory (Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)

What is wrong?

I know that I have the connection xml defined properly. I am following the following documentation.
http://docs.geoserver.org/2.5.x/en/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html

David Haynes, Ph.D.
Research Associate Terra Populus
Minnesota Population Center
www.terrapop.org


Don’t Limit Your Business. Reach for the Cloud.
GigeNET’s Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Thanks one last question that isn’t quite covered in the tutorial.
http://docs.geotools.org/latest/userguide/library/coverage/jdbc/setup.html

For my test case, I have ingested a 30mb geotiff into my database using the raster2pgsql executable using -l to create overviews/pyramides inside the database.

raster2pgsql -C -x -I -Y -F -s 4326 -t 250x250 -l 2,4,8,16,32,64 glc2000_v1_1.tif glc2000 | psql -d database

This command results in creating six overview tables and primary raster data table. The overviews and the primary table all have the following schema.

Column | Type | Modifiers

···

On Wed, Jul 1, 2015 at 6:48 AM, Christian Mueller <christian.mueller@anonymised.com> wrote:

HI David

Looks like a connection problem. Did you configure PostGres for remote access ?

http://www.cyberciti.biz/tips/postgres-allow-remote-access-tcp-connection.html

Cheers
Christian

On Tue, Jun 30, 2015 at 4:22 PM, David Haynes II <dahaynes@anonymised.com> wrote:

Here is the error log. Hope that helps.

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

On Tue, Jun 30, 2015 at 8:33 AM, Christian Mueller <christian.mueller@anonymised.com> wrote:

Hi David

Do you see a stack trace in the GeoServer log file.

Cheers
Christian

David Haynes, Ph.D.
Research Associate Terra Populus
Minnesota Population Center
www.terrapop.org

On Tue, Jun 30, 2015 at 3:24 PM, David Haynes II <dahaynes@anonymised.com> wrote:

Hello,

I am trying to build an app that utilizes raster files that I have ingested into my PostgreSQL/PostGIS database. The error occurs when trying to make the PostGIS raster data store. The error on the web interface says “Could not list layers for this store, an error occurred retrieving them: Failed to create reader from file:glc.postgis.xml and hints null”.

However the geoserver log reports a connection error.
2015-06-29 09:02:30,681 WARN [data.jdbc] - Could not acquire A BDCP connection pool.:org.geotools.data.DataSourceException: Connection pool improperly set up: Cannot create PoolableConnectionFactory (Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)

What is wrong?

I know that I have the connection xml defined properly. I am following the following documentation.
http://docs.geoserver.org/2.5.x/en/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html

David Haynes, Ph.D.
Research Associate Terra Populus
Minnesota Population Center
www.terrapop.org


Don’t Limit Your Business. Reach for the Cloud.
GigeNET’s Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

David Haynes, Ph.D.
Research Associate Terra Populus
Minnesota Population Center
www.terrapop.org

Hi David

Did you have a look at

http://docs.geotools.org/latest/userguide/library/coverage/pgraster.html

This documentation should solve your problem.

Cheers
Christian

···

On Wed, Jul 1, 2015 at 3:46 PM, David Haynes II <dahaynes@anonymised.com> wrote:

Thanks one last question that isn’t quite covered in the tutorial.
http://docs.geotools.org/latest/userguide/library/coverage/jdbc/setup.html

For my test case, I have ingested a 30mb geotiff into my database using the raster2pgsql executable using -l to create overviews/pyramides inside the database.

raster2pgsql -C -x -I -Y -F -s 4326 -t 250x250 -l 2,4,8,16,32,64 glc2000_v1_1.tif glc2000 | psql -d database

This command results in creating six overview tables and primary raster data table. The overviews and the primary table all have the following schema.

Column | Type | Modifiers
----------±--------±----------------------------------------------------------
rid | integer | not null default nextval(‘o_2_glc2000_rid_seq’::regclass)
rast | raster |
filename | text |
Indexes:
“o_2_glc2000_pkey” PRIMARY KEY, btree (rid)
“o_2_glc2000_rast_gist” gist (st_convexhull(rast))

What I would like understand is how the mapping.xml aligns with the raster2pgsql commands.
http://docs.geotools.org/latest/userguide/library/coverage/jdbc/meta.html

In this case, I have created a new table “meta” within the database that uses the following field definitions.

name: glc2000 (is the same for every record) This could be altered to for tables within schemas like myschema.glc2000
spatialtable: overview table names (glc2000, o_2_glc2000, o_4_glc2000…etc)
rid: raster_id (right now this is integer but I could cast it to varchar)
the rest of the fields are all blank

Table “public.meta”
Column | Type | Modifiers
--------------±-----------------±----------
name | text |
spatialtable | text |
rid | integer |
resx | double precision |
resy | double precision |
minx | double precision |
miny | double precision |
maxx | double precision |
maxy | double precision |

What modifications do I need to make in the mapping.xml to correspond with this?

My thoughts are to remove tiletableNameAttribute and then add in the geometry column and update it properly.

On Wed, Jul 1, 2015 at 6:48 AM, Christian Mueller <christian.mueller@anonymised.com> wrote:

HI David

Looks like a connection problem. Did you configure PostGres for remote access ?

http://www.cyberciti.biz/tips/postgres-allow-remote-access-tcp-connection.html

Cheers
Christian

David Haynes, Ph.D.
Research Associate Terra Populus
Minnesota Population Center
www.terrapop.org

On Tue, Jun 30, 2015 at 4:22 PM, David Haynes II <dahaynes@anonymised.com> wrote:

Here is the error log. Hope that helps.

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

On Tue, Jun 30, 2015 at 8:33 AM, Christian Mueller <christian.mueller@anonymised.com> wrote:

Hi David

Do you see a stack trace in the GeoServer log file.

Cheers
Christian

David Haynes, Ph.D.
Research Associate Terra Populus
Minnesota Population Center
www.terrapop.org

On Tue, Jun 30, 2015 at 3:24 PM, David Haynes II <dahaynes@anonymised.com> wrote:

Hello,

I am trying to build an app that utilizes raster files that I have ingested into my PostgreSQL/PostGIS database. The error occurs when trying to make the PostGIS raster data store. The error on the web interface says “Could not list layers for this store, an error occurred retrieving them: Failed to create reader from file:glc.postgis.xml and hints null”.

However the geoserver log reports a connection error.
2015-06-29 09:02:30,681 WARN [data.jdbc] - Could not acquire A BDCP connection pool.:org.geotools.data.DataSourceException: Connection pool improperly set up: Cannot create PoolableConnectionFactory (Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)

What is wrong?

I know that I have the connection xml defined properly. I am following the following documentation.
http://docs.geoserver.org/2.5.x/en/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html

David Haynes, Ph.D.
Research Associate Terra Populus
Minnesota Population Center
www.terrapop.org


Don’t Limit Your Business. Reach for the Cloud.
GigeNET’s Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Still have issues connecting geoserver to postgis raster
The error that shows up on the web interface is: Could not list layers for this store, an error occurred retrieving them: Failed to create reader from file:data/glc.postgis.xml and hints null

For my example, I have a metadata table (glc_mosaic) which contains the six overviews and the original dataset, with their names specified in the field “tiletable”.

Trying to follow this example: An example setup assumes the existence of 3 tables, rtable1, rtable2 rtable3. rtable1 is populated with the tiles from the base image, rtable2 and rtable3 are tables for overviews. The raster column in all tables is named rast. … Table name and column names must match with the xml configuration (example follows).

My questions is
Each overview/pyramid table is loaded into the table “meta” (glc_mosaic) with the following definition. What about the rast field? Does it need to be specified and if so which table/xml? The rast field is referenced in the mapping.xml so I imagine it needs to be included.
According to this page the fields which set the dimensions can be removed. http://docs.geotools.org/latest/userguide/library/coverage/jdbc/index.html#im-jdbc However, I am leaving them for the moment.

Column | Type | Modifiers

Running on Linux, GeoServer 2.7.1.1.

When I try to look at the Layer Groups page this has just started happening;
I did delete some layer groups a few weeks ago but didn’t notice the error then. Since then I have upgraded from 2.6.4 to 2.7.11

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:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java: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:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java: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:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 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) ... 102 more Caused by: java.lang.NullPointerException at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:631) at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:483) at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:633) at org.geoserver.security.SecureCatalogImpl.filterGroups(SecureCatalogImpl.java:965) at org.geoserver.security.SecureCatalogImpl.getLayerGroups(SecureCatalogImpl.java:312) at org.geoserver.catalog.impl.AbstractFilteredCatalog.getLayerGroups(AbstractFilteredCatalog.java:250) at org.geoserver.catalog.impl.AbstractCatalogDecorator.getLayerGroups(AbstractCatalogDecorator.java:458) at org.geoserver.catalog.impl.LocalWorkspaceCatalog.getLayerGroups(LocalWorkspaceCatalog.java:199) at org.geoserver.web.data.layergroup.LayerGroupProvider.getItems(LayerGroupProvider.java:41) at org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:242) at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:566) at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.<init>(GeoServerTablePanel.java:559) at org.geoserver.web.wicket.GeoServerTablePanel.<init>(GeoServerTablePanel.java:171) at org.geoserver.web.data.layergroup.LayerGroupPage$1.<init>(LayerGroupPage.java:37) at org.geoserver.web.data.layergroup.LayerGroupPage.<init>(LayerGroupPage.java:37) ... 107 more

I am still getting this error. All I can tell at the moment is it is something to do with layer groups.

If I click on the Layer Preview link in the admin panel and then navigate to a page that has a layer group I get the following error in geoserver.log

2015-08-05 21:15:17,720 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,720 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,735 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,735 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,736 DEBUG [org.geoserver] - Thread 8397 locking in mode READ
2015-08-05 21:15:17,736 DEBUG [org.geoserver] - Thread 8397 got the lock in mode READ
2015-08-05 21:15:17,762 ERROR [org.apache.wicket.RequestCycle] - Error attaching this container for rendering: [MarkupContainer [Component id = listContainer]]
org.apache.wicket.WicketRuntimeException: Error attaching this container for rendering: [MarkupContainer [Component id = listContainer]]
  at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1765)
  at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
  at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
  at org.apache.wicket.Component.beforeRender(Component.java:1105)
  at org.apache.wicket.Component.prepareForRender(Component.java:2292)
  at org.apache.wicket.Component.prepareForRender(Component.java:2329)
  at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:830)
  at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:682)
  at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:592)
  at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
  at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
  at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
  at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
  at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
  at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
  at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
  at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java: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:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java: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:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
  at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:631)
  at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:483)
  at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:633)
  at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:483)
  at org.geoserver.security.SecureCatalogImpl$1.apply(SecureCatalogImpl.java:1431)
  at org.geoserver.security.SecureCatalogImpl$1.apply(SecureCatalogImpl.java:1427)
  at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
  at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
  at org.geoserver.catalog.util.CloseableIteratorAdapter.next(CloseableIteratorAdapter.java:57)
  at com.google.common.collect.Iterators$7.computeNext(Iterators.java:646)
  at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
  at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
  at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
  at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
  at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
  at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
  at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
  at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
  at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
  at com.google.common.collect.Iterators.addAll(Iterators.java:356)
  at com.google.common.collect.Lists.newArrayList(Lists.java:147)
  at org.geoserver.web.demo.PreviewLayerProvider.iterator(PreviewLayerProvider.java:163)
  at org.apache.wicket.markup.repeater.data.DataViewBase$ModelIterator.<init>(DataViewBase.java:109)
  at org.apache.wicket.markup.repeater.data.DataViewBase.getItemModels(DataViewBase.java:76)
  at org.apache.wicket.markup.repeater.AbstractPageableView.getItemModels(AbstractPageableView.java:107)
  at org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:94)
  at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:131)
  at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:121)
  at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
  at org.apache.wicket.Component.beforeRender(Component.java:1105)
  at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
  ... 106 more
2015-08-05 21:15:17,776 DEBUG [org.geoserver] - Thread 8397 releasing the lock in mode READ
2015-08-05 21:15:17,776 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed
2015-08-05 21:15:17,777 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/xml;charset=UTF-8
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,803 DEBUG [org.geoserver] - Thread 8397 locking in mode READ
2015-08-05 21:15:17,803 DEBUG [org.geoserver] - Thread 8397 got the lock in mode READ
2015-08-05 21:15:17,807 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,808 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,809 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,810 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,811 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,811 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,823 DEBUG [org.geoserver] - Thread 8397 releasing the lock in mode READ
2015-08-05 21:15:17,823 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
2015-08-05 21:15:17,824 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed

On 8 Jul 2015, at 06:55, Russell Hore <russ@anonymised.com> wrote:

Running on Linux, GeoServer 2.7.1.1.

When I try to look at the Layer Groups page this has just started happening;
I did delete some layer groups a few weeks ago but didn’t notice the error then. Since then I have upgraded from 2.6.4 to 2.7.11

I have now tied it down to one particular layergroup.

The layer group file is as follows. is there a away to check all the layers it ‘uses’ are correct/viable?

I am assuming one of the layers is missing/corrupt.
Is there a way to convert the "LayerInfoImpl-3748eb9:145fe7d5f4c:-7b98” bit to a layer name so I know where to look?

Russ

<layerGroup>
  <id>LayerGroupInfoImpl-282d75b9:145fb755c94:-8000</id>
  <name>lg_all_os</name>
  <mode>SINGLE</mode>
  <title>All OS Raster layers</title>
  <publishables>
    <published type="layer">
      <id>LayerInfoImpl-3748eb9:145fe7d5f4c:-7b98</id>
    </published>
    <published type="layer">
      <id>LayerInfoImpl-6c995b43:1429e7dc2b3:-7fcb</id>
    </published>
    <published type="layer">
      <id>LayerInfoImpl-3748eb9:145fe7d5f4c:-7fc0</id>
    </published>
    <published type="layer">
      <id>LayerInfoImpl-36fbe69c:145efe85c63:-5705</id>
    </published>
    <published type="layerGroup">
      <id>LayerGroupInfoImpl--50971344:142eaecac8f:1afa</id>
    </published>
  </publishables>
  <styles>
    <style>
      <id>StyleInfoImpl-54d9e6f7:142c451928c:3ea</id>
    </style>
    <style>
      <id>StyleInfoImpl-54d9e6f7:142c451928c:35cc</id>
    </style>
    <style>
      <id>StyleInfoImpl--4bc4ee8f:142c3ed9d56:-70e3</id>
    </style>
    <style>
      <id>StyleInfoImpl--4bc4ee8f:142c3ed9d56:-70e2</id>
    </style>
    <style/>
  </styles>
  <bounds>
    <minx>-139554.52234597853</minx>
    <maxx>805578.7494653241</maxx>
    <miny>-14572.7924365027</miny>
    <maxy>1322557.5275064965</maxy>
    <crs class="projected">EPSG:27700</crs>
  </bounds>
</layerGroup>

On 5 Aug 2015, at 21:20, Russell Hore <russ@anonymised.com> wrote:

I am still getting this error. All I can tell at the moment is it is something to do with layer groups.

If I click on the Layer Preview link in the admin panel and then navigate to a page that has a layer group I get the following error in geoserver.log

2015-08-05 21:15:17,720 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,720 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,735 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,735 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,736 DEBUG [org.geoserver] - Thread 8397 locking in mode READ
2015-08-05 21:15:17,736 DEBUG [org.geoserver] - Thread 8397 got the lock in mode READ
2015-08-05 21:15:17,762 ERROR [org.apache.wicket.RequestCycle] - Error attaching this container for rendering: [MarkupContainer [Component id = listContainer]]
org.apache.wicket.WicketRuntimeException: Error attaching this container for rendering: [MarkupContainer [Component id = listContainer]]
  at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1765)
  at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
  at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
  at org.apache.wicket.Component.beforeRender(Component.java:1105)
  at org.apache.wicket.Component.prepareForRender(Component.java:2292)
  at org.apache.wicket.Component.prepareForRender(Component.java:2329)
  at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:830)
  at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:682)
  at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:592)
  at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
  at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
  at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
  at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
  at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
  at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
  at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
  at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java: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:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java: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:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
  at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:631)
  at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:483)
  at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:633)
  at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:483)
  at org.geoserver.security.SecureCatalogImpl$1.apply(SecureCatalogImpl.java:1431)
  at org.geoserver.security.SecureCatalogImpl$1.apply(SecureCatalogImpl.java:1427)
  at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
  at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
  at org.geoserver.catalog.util.CloseableIteratorAdapter.next(CloseableIteratorAdapter.java:57)
  at com.google.common.collect.Iterators$7.computeNext(Iterators.java:646)
  at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
  at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
  at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
  at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
  at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
  at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
  at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
  at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
  at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
  at com.google.common.collect.Iterators.addAll(Iterators.java:356)
  at com.google.common.collect.Lists.newArrayList(Lists.java:147)
  at org.geoserver.web.demo.PreviewLayerProvider.iterator(PreviewLayerProvider.java:163)
  at org.apache.wicket.markup.repeater.data.DataViewBase$ModelIterator.<init>(DataViewBase.java:109)
  at org.apache.wicket.markup.repeater.data.DataViewBase.getItemModels(DataViewBase.java:76)
  at org.apache.wicket.markup.repeater.AbstractPageableView.getItemModels(AbstractPageableView.java:107)
  at org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:94)
  at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:131)
  at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:121)
  at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
  at org.apache.wicket.Component.beforeRender(Component.java:1105)
  at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
  ... 106 more
2015-08-05 21:15:17,776 DEBUG [org.geoserver] - Thread 8397 releasing the lock in mode READ
2015-08-05 21:15:17,776 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed
2015-08-05 21:15:17,777 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/xml;charset=UTF-8
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,803 DEBUG [org.geoserver] - Thread 8397 locking in mode READ
2015-08-05 21:15:17,803 DEBUG [org.geoserver] - Thread 8397 got the lock in mode READ
2015-08-05 21:15:17,807 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,808 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,809 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,810 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,811 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,811 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,823 DEBUG [org.geoserver] - Thread 8397 releasing the lock in mode READ
2015-08-05 21:15:17,823 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
2015-08-05 21:15:17,824 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed

On 8 Jul 2015, at 06:55, Russell Hore <russ@anonymised.com> wrote:

Running on Linux, GeoServer 2.7.1.1.

When I try to look at the Layer Groups page this has just started happening;
I did delete some layer groups a few weeks ago but didn’t notice the error then. Since then I have upgraded from 2.6.4 to 2.7.11

You can grep the xml files for LayerInfoImpl-3748eb9:145fe7d5f4c:-7b98 - but yeah it is no fun doing this by hand.

Another approach is to comment out the specific layer in your layer group so geoserver will at least start up and let you fix the problem.

···

On 11 August 2015 at 13:26, Russell Hore <russ@anonymised.com> wrote:

I have now tied it down to one particular layergroup.

The layer group file is as follows. is there a away to check all the layers it ‘uses’ are correct/viable?

I am assuming one of the layers is missing/corrupt.
Is there a way to convert the "LayerInfoImpl-3748eb9:145fe7d5f4c:-7b98” bit to a layer name so I know where to look?

Russ

LayerGroupInfoImpl-282d75b9:145fb755c94:-8000 lg_all_os SINGLE All OS Raster layers LayerInfoImpl-3748eb9:145fe7d5f4c:-7b98 LayerInfoImpl-6c995b43:1429e7dc2b3:-7fcb LayerInfoImpl-3748eb9:145fe7d5f4c:-7fc0 LayerInfoImpl-36fbe69c:145efe85c63:-5705 LayerGroupInfoImpl--50971344:142eaecac8f:1afa StyleInfoImpl-54d9e6f7:142c451928c:3ea StyleInfoImpl-54d9e6f7:142c451928c:35cc StyleInfoImpl--4bc4ee8f:142c3ed9d56:-70e3 StyleInfoImpl--4bc4ee8f:142c3ed9d56:-70e2 -139554.52234597853 805578.7494653241 -14572.7924365027 1322557.5275064965 EPSG:27700

On 5 Aug 2015, at 21:20, Russell Hore <russ@anonymised.com> wrote:

I am still getting this error. All I can tell at the moment is it is something to do with layer groups.

If I click on the Layer Preview link in the admin panel and then navigate to a page that has a layer group I get the following error in geoserver.log

2015-08-05 21:15:17,720 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,720 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,735 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,735 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,736 DEBUG [org.geoserver] - Thread 8397 locking in mode READ
2015-08-05 21:15:17,736 DEBUG [org.geoserver] - Thread 8397 got the lock in mode READ
2015-08-05 21:15:17,762 ERROR [org.apache.wicket.RequestCycle] - Error attaching this container for rendering: [MarkupContainer [Component id = listContainer]]
org.apache.wicket.WicketRuntimeException: Error attaching this container for rendering: [MarkupContainer [Component id = listContainer]]
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1765)
at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
at org.apache.wicket.Component.beforeRender(Component.java:1105)
at org.apache.wicket.Component.prepareForRender(Component.java:2292)
at org.apache.wicket.Component.prepareForRender(Component.java:2329)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:830)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:682)
at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:592)
at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java: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:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java: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:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:631)
at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:483)
at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:633)
at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:483)
at org.geoserver.security.SecureCatalogImpl$1.apply(SecureCatalogImpl.java:1431)
at org.geoserver.security.SecureCatalogImpl$1.apply(SecureCatalogImpl.java:1427)
at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at org.geoserver.catalog.util.CloseableIteratorAdapter.next(CloseableIteratorAdapter.java:57)
at com.google.common.collect.Iterators$7.computeNext(Iterators.java:646)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
at org.geoserver.catalog.util.CloseableIteratorAdapter.hasNext(CloseableIteratorAdapter.java:47)
at com.google.common.collect.Iterators.addAll(Iterators.java:356)
at com.google.common.collect.Lists.newArrayList(Lists.java:147)
at org.geoserver.web.demo.PreviewLayerProvider.iterator(PreviewLayerProvider.java:163)
at org.apache.wicket.markup.repeater.data.DataViewBase$ModelIterator.(DataViewBase.java:109)
at org.apache.wicket.markup.repeater.data.DataViewBase.getItemModels(DataViewBase.java:76)
at org.apache.wicket.markup.repeater.AbstractPageableView.getItemModels(AbstractPageableView.java:107)
at org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:94)
at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:131)
at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:121)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
at org.apache.wicket.Component.beforeRender(Component.java:1105)
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
… 106 more
2015-08-05 21:15:17,776 DEBUG [org.geoserver] - Thread 8397 releasing the lock in mode READ
2015-08-05 21:15:17,776 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed
2015-08-05 21:15:17,777 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/xml;charset=UTF-8
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,802 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2015-08-05 21:15:17,803 DEBUG [org.geoserver] - Thread 8397 locking in mode READ
2015-08-05 21:15:17,803 DEBUG [org.geoserver] - Thread 8397 got the lock in mode READ
2015-08-05 21:15:17,807 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,808 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,809 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,810 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,811 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,811 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.1.1.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
2015-08-05 21:15:17,823 DEBUG [org.geoserver] - Thread 8397 releasing the lock in mode READ
2015-08-05 21:15:17,823 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
2015-08-05 21:15:17,824 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed

On 8 Jul 2015, at 06:55, Russell Hore <russ@anonymised.com> wrote:

Running on Linux, GeoServer 2.7.1.1.

When I try to look at the Layer Groups page this has just started happening;
I did delete some layer groups a few weeks ago but didn’t notice the error then. Since then I have upgraded from 2.6.4 to 2.7.11



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


Jody Garnett