Hi Andrea,

thanks for the reply!

I removed the footprints ( ;)! ) and it’s still the same problem. I also added 
a new layer with a ImageMosaic Datasource – pointing to 0-Folder in the 
pyramid. It’s still the same error – it only occurs if I am requesting a tile 
size.

We will install the master tomorrow and test if the problem is solved. The 
error message is quite different – plus we don’t have a color map in the sld 
and we can’t view the layer in any other CRS.

Here are some pictures from my latest tests…
This is the index-shp (behind is the wms service):

[cid:image002.jpg@01D336DA.1EB2EF90]                 
[cid:image003.jpg@01D336DA.1EB2EF90]

Best regards,
Anna


Von: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] Im Auftrag von Andrea 
Aime
Gesendet: Dienstag, 26. September 2017 08:24
An: Hock, Anna-Lena <anna-lena.h...@bkg.bund.de>
Cc: GeoServer Mailing List List <geoserver-users@lists.sourceforge.net>
Betreff: Re: [Geoserver-users] WMS NullPointer Exception

Hi Anna,
see my notes inline.

On Mon, Sep 25, 2017 at 3:08 PM, 
<anna-lena.h...@bkg.bund.de<mailto:anna-lena.h...@bkg.bund.de>> wrote:
Dear List,

currently I am facing a problem with our WMS Service. 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:

2017-09-25 11:47:22,205 ERROR [geoserver.ows] -
java.lang.NullPointerException
        at javax.media.jai.PlanarImage.getData(PlanarImage.java:2110)
        at javax.media.jai.PlanarImage.getData(PlanarImage.java:2016)
        at javax.media.jai.RenderedOp.getData(RenderedOp.java:2266)
        at 
it.geosolutions.imageio.plugins.png.ScanlineProviderFactory.getProvider(ScanlineProviderFactory.java:53)
        at 
it.geosolutions.imageio.plugins.png.PNGWriter.isScanlineSupported(PNGWriter.java:111)

I added a footprints.shp to each level of the Pyramid to set the boundary for 
the WMS. Is this causing those issues? I added the footrpints via trial and 
error, because I couldn’t find footprints for pyramids in the documentation.

I cannot tell if they are, but it's simple enough to remove the footprints, 
reload the configuration, and check if that's causing the issue, no? :)

In terms of configuring footprints, a pyramid is really just a switcher between 
N image mosaics, so you configure the footprints in each mosaic
separately. Footprints are designed to match each image in the mosaic and 
provide a way to cut it to its valid area, there is no notion of footprint
for the whole mosaic. See documentation here:
http://docs.geoserver.org/stable/en/user/tutorials/imagemosaic_footprint/imagemosaic_footprint.html

The footprint is meant mostly for satellite/aerial imagery having each their 
own "valid area", not sure if it's a match for you case
(I'm imagining you'd rather provide the boundaries of Germany for the whole 
layer, but maybe I'm just guessing wrong).


We are running a geoserver 2.11.1 (we already downgraded, because in the latest 
stable release (2.11.2) we couldn’t view the WMS in any other CRS)

For 2.11.2 I believe you hit this one, I tried a fix during the weekend but 
could not
get any confirmation from the reporter:
https://osgeo-org.atlassian.net/browse/GEOS-8298

Cheers
Andrea


--

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
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.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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

Reply via email to