Imran Rajjad created an issue |
Issue Type: |
Bug |
---|---|
Affects Versions: |
2.18-RC |
Assignee: |
Unassigned |
Components: |
WMS |
Created: |
08/Sep/20 8:41 AM |
Priority: |
Medium |
Reporter: |
Steps to re-produce: For the below GetMap request in XML format <?xml version=“1.0” encoding=“UTF-8”?> Make a POST request with workspace as part of URL. curl -u admin:geoserver -H “Content-Type: text/xml” -X POST http://localhost:8080/geoserver/topp/wms --data @wms_post.xml The request will fail with error message: <?xml version=“1.0” encoding=“UTF-8”?><ows:ExceptionReport xmlns:xs=“http://www.w3.org/2001/XMLSchema” xmlns:ows=“http://www.opengis.net/ows” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” version=“1.0.0” xsi:schemaLocation=“http://www.opengis.net/ows http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd”> The root cause: The Null pointer error is being generated from https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/WMSWorkspaceQualifier.java#L28 There is no NULL check on rawKvp in requests, which are NULL for XML payload based post requests. |
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#100145-sha1:9e8df96) |