Thanks everyone, ticket now logged in the GeoServer Jira – GEOS-11194. Cheers,
Aaron Sedgmen. From: Ikeoka, Steve <steve.ike...@gdit.com> Sent: Saturday, November 11, 2023 5:43 AM To: Rahkonen Jukka <jukka.rahko...@maanmittauslaitos.fi>; Jody Garnett <jody.garn...@gmail.com>; Aaron Sedgmen <aaron.sedg...@ga.gov.au> Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] WMS GetMap filter issue [SEC=OFFICIAL] This is possibly a regression from the fix for this issue: https://osgeo-org.atlassian.net/browse/GEOS-10903 Steve Ikeoka ________________________________ From: Rahkonen Jukka <jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>> Sent: Friday, November 10, 2023 12:34 AM To: Jody Garnett <jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>>; Aaron Sedgmen <aaron.sedg...@ga.gov.au<mailto:aaron.sedg...@ga.gov.au>> Cc: geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net> <geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>> Subject: Re: [Geoserver-users] WMS GetMap filter issue [SEC=OFFICIAL] Hi, The error seems to happen also with Geoserver 2. 24 for the standard “states” demo layer. http: //localhost: 8080/geoserver/topp/wms?service=WMS&version=1. 1. 0&request=GetMap&layers=topp%3Astates&bbox=-124. 73142200000001%2C24. 955967%2C-66. 969849%2C49. 371735&width=768&height=330&srs=EPSG%3A4326&styles=&format=image/png&filter=%3CFilter%3E%3CPropertyIsLike%20matchCase=%22false%22%20wildCard=%22*%22%20singleChar=%22. %22%20escape=%22!%22%3E%3CPropertyName%3ESTATE_NAME%3C/PropertyName%3E%3CLiteral%3E*co*%3C/Literal%3E%3C/PropertyIsLike%3E%3C/Filter%3E&&exceptions=application/vnd. ogc. se_inimage ZjQcmQRYFpfptBannerStart This Message Is From an External Sender Please use caution with links, attachments, and any requests for credentials. ZjQcmQRYFpfptBannerEnd Hi, The error seems to happen also with Geoserver 2.24 for the standard “states” demo layer. http://localhost:8080/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp%3Astates&bbox=-124.73142200000001%2C24.955967%2C-66.969849%2C49.371735&width=768&height=330&srs=EPSG%3A4326&styles=&format=image/png&filter=%3CFilter%3E%3CPropertyIsLike%20matchCase=%22false%22%20wildCard=%22*%22%20singleChar=%22.%22%20escape=%22!%22%3E%3CPropertyName%3ESTATE_NAME%3C/PropertyName%3E%3CLiteral%3E*co*%3C/Literal%3E%3C/PropertyIsLike%3E%3C/Filter%3E&&exceptions=application/vnd.ogc.se_inimage<https://urldefense.us/v3/__http:/localhost:8080/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp*3Astates&bbox=-124.73142200000001*2C24.955967*2C-66.969849*2C49.371735&width=768&height=330&srs=EPSG*3A4326&styles=&format=image*png&filter=*3CFilter*3E*3CPropertyIsLike*20matchCase=*22false*22*20wildCard=*22**A22*20singleChar=*22.*22*20escape=*22!*22*3E*3CPropertyName*3ESTATE_NAME*3C*PropertyName*3E*3CLiteral*3E*co**A3C*Literal*3E*3C*PropertyIsLike*3E*3C*Filter*3E&&exceptions=application*vnd.ogc.se_inimage__;JSUlJSUvJSUlJSUlJSUqJSUlJSUlJSUlJSUvJSUlKiolLyUlLyUlLyUv!!JRQnnSFuzw7wjAKq6ti6!woAPcVZOGuccsa8q6id-mtTwYsnICEjvuYT_LWojls77s4gIWCzsd6XHLv5aZjvEYQMufyOV7ScA15rKBkyrj6BmCUCJyemVf2-9$> -Jukka Rahkonen- Lähettäjä: Jody Garnett <jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>> Lähetetty: perjantai 10. marraskuuta 2023 6.43 Vastaanottaja: Aaron Sedgmen <aaron.sedg...@ga.gov.au<mailto:aaron.sedg...@ga.gov.au>> Kopio: geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net> Aihe: Re: [Geoserver-users] WMS GetMap filter issue [SEC=OFFICIAL] It has not been reported yet, can you do so please and attach the stack trace. Thanks Jody On Thu, Nov 9, 2023 at 8:10 PM Aaron Sedgmen <aaron.sedg...@ga.gov.au<mailto:aaron.sedg...@ga.gov.au>> wrote: Hi all, Following a recent upgrade to GeoServer 2.23.2, WMS GetMap requests that include a filter containing the PropertyIsLike comparison operator are returning null pointer exceptions. Example filter: <Filter> <PropertyIsLike matchCase="false" wildCard="*" singleChar="." escape="!"> <PropertyName>STATE</PropertyName> <Literal>*SA*</Literal> </PropertyIsLike> </Filter> Above filter applied in a WMS GetMap request: https://services.ga.gov.au/gis/earthresource/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&STYLES&LAYERS=ama:MineralDeposits&exceptions=application/vnd.ogc.se_inimage&SRS=EPSG:4283&WIDTH=768&HEIGHT=413&BBOX=103.7109375,-45.6591796875,171.2109375,-9.3603515625&filter=%3CFilter%3E%3CPropertyIsLike%20matchCase=%22false%22%20wildCard=%22*%22%20singleChar=%22.%22%20escape=%22!%22%3E%3CPropertyName%3ESTATE%3C/PropertyName%3E%3CLiteral%3E*SA*%3C/Literal%3E%3C/PropertyIsLike%3E%3C/Filter%3E<https://urldefense.us/v3/__https:/services.ga.gov.au/gis/earthresource/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image*png&TRANSPARENT=true&STYLES&LAYERS=ama:MineralDeposits&exceptions=application*vnd.ogc.se_inimage&SRS=EPSG:4283&WIDTH=768&HEIGHT=413&BBOX=103.7109375,-45.6591796875,171.2109375,-9.3603515625&filter=*3CFilter*3E*3CPropertyIsLike*20matchCase=*22false*22*20wildCard=*22**A22*20singleChar=*22.*22*20escape=*22!*22*3E*3CPropertyName*3ESTATE*3C*PropertyName*3E*3CLiteral*3E*SA**A3C*Literal*3E*3C*PropertyIsLike*3E*3C*Filter*3E__;Ly8lJSUlJSUlJSolJSUlJSUlJSUlJS8lJSUqKiUvJSUvJSUvJQ!!JRQnnSFuzw7wjAKq6ti6!woAPcVZOGuccsa8q6id-mtTwYsnICEjvuYT_LWojls77s4gIWCzsd6XHLv5aZjvEYQMufyOV7ScA15rKBkyrj6BmCUCJyVQPK7rQ$> The same filter is ok in a WFS GetFeature request: https://services.ga.gov.au/gis/earthresource/wfs?request=GetFeature&service=WFS&version=1.1.0&typeName=ama:MineralDeposits&filter=%3CFilter%3E%3CPropertyIsLike%20matchCase=%22false%22%20wildCard=%22*%22%20singleChar=%22.%22%20escape=%22!%22%3E%3CPropertyName%3ESTATE%3C/PropertyName%3E%3CLiteral%3E*SA*%3C/Literal%3E%3C/PropertyIsLike%3E%3C/Filter%3E&outputFormat=json<https://urldefense.us/v3/__https:/services.ga.gov.au/gis/earthresource/wfs?request=GetFeature&service=WFS&version=1.1.0&typeName=ama:MineralDeposits&filter=*3CFilter*3E*3CPropertyIsLike*20matchCase=*22false*22*20wildCard=*22**A22*20singleChar=*22.*22*20escape=*22!*22*3E*3CPropertyName*3ESTATE*3C*PropertyName*3E*3CLiteral*3E*SA**A3C*Literal*3E*3C*PropertyIsLike*3E*3C*Filter*3E&outputFormat=json__;JSUlJSUlJSUqJSUlJSUlJSUlJSUvJSUlKiolLyUlLyUlLyU!!JRQnnSFuzw7wjAKq6ti6!woAPcVZOGuccsa8q6id-mtTwYsnICEjvuYT_LWojls77s4gIWCzsd6XHLv5aZjvEYQMufyOV7ScA15rKBkyrj6BmCUCJybFF3ipf$> The issue appears to have come about after version 2.22.2, which we were using prior to upgrading to 2.23.2. The issue also occurs in the current stable release 2.24.0. There doesn’t appear to be any tickets in the GeoServer Jira related to this, and before I log a ticket, I’m wondering if anyone on the forum has come across the issue and perhaps has a simple fix? GeoServer 2.23.2, 2.24.0 JDK 11 Tomcat 8, Tomcat 9 Windows 10, Ubuntu 22.04 Thanks, Aaron Sedgmen. Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks. _______________________________________________ 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#/<https://urldefense.us/v3/__http:/www.ianturton.com/talks/foss4g.html*/__;Iw!!JRQnnSFuzw7wjAKq6ti6!woAPcVZOGuccsa8q6id-mtTwYsnICEjvuYT_LWojls77s4gIWCzsd6XHLv5aZjvEYQMufyOV7ScA15rKBkyrj6BmCUCJyRUeHfHD$> - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html<https://urldefense.us/v3/__http:/geoserver.org/comm/userlist-guidelines.html__;!!JRQnnSFuzw7wjAKq6ti6!woAPcVZOGuccsa8q6id-mtTwYsnICEjvuYT_LWojls77s4gIWCzsd6XHLv5aZjvEYQMufyOV7ScA15rKBkyrj6BmCUCJycoOo_o1$> If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer<https://urldefense.us/v3/__https:/github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer__;!!JRQnnSFuzw7wjAKq6ti6!woAPcVZOGuccsa8q6id-mtTwYsnICEjvuYT_LWojls77s4gIWCzsd6XHLv5aZjvEYQMufyOV7ScA15rKBkyrj6BmCUCJyeYkQkiB$> Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users<https://urldefense.us/v3/__https:/lists.sourceforge.net/lists/listinfo/geoserver-users__;!!JRQnnSFuzw7wjAKq6ti6!woAPcVZOGuccsa8q6id-mtTwYsnICEjvuYT_LWojls77s4gIWCzsd6XHLv5aZjvEYQMufyOV7ScA15rKBkyrj6BmCUCJyZYcP44r$> Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks.
_______________________________________________ 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 If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users