Java.Lang.IllegalArgumentException for 2days now

Kevin A 121 Reputation points
2021-03-25T23:14:50.777+00:00

Hi, this error is difficult because it provides no other feedback, except the following very cryptic :

Pending exception java.lang.IllegalArgumentException:
[zygote] runtime.cc:523] (Throwable with no stack trace)
[zygote] runtime.cc:523]
[zygote] runtime.cc:531] JNI DETECTED ERROR IN APPLICATION: JNI CallObjectMethodA called with pending exception java.lang.IllegalArgumentException:
[zygote] runtime.cc:531] (Throwable with no stack trace)
[zygote] runtime.cc:531]
[zygote] runtime.cc:531] in call to CallObjectMethodA
[zygote] runtime.cc:531] from void mono.java.lang.RunnableImplementor.n_run()
[zygote] runtime.cc:531] "main" prio=5 tid=1 Runnable
[zygote] runtime.cc:531] | group="main" sCount=0 dsCount=0 flags=0 obj=0x72abf978 self=0xf0259000
[zygote] runtime.cc:531] | sysTid=18013 nice=-10 cgrp=default sched=0/0 handle=0xf4bde514
[zygote] runtime.cc:531] | state=R schedstat=( 47903883229 2698579967 9708 ) utm=4248 stm=542 core=0 HZ=100
[zygote] runtime.cc:531] | stack=0xff445000-0xff447000 stackSize=8MB
[zygote] runtime.cc:531] | held mutexes= "mutator lock"(shared held)
[zygote] runtime.cc:531] native: #00 pc 0047eae1 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)+209)
[zygote] runtime.cc:531] native: #01 pc 0057c193 /system/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+355)
[zygote] runtime.cc:531] native: #02 pc 00577693 /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+83)
[zygote] runtime.cc:531] native: #03 pc 00395256 /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1254)
[zygote] runtime.cc:531] native: #04 pc 003956c1 /system/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, char*)+113)
[zygote] runtime.cc:531] native: #05 pc 0014f207 /system/lib/libart.so (art::ScopedCheck::AbortF(char const*, ...)+71)
[zygote] runtime.cc:531] native: #06 pc 0014ed19 /system/lib/libart.so (art::ScopedCheck::CheckThread(_JNIEnv*)+457)
[zygote] runtime.cc:531] native: #08 pc 0014cf85 /system/lib/libart.so (art::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::JniValueType*)+853)
[zygote] runtime.cc:531] native: #09 pc 001527be /system/lib/libart.so (art::CheckJNI::CheckCallArgs(art::ScopedObjectAccess&, art::ScopedCheck&, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, art::InvokeType, art::VarArgs const*)+190)
[zygote] runtime.cc:531] native: #10 pc 00153420 /system/lib/libart.so (art::CheckJNI::CallMethodA(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*, art::Primitive::Type, art::InvokeType)+928)
[zygote] runtime.cc:531] native: #11 pc 0013d37b /system/lib/libart.so (art::CheckJNI::CallObjectMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)+75)
[zygote] runtime.cc:531] native: #12 pc 00004e68 /data/app/WF.FM-2efNn63x-LhlhDGpZjEc1Q==/lib/x86/libxa-internal-api.so (java_interop_jnienv_call_object_method_a+56)
[zygote] runtime.cc:531] native: #13 pc 0000164f (???)
[zygote] runtime.cc:531] at mono.java.lang.RunnableImplementor.n_run(Native method)
[zygote] runtime.cc:531] at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:30)
[zygote] runtime.cc:531] at android.os.Handler.handleCallback(Handler.java:790)
[zygote] runtime.cc:531] at android.os.Handler.dispatchMessage(Handler.java:99)
[zygote] runtime.cc:531] at android.os.Looper.loop(Looper.java:164)
[zygote] runtime.cc:531] at android.app.ActivityThread.main(ActivityThread.java:6494)
[zygote] runtime.cc:531] at java.lang.reflect.Method.invoke(Native method)
[zygote] runtime.cc:531] at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
[zygote] runtime.cc:531] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
[zygote] runtime.cc:531]
[libc] Fatal signal 6 (SIGABRT), code -6 in tid 18013 (WF.FM), pid 18013 (WF.FM)
[zygote] runtime.cc:531]

Tried tracing down all I could, using an interface that had no problem functioning a couple of days ago. Tried reinstalling all packages, deleting and creating a new solution, and commenting off various paths to identify the tab giving the problem. This tab then has 5 tabs, but commenting out each of those in succession made no difference.

Developer technologies C#
{count} votes

Accepted answer
  1. Kevin A 121 Reputation points
    2021-03-27T19:12:06.94+00:00

    Problem was with MediaElement, after a Nuget. Gave no indication though, and Javalanguage error had no origin indicator.
    Probably a good idea would be to get more diagnostic info on this one, as it took 3 days to figure it out.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.