Android Question App crash without filter logs

Emme Developer

Well-Known Member
Licensed User
Hi to all! I've an application that crashes in some devices. I tried to understand where is the problem, but without success. I tried to put a log in Application_Error on starter service, but this is never handled. I tried to check the log, but i don't get any crash in the log.
By analizing the unfiltered log, i discovered this, but i don't understand where can be the problem. What this log means? I never use Animation library, and i don't use SetLayoutAnimated..
Many thanks

art/runtime/] JNI DETECTED ERROR IN APPLICATION: obj == null
art/runtime/]     in call to CallVoidMethodV
art/runtime/]     from void android.animation.PropertyValuesHolder.nCallFloatMethod(java.lang.Object, long, float)
art/runtime/] "main" prio=5 tid=1 Runnable
art/runtime/]   | group="main" sCount=0 dsCount=0 obj=0x73f47000 self=0xb8329090
art/runtime/]   | sysTid=16419 nice=0 cgrp=default sched=0/0 handle=0xb6f63ec8
art/runtime/]   | state=R schedstat=( 2542743225 56133323 694 ) utm=213 stm=41 core=1 HZ=100
art/runtime/]   | stack=0xbe083000-0xbe085000 stackSize=8MB
art/runtime/]   | held mutexes= "mutator lock"(shared held)
art/runtime/]   native: #00 pc 00004c58  /system/lib/ (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
art/runtime/]   native: #01 pc 000034c1  /system/lib/ (Backtrace::Unwind(unsigned int, ucontext*)+8)
art/runtime/]   native: #02 pc 002458bd  /system/lib/ (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)
art/runtime/]   native: #03 pc 0022acaf  /system/lib/ (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+146)
art/runtime/]   native: #04 pc 000b00ef  /system/lib/ (art::JniAbort(char const*, char const*)+582)
art/runtime/]   native: #05 pc 000b081f  /system/lib/ (art::JniAbortF(char const*, char const*, ...)+58)
art/runtime/]   native: #06 pc 0019b9a3  /system/lib/ (art::JNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+674)
art/runtime/]   native: #07 pc 00062e8f  /system/lib/ (???)
art/runtime/]   native: #08 pc 0007156d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_android_animation_PropertyValuesHolder_nCallFloatMethod__Ljava_lang_Object_2JF+132)
art/runtime/]   at android.animation.PropertyValuesHolder.nCallFloatMethod(Native method)
art/runtime/]   at android.animation.PropertyValuesHolder.access$400(
art/runtime/]   at android.animation.PropertyValuesHolder$FloatPropertyValuesHolder.setAnimatedValue(
art/runtime/]   at android.animation.ObjectAnimator.animateValue(
art/runtime/]   at android.animation.ValueAnimator.animationFrame(
art/runtime/]   at android.animation.ValueAnimator.doAnimationFrame(
art/runtime/]   at android.animation.ValueAnimator$AnimationHandler.doAnimationFrame(
art/runtime/]   at android.animation.ValueAnimator$
art/runtime/]   at android.view.Choreographer$
art/runtime/]   at android.view.Choreographer.doCallbacks(
art/runtime/]   at android.view.Choreographer.doFrame(
art/runtime/]   at android.view.Choreographer$
art/runtime/]   at android.os.Handler.handleCallback(
art/runtime/]   at android.os.Handler.dispatchMessage(
art/runtime/]   at android.os.Looper.loop(
art/runtime/]   at
art/runtime/]   at java.lang.reflect.Method.invoke!(Native method)
art/runtime/]   at java.lang.reflect.Method.invoke(
art/runtime/]   at$
art/runtime/]   at
Fatal signal 6 (SIGABRT), code -6 in tid 16419 (hey.bubblebrain)
Suppressing debuggerd output because prctl(PR_GET_DUMPABLE)==0
channel 'ea8ea4b com.hey.bubblebrain/com.hey.bubblebrain.main (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
channel 'ea8ea4b com.hey.bubblebrain/com.hey.bubblebrain.main (server)' ~ Channel is unrecoverably broken and will be disposed!
[GuiExtS] binder of dump tunnel(RB-0xb83cab68) died
[com.hey.bubblebrain/com.hey.bubblebrain.main](this:0xb70a87b0,id:222,api:1,p:-1,c:135) disconnect(P): api 1
[com.hey.bubblebrain/com.hey.bubblebrain.main](this:0xb70a87b0,id:222,api:1,p:-1,c:135) getReleasedBuffers: returning mask 0xffffffffffffffff
 closing because is_eof=1 r=0 s->fde.force_eof=0
entered. LS(104) fd=21
Process 16419 exited due to signal (6)
EventThread Client Pid (16419) disconnected by (135)
EventThread Client Pid (16419) disconnected by (135)
Display listener for pid 16419 died.
Client connection lost with reason: 4
WIN DEATH: Window{371fe2e6 u0 Toast EXITING}
Process com.hey.bubblebrain (pid 16419) has died
notify app switch quit packageName=com.hey.bubblebrain
notifyAppSwitch resumed: false; pkg:com.hey.bubblebrain
WIN DEATH: Window{ea8ea4b u0 com.hey.bubblebrain/com.hey.bubblebrain.main}
Attempted to unregister already unregistered input channel 'ea8ea4b com.hey.bubblebrain/com.hey.bubblebrain.main (server)'
SVC-UNBIND_SERVICE handled : 0 / BindServiceData{token=android.os.BinderProxy@4fe47a1 intent=Intent { }}
Scheduling restart of crashed service com.hey.bubblebrain/.starter in 1000ms
Scheduling restart of crashed service com.hey.bubblebrain/.sendnotification in 1000ms

Emme Developer

Well-Known Member
Licensed User
Are you able to reproduce it?

The layouts themselves use animation, unless you set the animation duration to 0. Though I don't remember seeing any report such as this one.
I'm able to reproduce it only on some devices, but i don't know which is the problem because it happens at first activity.
I tried also to set animation to 0 in all layouts, but without luck
Upvote 0

Emme Developer

Well-Known Member
Licensed User
That's good. You should add some log messages to better understand when it happens.

If it happens when the app starts then try to comment out some of the code until you find what causes it.
I finally figured out in what is the problem.
jo.RunMethod("setStateListAnimator", Array(Null))
I don't know why app crashes, because StateListAnimator was introduced in API 21, my device has sdk 21 and this is the code that i use..

Sub setElevation (b As View ,f As Float)
    Dim sdk As Phone
    Dim jo As JavaObject = b
    If sdk.SdkVersion > 20 Then
        jo.RunMethod("setElevation",Array As Object(f))
        jo.RunMethod("setStateListAnimator", Array(Null))
    End If
End Sub

So i'm trying to remove the shadow in another way
Upvote 0