[Geoserver-users] Looking for advice on issues with sorted rendering when seeding a layergroup

Hi Andrea,

As I said offline I’m going to be struggling with the data sample as this is happening when using OS MasterMap data.

I’ve run it again with a load of debugging options on in order to try and see if I could log which bbox was being processed when it fails. As yet I have still not managed to find an issue it terms of the actual tiles as they seem to generate fine but then kill the thread.

I did find this stack trace:

t(LayerCacheInfoBuilder.java:274)

at org.geowebcache.util.FileUtils.traverseDepth(FileUtils.java:100)

at org.geowebcache.util.FileUtils.traverseDepth(FileUtils.java:106)

at org.geowebcache.diskquota.LayerCacheInfoBuilder$ZoomLevelVisitor.call(LayerCacheInfoBuilder.java:235)

at org.geowebcache.diskquota.LayerCacheInfoBuilder$ZoomLevelVisitor.call(LayerCacheInfoBuilder.java:187)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.NullPointerException

at org.geowebcache.diskquota.LayerCacheInfoBuilder$ZoomLevelVisitor.accept(LayerCacheInfoBuilder.java:274)

at org.geowebcache.util.FileUtils.traverseDepth(FileUtils.java:100)

at org.geowebcache.util.FileUtils.traverseDepth(FileUtils.java:106)

at org.geowebcache.diskquota.LayerCacheInfoBuilder$ZoomLevelVisitor.call(LayerCacheInfoBuilder.java:235)

at org.geowebcache.diskquota.LayerCacheInfoBuilder$ZoomLevelVisitor.call(LayerCacheInfoBuilder.java:187)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

log4j:WARN File option not set for appender [geoserverlogfile].

log4j:WARN Are you using FileAppender instead of ConsoleAppender?

Does that give any better clues?

It was in the tomcat8-stderr log and I think it might have been because I seleted the log to stdOut option.

Thanks,

Paul

···

Hi Paul,

thanks for the stack trace. I had a look at the code but nothing stands out. In order to debug this one I’ll need a bug report, with

a small enough set of sample data, styles, and a request that makes it happen

Cheers

Andrea

Paul,

There is an OS MasterMap sample that you can distribute - if you want there is a copy of it and a rest script to load it at https://gitlab.com/ijturton/foss4guk-workshop that might allow you to demo it.

Failing that you could contract a GeoServer commercial support supplier who were based in the UK and who had an Ordnance Survey license, and they could may debug it more thoroughly.

Ian

···

On 19 August 2016 at 10:16, Paul Wittle <P.Wittle@anonymised.com> wrote:

Hi Andrea,

As I said offline I’m going to be struggling with the data sample as this is happening when using OS MasterMap data.

I’ve run it again with a load of debugging options on in order to try and see if I could log which bbox was being processed when it fails. As yet I have still not managed to find an issue it terms of the actual tiles as they seem to generate fine but then kill the thread.

I did find this stack trace:

t(LayerCacheInfoBuilder.java:274)

at org.geowebcache.util.FileUtils.traverseDepth(FileUtils.java:100)

at org.geowebcache.util.FileUtils.traverseDepth(FileUtils.java:106)

at org.geowebcache.diskquota.LayerCacheInfoBuilder$ZoomLevelVisitor.call(LayerCacheInfoBuilder.java:235)

at org.geowebcache.diskquota.LayerCacheInfoBuilder$ZoomLevelVisitor.call(LayerCacheInfoBuilder.java:187)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.NullPointerException

at org.geowebcache.diskquota.LayerCacheInfoBuilder$ZoomLevelVisitor.accept(LayerCacheInfoBuilder.java:274)

at org.geowebcache.util.FileUtils.traverseDepth(FileUtils.java:100)

at org.geowebcache.util.FileUtils.traverseDepth(FileUtils.java:106)

at org.geowebcache.diskquota.LayerCacheInfoBuilder$ZoomLevelVisitor.call(LayerCacheInfoBuilder.java:235)

at org.geowebcache.diskquota.LayerCacheInfoBuilder$ZoomLevelVisitor.call(LayerCacheInfoBuilder.java:187)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

log4j:WARN File option not set for appender [geoserverlogfile].

log4j:WARN Are you using FileAppender instead of ConsoleAppender?

Does that give any better clues?

It was in the tomcat8-stderr log and I think it might have been because I seleted the log to stdOut option.

Thanks,

Paul

From: andrea.aime@anonymised.com [mailto:andrea.aime@anonymised.com] On Behalf Of Andrea Aime
Sent: 16 August 2016 09:32
To: Paul Wittle
Cc: geoserver-users@anonymised.comsourceforge.net
Subject: Re: [Geoserver-users] Looking for advice on issues with sorted rendering when seeding a layergroup

Hi Paul,

thanks for the stack trace. I had a look at the code but nothing stands out. In order to debug this one I’ll need a bug report, with

a small enough set of sample data, styles, and a request that makes it happen

Cheers

Andrea

“This e-mail is intended for the named addressee(s) only and may contain information about individuals or other sensitive information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this email in error, kindly disregard the content of the message and notify the sender immediately. Please be aware that all email may be subject to recording and/or monitoring in accordance with relevant legislation.”



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

Ian Turton