|
Nuno Oliveira created an issue |
Performing a WMTS GetCapabilities request with layer groups provokes a NPE |
Issue Type: |
|
---|---|
Assignee: |
Unassigned |
Attachments: |
stacktrace.txt |
Components: |
GWC |
Created: |
05/Apr/17 12:04 PM |
Priority: |
|
Reporter: |
To reproduce this error just perform a WMTS get capabilities request where group layers are included, a NULL pointer exception will be throw (full stack trace attached):
This happens because GeoServer doesn’t returns an empty map (default behavior of the overridden method) but instead NULL when no legends are available. This typically happens for layer groups which don’t have legends associated. The line of code that does this: GWC code can also be made more robust by ignoring NULL values. |
This message was sent by Atlassian JIRA (v1000.883.0#100040-sha1:084968a) |
|