asolfre / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

little bug noticed. #495

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.using locale service to set on location
2.
3.appears to crash

What is the expected output? What do you see instead?

Please paste the application's log here (it should now be on your
clipboard):
D/AndroidRuntime( 2837): Shutting down VM
E/AndroidRuntime( 2837): FATAL EXCEPTION: main
E/AndroidRuntime( 2837): java.lang.RuntimeException: Unable to start receiver 
org.damazio.notifier.locale.FireReceiver: java.lang.NullPointerException: 
enumType == null || name == null
E/AndroidRuntime( 2837):    at 
android.app.ActivityThread.handleReceiver(ActivityThread.java:2236)
E/AndroidRuntime( 2837):    at 
android.app.ActivityThread.access$1500(ActivityThread.java:130)
E/AndroidRuntime( 2837):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1271)
E/AndroidRuntime( 2837):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2837):    at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2837):    at 
android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 2837):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime( 2837):    at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2837):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 2837):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 2837):    at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2837): Caused by: java.lang.NullPointerException: enumType == 
null || name == null
E/AndroidRuntime( 2837):    at java.lang.Enum.valueOf(Enum.java:182)
E/AndroidRuntime( 2837):    at 
org.damazio.notifier.locale.LocaleSettings$OnOffKeep.valueOf(LocaleSettings.java
:1)
E/AndroidRuntime( 2837):    at 
org.damazio.notifier.locale.FireReceiver.getOnOffKeep(FireReceiver.java:56)
E/AndroidRuntime( 2837):    at 
org.damazio.notifier.locale.FireReceiver.onReceive(FireReceiver.java:51)
E/AndroidRuntime( 2837):    at 
android.app.ActivityThread.handleReceiver(ActivityThread.java:2229)
E/AndroidRuntime( 2837):    ... 10 more
D/RemoteNotifier( 3741): Using real bluetooth utils

What version of Android are you using?
I'm using a jellybean ROM.

Original issue reported on code.google.com by tysoncsm...@gmail.com on 5 Jul 2012 at 12:15