GeoTools swallows exception by registering a JAI listener

Description

The actualy exceptions which are thrown during the computation in an operator are often swallowed and instead a NullPointerException is thrown.
This is caused by GeoTools. It replaced its own listener to JAI and changes the behaviour.
The original JAI listener rethrows exceptions but the GeoTools listener ignores them.

In order to prevent GeoTools from replacing the listener we have to set our own listener which mimics the original one.

Environment

None

Assignee

Marco Peters

Reporter

Marco Peters

Labels

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Major
Configure