question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UnknownFormatConversionException: Conversion

See original GitHub issue

From google groups forum

USER_COMMENT=
APP_VERSION_CODE=1025
APP_VERSION_NAME=3.1.1
ANDROID_VERSION=11
PHONE_MODEL=vivo 1906
STACK_TRACE=java.util.UnknownFormatConversionException: Conversion = 'အ'
at java.util.Formatter$FormatSpecifier.conversion(Formatter.java:2782)
at java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2812)
at java.util.Formatter$FormatSpecifierParser.<init>(Formatter.java:2625)
at java.util.Formatter.parse(Formatter.java:2558)
at java.util.Formatter.format(Formatter.java:2505)
at java.util.Formatter.format(Formatter.java:2459)
at java.lang.String.format(String.java:2911)
at android.content.res.Resources.getQuantityString(Resources.java:646)
at fr.free.nrw.commons.upload.license.MediaLicenseFragment.updateLicenseSummary(MediaLicenseFragment.java:169)
at fr.free.nrw.commons.upload.license.MediaLicensePresenter.selectLicense(MediaLicensePresenter.java:75)
at fr.free.nrw.commons.upload.license.MediaLicenseFragment$2.onItemSelected(MediaLicenseFragment.java:132)
at android.widget.AdapterView.fireOnSelected(AdapterView.java:957)
at android.widget.AdapterView.dispatchOnItemSelected(AdapterView.java:946)
at android.widget.AdapterView.access$300(AdapterView.java:55)
at android.widget.AdapterView$SelectionNotifier.run(AdapterView.java:910)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:257)
at android.app.ActivityThread.main(ActivityThread.java:8218)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1016)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
misaochancommented, Oct 26, 2021

The person who submitted the most recent crash report responded - they are using the Myanmar language. They also said “i press the plus sign icon then choose the pic i wanna upload, but it immediately crashed and asked me to send email”.

1reaction
misaochancommented, Oct 26, 2021

Another report from a different user:

USER_COMMENT=it crash when i choose photo to upload
APP_VERSION_CODE=1025
APP_VERSION_NAME=3.1.1
ANDROID_VERSION=8.0.0
PHONE_MODEL=LDN-LX2
STACK_TRACE=java.util.UnknownFormatConversionException: Conversion = 'အ'
at java.util.Formatter$FormatSpecifier.conversion(Formatter.java:2781)
at java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2811)
at java.util.Formatter$FormatSpecifierParser.<init>(Formatter.java:2624)
at java.util.Formatter.parse(Formatter.java:2557)
at java.util.Formatter.format(Formatter.java:2504)
at java.util.Formatter.format(Formatter.java:2458)
at java.lang.String.format(String.java:2814)
at android.content.res.Resources.getQuantityString(Resources.java:562)
at fr.free.nrw.commons.upload.license.MediaLicenseFragment.updateLicenseSummary(MediaLicenseFragment.java:169)
at fr.free.nrw.commons.upload.license.MediaLicensePresenter.selectLicense(MediaLicensePresenter.java:75)
at fr.free.nrw.commons.upload.license.MediaLicenseFragment$2.onItemSelected(MediaLicenseFragment.java:132)
at android.widget.AdapterView.fireOnSelected(AdapterView.java:947)
at android.widget.AdapterView.dispatchOnItemSelected(AdapterView.java:936)
at android.widget.AdapterView.-wrap1(Unknown Source:0)
at android.widget.AdapterView$SelectionNotifier.run(AdapterView.java:901)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:101)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7529)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

I emailed him as well, hopefully this one responds.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the Unknown Format Conversion Exception in Java
The UnknownFormatConversionException is thrown when an unknown conversion occurs while formatting data. This can happen when using a format ...
Read more >
Java UnknownFormatConversionException - Stack Overflow
UnknownFormatConversionException : Conversion = 'i' at java.util.Formatter$FormatSpecifier.conversion(Unknown Source) at java.util.
Read more >
UnknownFormatConversionExce...
public class UnknownFormatConversionException extends IllegalFormatException. Unchecked exception thrown when an unknown conversion is given.
Read more >
java.util.UnknownFormatConversionException: Conversion = 'D'
In API.java the code is: public JSONObject fetchPageOfPledges(String campaignID, int pageSize, String cursor) { String url ...
Read more >
Caused by: java.util.UnknownFormatConversionException ...
UnknownFormatConversionException : Conversion = 'p'. Discussion in 'Spigot Plugin Development' started by Nomar2005, Dec 28, 2017.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found