Nicolas Vila (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A57d195c8-1700-457b-aee5-94352f9bc98c
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiODczNDZmYjNkNmIxNDlhZDgyMTcxNTg4YTY0OGM0ZGIiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-11007?atlOrigin=eyJpIjoiODczNDZmYjNkNmIxNDlhZDgyMTcxNTg4YTY0OGM0ZGIiLCJwIjoiaiJ9
) GEOS-11007 (
https://osgeo-org.atlassian.net/browse/GEOS-11007?atlOrigin=eyJpIjoiODczNDZmYjNkNmIxNDlhZDgyMTcxNTg4YTY0OGM0ZGIiLCJwIjoiaiJ9
) NullPointerException raised with WFS queries on database (
https://osgeo-org.atlassian.net/browse/GEOS-11007?atlOrigin=eyJpIjoiODczNDZmYjNkNmIxNDlhZDgyMTcxNTg4YTY0OGM0ZGIiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.22.3 Assignee: Unassigned Attachments:
Erreur Geoserver.txt Components: WFS Created: 01/Jun/23 4:25 PM Environment:
* GeoServer 2.22.0
* Révision Git dbc9f525ed9f98d8ac5d128c1a765b8a37092f7d
* Build Date 17-Nov-2022 18:23
* GeoTools 28.0 (rev 93b0abe9bc755432862825e19306e8b8e7114c2d)
* GeoWebCache 1.22.0 (rev 1.22.x/ba83cb90b873cb98b7f418f577a4ae8b3ec1adbf)
Priority: Medium Reporter: Nicolas Vila (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A57d195c8-1700-457b-aee5-94352f9bc98c
)
Hi,
I’m facing a strange issue while sending request on a database table with WFS.
What I find out:
* Removing the paging make it works but can send back unwanted features.
* If I let the paging, it crashes
* If I let the paging and manually add “sortBy” parameter in the WFS query, it
seems to work.
I suspect the issue to be related to the database. The table does not contain a
Primary Key. Maybe sorting depends on the primary key? Please find enclosed the
Geoserver log and stacktrace.
The issue occurs in this class, at
org.geotools.data.transform.TransformFeatureCollection.openIterator(TransformFeatureCollection.java:130)
https://github.com/geotools/geotools/blob/27.x/modules/extension/transform/src/main/java/org/geotools/data/transform/TransformFeatureCollection.java
Regards.
(
https://osgeo-org.atlassian.net/browse/GEOS-11007#add-comment?atlOrigin=eyJpIjoiODczNDZmYjNkNmIxNDlhZDgyMTcxNTg4YTY0OGM0ZGIiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-11007#add-comment?atlOrigin=eyJpIjoiODczNDZmYjNkNmIxNDlhZDgyMTcxNTg4YTY0OGM0ZGIiLCJwIjoiaiJ9
)
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#100225-
sha1:40c4da4 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel