[Geoserver-devel] [JIRA] (GEOS-10113) Geofence rest NPE when requesting rule with void Layer details

Marco Volpini created an issue

GeoServer / BugGEOS-10113

Geofence rest NPE when requesting rule with void Layer details

Issue Type:

BugBug

Assignee:

Marco Volpini

Created:

15/Jun/21 2:08 PM

Priority:

MediumMedium

Reporter:

Marco Volpini

The NPE is triggered if layer type is null https://github.com/geoserver/geoserver/blob/main/src/extension/geofence/src/main/java/org/geoserver/geofence/rest/xml/JaxbRule.java#L385, which is a condition that might be easily happen if the user do not specify it from the UI.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100166-sha1:f329a46)

Atlassian logo