java.lang.IllegalArgumentException: ucnv_fromUnicode failed: U_ILLEGAL_ARGUMENT_ERROR

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by 4ntoine
, 1 year ago
ucnv_fromUnicode failed: U_ILLEGAL_ARGUMENT_ERROR
java.lang.IllegalArgumentException: ucnv_fromUnicode failed: U_ILLEGAL_ARGUMENT_ERROR
at libcore.icu.NativeConverter.encode(NativeConverter.java)
at java.nio.charset.CharsetEncoderICU.implFlush(CharsetEncoderICU.java:140)
at java.nio.charset.CharsetEncoder.flush(CharsetEncoder.java:464)
at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:266)
at java.nio.charset.CharsetEncoder.canEncode(CharsetEncoder.java:202)
at undefined.CorrectLocationUtfTokenizable.isPureAscii(CorrectLocationUtfTokenizable.java:38)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.