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> 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 > > > > 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 > > > > 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#/ > - 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 >
_______________________________________________ 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