java.lang.IllegalArgumentException

averageBytesPerChar is greater than maxBytesPerChar

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7668

  • averageBytesPerChar is greater than maxBytesPerChar
  • via GitHub by melkhaldi
    , 1 year ago
    end is greater than length: 108 > 78
  • requirement failed: Min é is greater than max a
  • Stack trace

    • java.lang.IllegalArgumentException: averageBytesPerChar is greater than maxBytesPerChar at java.nio.charset.CharsetEncoder.<init>(CharsetEncoder.java) at java.nio.charset.CharsetEncoderICU.<init>(CharsetEncoderICU.java) at java.nio.charset.CharsetEncoderICU.newInstance(CharsetEncoderICU.java:74) at java.nio.charset.CharsetICU.newEncoder(CharsetICU.java:27) at com.android.internal.util.FastXmlSerializer.setOutput(FastXmlSerializer.java:313) at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:184) at android.app.SharedPreferencesImpl.writeToFile(SharedPreferencesImpl.java:597) at android.app.SharedPreferencesImpl.access$800(SharedPreferencesImpl.java:51) at android.app.SharedPreferencesImpl$2.run(SharedPreferencesImpl.java:512) at android.app.SharedPreferencesImpl.enqueueDiskWrite(SharedPreferencesImpl.java:533) at android.app.SharedPreferencesImpl.access$100(SharedPreferencesImpl.java:51) at android.app.SharedPreferencesImpl$EditorImpl.commit(SharedPreferencesImpl.java:455) at com.exacttarget.etpushsdk.util.a.a(SourceFile:35) at com.exacttarget.etpushsdk.util.e.run(SourceFile:348) at java.lang.Thread.run(Thread.java:818)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.