Ubuntu's 'Online Accounts' & Shib - java lang.illegalargumentexception: range=en-us.utf-8
cantor.2 at osu.edu
Tue Jan 26 22:38:14 UTC 2021
On 1/26/21, 4:52 PM, "users on behalf of Ullfig, Roberto Alfredo" <users-bounces at shibboleth.net on behalf of rullfig at uic.edu> wrote:
> We have a user with this same issue. Is the problem that their computer has the locale set as en-us.utf-8 instead of
> en_us.utf-8? Found this which could be related:
Language tags for countries are hypenated, not underscored. Nor is ".utf-8" on the end legal I suspect but that may be slipped by as an unknown parameter on the country code, I don't know what the grammar is.
In either case, nobody has specifically explored exactly what Java doesn't like about it aside from that being an obviously wrong locale on the face of it because of the underscore.
If Java doesn't parse it, we won't honor it, but the bug that causes it to crash instead of being ignored was patched.
More information about the users