xhsyy / omnidroid

Automatically exported from code.google.com/p/omnidroid
Apache License 2.0
1 stars 0 forks source link

Crash when using "Time is day of week" filter #178

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to create a rule based on "Time is ", using the weekdays.

When I try to create it using these steps, I get a crash:

1. Create new rule
2. Time is > Time is > Add Filter > Time > Time is day of week

The messages indicates:

"Sorry! The application Omnidroid (process.edu.nyu.cs.omnidroid.app) has 
stopped unexpectedly. Please try again."

Clicking "Force close" makes it crash again with the same message.

Clicking "Force close" again brings back the initial welcome screen.

I am using CyanogenMod 7.2 (an unofficial port for the HTC Wildfire S - 
http://wiki.cyanogenmod.com/wiki/Unofficial_Ports#CyanogenMod_7_2). I also 
reproduced this same behavior on a Nook Color running CyanogenMod 7.1 (based on 
Android 2.3.7).

Original issue reported on code.google.com by magic...@gmail.com on 5 Mar 2012 at 5:03

GoogleCodeExporter commented 9 years ago
crash affects me too on CM10 nightly Xperia Pro.

Original comment by hendri...@gmail.com on 8 Apr 2013 at 4:59

GoogleCodeExporter commented 9 years ago
E/AndroidRuntime(11415): FATAL EXCEPTION: main
E/AndroidRuntime(11415): java.lang.RuntimeException: Unable to start activity 
ComponentInfo{edu.nyu.cs.omnidroid.app/edu.nyu.cs.omnidroid.app.view.simple.Acti
vityDlgFilterInput}: java.lang.IllegalArgumentException: Unknown filter ID: 12
E/AndroidRuntime(11415):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
E/AndroidRuntime(11415):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
E/AndroidRuntime(11415):    at 
android.app.ActivityThread.access$600(ActivityThread.java:130)
E/AndroidRuntime(11415):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/AndroidRuntime(11415):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(11415):    at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(11415):    at 
android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime(11415):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(11415):    at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(11415):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime(11415):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime(11415):    at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(11415): Caused by: java.lang.IllegalArgumentException: Unknown 
filter ID: 12
E/AndroidRuntime(11415):    at 
edu.nyu.cs.omnidroid.app.view.simple.factoryui.RuleFilterViewFactory.buildUIForF
ilter(RuleFilterViewFactory.java:107)
E/AndroidRuntime(11415):    at 
edu.nyu.cs.omnidroid.app.view.simple.ActivityDlgFilterInput.initializeUI(Activit
yDlgFilterInput.java:72)
E/AndroidRuntime(11415):    at 
edu.nyu.cs.omnidroid.app.view.simple.ActivityDlgFilterInput.onCreate(ActivityDlg
FilterInput.java:51)
E/AndroidRuntime(11415):    at 
android.app.Activity.performCreate(Activity.java:5008)
E/AndroidRuntime(11415):    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
E/AndroidRuntime(11415):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
E/AndroidRuntime(11415):    ... 11 more

Original comment by inkubo3@gmail.com on 4 Feb 2015 at 11:17