Closed mahskeeter closed 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
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 .
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.
@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
Replaced with Issue #836
Getting a force close upon startup.