gicait / geoserver-rest

Python library for management of geospatial data in GeoServer.
https://geoserver-rest.readthedocs.io
MIT License
197 stars 79 forks source link

Bug Report: GeoServer 2.26 Compatibility Issue #169

Closed pedro-cf closed 1 week ago

pedro-cf commented 1 week ago

Description The geoserver-rest package is not working with GeoServer 2.26. Attempting to create a workspace results in a 500 Internal Server Error.

Environment

Steps to Reproduce

  1. Connect to GeoServer using the package
  2. Attempt to create a workspace
from geo.Geoserver import Geoserver
geoserver = Geoserver('http://localhost:8080/geoserver', username='admin', password='geoserver')
geoserver.create_workspace("test_workspace")

Error Message

GeoserverException: Status : 500 - Cannot invoke "java.util.Collection.iterator()" because "attributes" is null

Stack trace shows a NullPointerException in GeoServerSecurityInterceptorFilter.java:83
pedro-cf commented 1 week ago

Seems to be an issue on Geoserver's side