DroidPlanner / Tower

Ground Control Station for Android Devices
https://play.google.com/store/apps/details?id=org.droidplanner.android
Other
621 stars 554 forks source link

force close on HTC One for Sprint. #728

Closed mahskeeter closed 10 years ago

mahskeeter commented 10 years ago

Getting a force close upon startup.

m4gr3d commented 10 years ago

@mahskeeter could you please provide a copy of the logcat when the force close occurs. Here are some instructions on how to access it: https://android.stackexchange.com/questions/33216/how-can-i-get-a-logcat

arthurbenemann commented 10 years ago

You can also provide us with the logcat dump thats generated by droidplaner. Just open your device file system, by connecting it via usb to a pc, copy and past the latest file in /droidplanner/logcat/ Em 24/04/2014 08:04, "Fredia Huya-Kouadio" notifications@github.com escreveu:

@mahskeeter https://github.com/mahskeeter could you please provide a copy of the logcat when the force close occurs. Here are some instructions on how to access it: https://android.stackexchange.com/questions/33216/how-can-i-get-a-logcat

— Reply to this email directly or view it on GitHubhttps://github.com/DroidPlanner/droidplanner/issues/728#issuecomment-41290774 .

mahskeeter commented 10 years ago

Here is a log. I believe I have uninstalled and installed also.

Pasted below: java.lang.RuntimeException: Unable to create application org.droidplanner.android.DroidPlannerApp: java.lang.NullPointerException at android.app.ActivityThread.handleBindApplication(ActivityThread.java) at android.app.ActivityThread.access$1500(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java) at android.os.Handler.dispatchMessage(Handler.java) at android.os.Looper.loop(Looper.java) at android.app.ActivityThread.main(ActivityThread.java) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at org.droidplanner.android.notifications.TTSNotificationProvider.onInit(TTSNotificationProvider.java:40) at android.speech.tts.TextToSpeech.dispatchOnInit(TextToSpeech.java) at android.speech.tts.TextToSpeech.initTts(TextToSpeech.java) at android.speech.tts.TextToSpeech.(TextToSpeech.java) at android.speech.tts.TextToSpeech.(TextToSpeech.java) at android.speech.tts.TextToSpeech.(TextToSpeech.java) at org.droidplanner.android.notifications.TTSNotificationProvider.(TTSNotificationProvider.java:34) at org.droidplanner.android.notifications.NotificationHandler.(NotificationHandler.java:32) at org.droidplanner.android.DroidPlannerApp.onCreate(DroidPlannerApp.java:36) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java) ... 11 more

arthurbenemann commented 10 years ago

@mahskeeter: That's really useful.

If you can try compiling the source without the TTS stuff, like in here: https://github.com/DroidPlanner/droidplanner/blob/master/Android/src/org/droidplanner/android/notifications/NotificationHandler.java#L32

squilter commented 10 years ago

Replaced with Issue #836