Michael Bauer ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ebd66d39756e40b84d35612
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiN2EwNzhhYWE2MjNiNGIwMGFlZWFjNDNlMDVkODkzZWYiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9622?atlOrigin=eyJpIjoiN2EwNzhhYWE2MjNiNGIwMGFlZWFjNDNlMDVkODkzZWYiLCJwIjoiaiJ9
 ) GEOS-9622 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9622?atlOrigin=eyJpIjoiN2EwNzhhYWE2MjNiNGIwMGFlZWFjNDNlMDVkODkzZWYiLCJwIjoiaiJ9
 ) NullPointerException when using WMS vendor parameter "CLIP" on an 
ImageMosaic based layer ( 
https://osgeo-org.atlassian.net/browse/GEOS-9622?atlOrigin=eyJpIjoiN2EwNzhhYWE2MjNiNGIwMGFlZWFjNDNlMDVkODkzZWYiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.17.0 Assignee: Unassigned Attachments: 
Geoserver_ImageMosaik_NPE.log Components: image mosaic, WMS Created: 15/May/20 
2:59 PM Environment:

Geoserver 2.17.0 (.war file), Java 11 (AdoptOpenJDK), Tomcat 8.5.38, Windows 11 
(same behaviour on Linux 18.0.4)

Priority: Medium Reporter: Michael Bauer ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ebd66d39756e40b84d35612
 )

Hi Geoserver Team,

I'm referring to my user list post ( 
https://sourceforge.net/p/geoserver/mailman/message/37004708/ ).
I was also able to reproduce the NPE with the provided sample data and 
configuration in the Geoserver data directory so I think it is a bug in the 
current version 2.17.0 of Geoserver and I would like to report it to you. (If 
it is no bug I'm sorry for bothering you)

*How to reproduce the NullPointerException:*

* Make a WMS request on the pre-configured layer 'nurc:mosaic'
e.g. 
http://localhost/geoserver/nurc/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fjpeg&TRANSPARENT=true&LAYERS=nurc%3Amosaic&exceptions=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&STYLES=&WIDTH=768&HEIGHT=535&BBOX=10.4974365234375%2C40.34454345703125%2C14.7161865234375%2C43.28338623046875
* Make a WMS request and use the vendor parameter 'clip'.
e.g. 
http://localhost/geoserver/nurc/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fjpeg&TRANSPARENT=true&LAYERS=nurc%3Amosaic&exceptions=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&STYLES=&WIDTH=768&HEIGHT=535&BBOX=10.4974365234375%2C40.34454345703125%2C14.7161865234375%2C43.28338623046875&CLIP=POLYGON((12.356196%2042.001153,12.674799%2042.001153,12.674799%2041.788528,12.356196%2041.788528,12.356196%2042.001153
 ))
* Make a second WMS request (e.g. press F5). *Here the NPE occurs.*

*Further descripton:*

* The first WMS request with 'clip' parameter works as expected
* The second request causes the NPE (see attachment)
* After the second request it is not possible anymore to request the layer, you 
have to restart the Tomcat server or reload the data dir cofiguration.
* It makes no difference if I use a Shapefile or database configuration for the 
datastore

Best regards

( 
https://osgeo-org.atlassian.net/browse/GEOS-9622#add-comment?atlOrigin=eyJpIjoiN2EwNzhhYWE2MjNiNGIwMGFlZWFjNDNlMDVkODkzZWYiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9622#add-comment?atlOrigin=eyJpIjoiN2EwNzhhYWE2MjNiNGIwMGFlZWFjNDNlMDVkODkzZWYiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100126- 
sha1:acdbdcc )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to