Sounds like my recent issue in Java with underlying library icu4j, which gives a nice start error ("Invalid version number: Version number may be negative or greater than 255"). Is an issue on quite a few versions of this lib.
What kind of idiot thought hard enough when doing this to actually create a custom error message instead of letting it go is slightly beyond my comprehension.