NullPointerException during WMS request of layer group when caching is enabled

Description

colored textWhen making a GetMap request to a layer group, it gives me a NullPointer exception but only when caching is enabled for that layer. The request is successful if I disable caching for the layer group.

Here is the request being made:

Here is the exception stack trace:

Environment

GeoServer Version
2.12.1

Git Revision
5927e49e781ddcdbf9213d32a439418347c17480

Build Date
21-Nov-2017 22:02

GeoTools Version
18.1 (rev 306cf3bdde1bee0110dc1c3ba77819f1e294a45b)

GeoWebCache Version
1.12.1 (rev 1.12.x/22d18b47c9e80316d563c28d280602cb3dde624c)

Status

Assignee

Torben Barsballe

Reporter

Mitchell Bösecke

Triage

Fix versions

Affects versions

Components

Priority

Medium
Configure