[Geoserver-devel] [JIRA] (GEOS-8543) Demo request page - invalid error response

Torben Barsballe created an issue

GeoServer / BugGEOS-8543

Demo request page - invalid error response

Issue Type:

BugBug

Assignee:

Unassigned

Created:

22/Jan/18 8:31 PM

Priority:

MediumMedium

Reporter:

Torben Barsballe

When Data or Service security limits are set such that the Unauthenticated user cannot view the results of a request, there is an error in the error response:

XML Parsing Error: XML or text declaration not at start of entity
Location: http://localhost:8080/geoserver/TestWfsPost
Line Number 3, Column 1:

<?xml version=“1.0” encoding=“UTF-8”?>

^

Using developer tools network tab shows the following:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;servlet-exception&gt;
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;servlet-exception&gt;
java.lang.NullPointerException
&lt;/servlet-exception&gt;

It appears that the beginning section of the XML response is duplicated

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#100076-sha1:948d923)

Atlassian logo