Closed Ragin-LundF closed 1 year ago
Hi @Ragin-LundF ,
Thanks for reporting the issue. Not likely a feature, unless you want NPEs thrown at you :D I'll look into it over the weekend. Unless you'd like to submit a PR with a fix?
I think I've found the problem, but I want to add some tests for the fix and make sure it doesn't break anything else, so a new RC version with a fix is coming later this week.
For the time being, you can use "de"
as locale, which should work fine on both 1.12.0 and latest RC of 1.13.0. It also produces exactly same values as "de-DE"
, since "de-DE"
falls-back to using https://github.com/serpro69/kotlin-faker/blob/21e4183f5fe47e03900774e8ebf7a92c7a289533/core/src/main/resources/locales/de.yml dict file anyways.
Thank you so much for analyzing the issue so fast. locale "de" worked fine ;).
FYI, the fix is available in 1.13.0-rc.3, if you want to go back to using de-DE
locale.
Version: 1.12.0
Since 1.12.0, when I try to fake a name, I always get this exception. In 1.11.0 it worked:
My code (reduced):
Is this a bug or a feature?