[Geoserver-devel] [JIRA] (GEOS-8137) Metatiling may throw a ClassCastException: Raster cannot be cast to WritableRaster

Daniele Romagnoli created an issue

GeoServer / BugGEOS-8137

Metatiling may throw a ClassCastException: Raster cannot be cast to WritableRaster

Issue Type:

BugBug

Affects Versions:

2.10.3, 2.11.0

Assignee:

Daniele Romagnoli

Components:

WMS

Created:

10/May/17 12:59 PM

Fix Versions:

2.10.4, 2.11.1

Priority:

MediumMedium

Reporter:

Daniele Romagnoli

MetatileMapOutputFormat may throw a
java.lang.ClassCastException: java.awt.image.Raster cannot be cast to java.awt.image.WritableRaster
when dealing with PlanarImage.

There is a piece of code getting a translatedChild from the PlanarImage metaTile, which is cast to WritableRaster. An exception occurs in case the returned Child is not a WritableRaster but simply Raster instead.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.929.2#100040-sha1:94c1764)

Atlassian logo