GetMap Request fails with NullPointerException

Description

Currently I am facing a problem with our WMS Service on Geoserver. The data source is a big Image Pyramid with 5 levels covering Germany in EPSG:25832. For tiles outside the boundaries of the dataset Geoserver throws nullpointer exceptions if we request with tileSize.

Here is the error log:

The error always occurs on the boundaries where the shape of the index is not exactly an rectangle (picture index.png)

You can find a screnshot of the error in OpenLayers.png

I also found out, that two vendor parameters tiled and tilesOrigin have an impact on this error.

This request works:

?FORMAT=image%2Fpng&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=d&SRS=EPSG%3A25832&BBOX=281628.86785608,6110430.5035682,359900.3848201,6188702.0205323&WIDTH=256&HEIGHT=256&tiled=true&tilesOrigin=280000%2C5200000

And this doesn’t:

?FORMAT=image%2Fpng&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=d&SRS=EPSG%3A25832&BBOX=281628.86785608,6110430.5035682,359900.3848201,6188702.0205323&WIDTH=256&HEIGHT=256

So geoserver throws the exception because of the following missing parameters:
&tiled=true&tilesOrigin=280000%2C5200000

We are running a geoserver 2.12

From the recommendation of Andrea I tried to create a testdataset, but it was quite dificult to keep it small, because usually its quite some data. I took the index from our original dataset and combined it with the small testdataset. So, there are granules referenced in the index, which are originally on another place. So it might not be the cleanest testdataset.

Environment

linux & tomcat

Assignee

Unassigned

Reporter

aleho

Triage

Fix versions

None

Affects versions

Priority

Highest
Configure