2.13.1 getmap causes Failed to reproject the envelope ReferencedEnvelope

Description

in 2.13.1 (in 2.11.2 it was still ok ) a getmap request asking for 3857 (data is in 31370) queries a wrong boundingbox.
See piece of log below

I attach a shapefile, and two responses for the same request on 2.13.1 (bad) and 2.11.2 (good)

The request =

SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=412543.0489612485981,6632656.030817138031,412652.8646435743431,6632771.860431895591&CRS=EPSG:3857&WIDTH=1324&HEIGHT=1396&LAYERS=GRB:gbg&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE

2018-06-29 11:10:51,577 DEBUG [org.geotools.rendering] - Expanding rendering area by 2 pixels to consider stroke width
2018-06-29 11:10:51,577 DEBUG [org.geotools.renderer.crs] - Failed to reproject the envelope ReferencedEnvelope[413143.50049579074 : 413269.43122865126, 6635286.974285652 : 6635419.823359457] to GEOGCS["WGS84(DD)",
DATUM["WGS84",
SPHEROID["WGS84", 6378137.0, 298.257223563]],
PRIMEM["Greenwich", 0.0],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH]] trying an area restriction
2018-06-29 11:10:51,578 DEBUG [org.geotools.renderer.crs] - Failed to reproject the envelope ReferencedEnvelope[413143.50049579074 : 413269.43122865126, 6635286.974285652 : 6635419.823359457] to PROJCS["Belge 1972 / Belgian Lambert 72",

Environment

Azure appservice, tomcat 8.0.44, jdk1.8.0_73

Status

Assignee

Unassigned

Reporter

Bart Verbeeck

Triage

Fix versions

Affects versions

Components

Priority

High
Configure