Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Android: Java exception after some time of running animations

$
0
0

I'm working on an app where we've created a screen similar to the homescreen of WindowsPhone, with the tiles (flipping animation also) and a slide of news messages in the top that fades trough all news items with an image and text label.
After some time of running the app, sometimes 1 minute, but most of the times around 5 minutes, the app creashes.
I'm not exactly sure what to do with the exception I get, I guess the issue is inside the framework?

Any help on what I can do would be really helpful as I'm not sure if the issue is related to my code or the framework.

The android log:

11-04 09:25:06.926 I/mono-stdout( 3293): Starting rotate of tile with index=1
11-04 09:25:06.926 I/mono-stdout( 3293): Rotate finished of tile with index=1
11-04 09:25:07.596 I/mono-stdout( 3293): Schoolreis: ShowSlide() Headline={0}
11-04 09:25:07.746 I/mono-stdout( 3293): Schoolreis: ShowSlide() Headline={0}
11-04 09:25:08.936 E/qcom_sensors_hal( 751): hal_process_report_ind: Bad item quality: 11
11-04 09:25:09.386 I/mono-stdout( 3293): Selecting tile with index=2 for rotate
11-04 09:25:09.386 I/mono-stdout( 3293): Starting rotate of tile with index=2
11-04 09:25:09.396 I/mono-stdout( 3293): Rotate finished of tile with index=2
11-04 09:25:09.676 I/mono-stdout( 3293): Selecting tile with index=2 for rotate
11-04 09:25:09.676 I/mono-stdout( 3293): Starting rotate of tile with index=2
11-04 09:25:09.676 I/mono-stdout( 3293): Rotate finished of tile with index=2
11-04 09:25:10.856 I/mono-stdout( 3293): Camping Julianahoeve tevreden: ShowSlide() Headline={0}
11-04 09:25:10.986 I/mono-stdout( 3293): Camping Julianahoeve tevreden: ShowSlide() Headline={0}
11-04 09:25:11.796 D/dalvikvm( 3293): GC_CONCURRENT freed 15304K, 23% free 20698K/26696K, paused 4ms+1ms, total 45ms
11-04 09:25:11.796 D/Mono ( 3293): GC_BRIDGE waiting for bridge processing to finish
11-04 09:25:11.806 D/dalvikvm( 3293): GC_EXPLICIT freed 2K, 23% free 20696K/26696K, paused 1ms+2ms, total 16ms
11-04 09:25:11.816 D/Mono ( 3293): GC_OLD_BRIDGE num-objects 217 num_hash_entries 296 sccs size 296 init 0.00ms df1 0.55ms sort 0.06ms dfs2 0.47ms setup-cb 0.17ms free-data 0.11ms links 87/87/87/2 dfs passes 600/383
11-04 09:25:11.816 D/Mono ( 3293): GC_MAJOR: (LOS overflow) pause 20.08ms, total 20.69ms, bridge 18.25ms major 2896K/2864K los 102K/16486K
11-04 09:25:11.846 E/mono ( 3293):
11-04 09:25:11.846 E/mono ( 3293): Unhandled Exception:
11-04 09:25:11.846 E/mono ( 3293): Java.Lang.IllegalStateException: Exception of type 'Java.Lang.IllegalStateException' was thrown.
11-04 09:25:11.846 E/mono ( 3293): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in :0
11-04 09:25:11.846 E/mono ( 3293): at Android.Runtime.JNIEnv.CallVoidMethod (IntPtr jobject, IntPtr jmethod) [0x00000] in :0
11-04 09:25:11.846 E/mono ( 3293): at Android.Animation.Animator.Cancel () [0x00000] in :0
11-04 09:25:11.846 E/mono ( 3293): at Xamarin.Forms.Platform.Android.AndroidTicker.DisableTimer () [0x00000] in :0
11-04 09:25:11.846 E/mono ( 3293): at Xamarin.Forms.Ticker.Disable () [0x00000] in :0
11-04 09:25:11.846 E/mono ( 3293): at Xamarin.Forms.Ticker.Remove (Int32 handle) [0x00000] in :0
11-04 09:25:11.846 E/mono ( 3293): at Xamarin.Forms.Tweener.Finalize () [0x00000] in :0
11-04 09:25:11.846 E/mono ( 3293): --- End of managed exception stack trace ---
11-04 09:25:11.846 E/mono ( 3293): java.lang.IllegalStateException: The current thread must have a looper!
11-04 09:25:11.846 E/mono ( 3293): at android.view.Choreographer$1.initialValue(Choreographer.java:96)
11-04 09:25:11.846 E/mono ( 3293): at android.view.Choreographer$1.initialValue(Choreographer.java:91)
11-04 09:25:11.846 E/mono ( 3293): at java.lang.ThreadLocal$Values.getAfterMiss(ThreadLocal.java:430)
11-04 09:25:11.846 E/mono ( 3293): at java.lang.ThreadLocal.get(ThreadLocal.java:65)
11-04 09:25:11.846 E/mono ( 3293): at android.view.Choreographer.getInstance(Choreographer.java:194)
11-04 09:25:11.846 E/mono ( 3293): at android.animation.ValueAnimator$AnimationHandler.(ValueAnimator.java:578)
11-04 09:25:11.846 E/mono ( 3293): at android.animation.ValueAnimator$AnimationHandler.(ValueAnimator.java:553)
11-04 09:25:11.846 E/mono ( 3293): at android.animation.ValueAnimator.getOrCreateAnimationHandler(ValueAnimator.java:1334)
11-04 09:25:11.846 E/mono ( 3293): at android.animation.ValueAnimator.cancel(ValueAnimator.java:953)
11-04 09:25:11.846 E/mono ( 3293): at dalvik.system.NativeStart.run(Native Method)
11-04 09:25:11.846 E/mono ( 3293):
11-04 09:25:11.876 I/ActivityManager( 751): Process com.advantive.smartme (pid 3293) has died.
11-04 09:25:11.876 I/WindowState( 751): WIN DEATH: Window{434dbcd0 u0 com.advantive.smartme/smartme.droid.MainActivity}
11-04 09:25:11.886 W/ActivityManager( 751): Force removing ActivityRecord{4345afe0 u0 com.advantive.smartme/smartme.droid.MainActivity t3}: app died, no saved state
11-04 09:25:11.896 D/Zygote ( 181): Process 3293 exited cleanly (255)
11-04 09:25:11.986 W/Binder ( 966): Caught a RuntimeException from the binder stub implementation.
11-04 09:25:11.986 W/Binder ( 966): java.lang.NullPointerException
11-04 09:25:11.986 W/Binder ( 966): at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
11-04 09:25:11.986 W/Binder ( 966): at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
11-04 09:25:11.986 W/Binder ( 966): at android.os.Binder.execTransact(Binder.java:404)
11-04 09:25:11.986 W/Binder ( 966): at dalvik.system.NativeStart.run(Native Method)
11-04 09:25:11.986 W/InputMethodManagerService( 751): Got RemoteException sending setActive(false) notification to pid 3293 uid 10098
11-04 09:25:12.026 E/qcom_sensors_hal( 751): hal_process_report_ind: Bad item quality: 11
11-04 09:25:12.036 D/dalvikvm( 1418): GC_FOR_ALLOC freed 194K, 8% free 18674K/20292K, paused 15ms, total 15ms
11-04 09:25:12.036 I/MicrophoneInputStream( 1418): mic_starting fib@431468c8
11-04 09:25:12.056 D/dalvikvm( 1418): GC_CONCURRENT freed 22K, 5% free 19299K/20292K, paused 2ms+3ms, total 20ms
11-04 09:25:12.056 I/HotwordRecognitionRnr( 1418): Starting hotword detection.
11-04 09:25:12.066 D/audio_hw_primary( 183): select_devices: out_snd_device(0: ) in_snd_device(35: voice-rec-mic)
11-04 09:25:12.066 D/ ( 183): Failed to fetch the lookup information of the device 0000003E
11-04 09:25:12.066 E/ACDB-LOADER( 183): Error: ACDB AudProc vol returned = -19


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>