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 Salesforce by Manas Prasher
, 1 year ago
averageBytesPerChar is greater than maxBytesPerChar
java.lang.IllegalArgumentException: averageBytesPerChar is greater than maxBytesPerChar	at java.nio.charset.CharsetEncoder.(CharsetEncoder.java)	at java.nio.charset.CharsetEncoderICU.(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)