"UnsupportedOperationException" during upload Android file
See original GitHub issueEnvironment
– Java – : openjdk 12 2019-03-19 OpenJDK Runtime Environment (build 12+33) OpenJDK 64-Bit Server VM (build 12+33, mixed mode, sharing)
– OS – : System Version: macOS 10.14.3 (18D109) Kernel Version: Darwin 18.2.0
– CLI – : crowdin: stable 2.0.28
Reproduce
$ crowdin upload sources --config crowdin.yml
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.crowdin.cli.commands.Commands.initCli(Commands.java:858)
at com.crowdin.cli.commands.Commands.initialize(Commands.java:128)
at com.crowdin.cli.commands.Commands.run(Commands.java:232)
at com.crowdin.cli.Cli.main(Cli.java:17)
Caused by: java.lang.UnsupportedOperationException: No class provided, and an appropriate one cannot be found.
at org.apache.logging.log4j.LogManager.callerClass(LogManager.java:555)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:580)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:567)
at com.crowdin.client.CrowdinApiClientImpl.<clinit>(CrowdinApiClientImpl.java:22)
... 4 more
Update
It’s seems to be issue of compatibility with my java version. I got it working with
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
As I prefer to use the latest SDK system wide, i’m using jenv to set the java version inside the folder where I use crowdin.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
UnsupportedOperationException with MultiPart file upload ...
When using an alternative FileSystem with FilePart.transferTo I am seeing an UnsupportedOperationException thrown during multipart file upload.
Read more >Problem forking build scan upload... java.lang ...
Problem forking build scan upload FAILURE: Build failed with an exception. * What went wrong: java.lang.UnsupportedOperationException (no ...
Read more >How to Fix the Unsupported Operation Exception in Java
An UnsupportedOperationException is thrown when a requested operation cannot be performed because it is not supported for that particular class.
Read more >Support File Upload for X.509 authenticated devices #371
Exception in thread "main" java.lang.UnsupportedOperationException: File Upload does not support x509 authentication
Read more >Android N crashes in TextAppearanceSpan with Failed to ...
It is somehow related to creating a WebView. If I do not create the WebView, then the crash does not happen. BackStack: java.lang.UnsupportedOperationException: ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi there @anis-campos ! Our developers are aware of this kind of issue and already working to fix it in the nearest! Really glad to hear that you’ve found a workaround for the time being. We’ll let you know as soon as everything is ready.
This is great news! Thanks for the confirmation!