NumberFormatException on DecimalTextField with value NaN

Description

This issue appears to have been introduced by GEOS-7621.

When a DecimalTextField or similar is passed the value NaN, then validated, a NumberFormatException is thrown:

This occurs because the wicket AbstractNumberConverter uses BigDecimals, which cannot handle NaN or +/- infinity.

Environment

None

Activity

Show:
Torben Barsballe
August 4, 2016, 11:59 PM
Andrea Aime
February 15, 2017, 11:47 AM

Mass closing all resolved issues not modified in the last 4 weeks

Assignee

Torben Barsballe

Reporter

Torben Barsballe

Triage

None

Fix versions

Affects versions

Priority

Medium
Configure