jackba / my-episodes-watch-manager

Automatically exported from code.google.com/p/my-episodes-watch-manager
0 stars 0 forks source link

Random Episode Picker not working #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ivo,

4 crashes have been reported on the android market since the release of 
yesterday evening. The two stacktraces beneath are reported on the market.

My first thought is when there are no episodes to watch that the random picker 
is failing... 
Although can you check this asap and let me know if the fix has been committed 
that I can re-release 1.8.0?$

Thx!

Stactraces (sorry for the format but I'm at work and not able to access the 
market easily... :P) :
java.lang.RuntimeException: Unable to start activity 
ComponentInfo{eu.vranckaert.episodeWatcher/eu.vranckaert.episodeWatcher.activiti
es.RandomEpPickerActivity}: java.lang.IllegalArgumentException at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647) at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663) at 
android.app.ActivityThread.access$1500(ActivityThread.java:117) at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:931) at 
android.os.Handler.dispatchMessage(Handler.java:99) at 
android.os.Looper.loop(Looper.java:130) at 
android.app.ActivityThread.main(ActivityThread.java:3683) at 
java.lang.reflect.Method.invokeNative(Native Method) at 
java.lang.reflect.Method.invoke(Method.java:507) at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) at 
dalvik.system.NativeStart.main(Native Method) Caused by: 
java.lang.IllegalArgumentException at java.util.Random.nextInt(Random.java:186) 
at 
eu.vranckaert.episodeWatcher.controllers.EpisodesController.getRamdomWatchEpisod
e(EpisodesController.java:106) at 
eu.vranckaert.episodeWatcher.activities.RandomEpPickerActivity.onCreate(RandomEp
PickerActivity.java:36) at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611) ... 
11 more

java.lang.RuntimeException: Unable to start activity 
ComponentInfo{eu.vranckaert.episodeWatcher/eu.vranckaert.episodeWatcher.activiti
es.RandomEpPickerActivity}: java.lang.IllegalArgumentException at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663) at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) at 
android.app.ActivityThread.access$2300(ActivityThread.java:125) at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) at 
android.os.Handler.dispatchMessage(Handler.java:99) at 
android.os.Looper.loop(Looper.java:123) at 
android.app.ActivityThread.main(ActivityThread.java:4627) at 
java.lang.reflect.Method.invokeNative(Native Method) at 
java.lang.reflect.Method.invoke(Method.java:521) at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) at 
dalvik.system.NativeStart.main(Native Method) Caused by: 
java.lang.IllegalArgumentException at java.util.Random.nextInt(Random.java:225) 
at 
eu.vranckaert.episodeWatcher.controllers.EpisodesController.getRamdomWatchEpisod
e(EpisodesController.java:106) at 
eu.vranckaert.episodeWatcher.activities.RandomEpPickerActivity.onCreate(RandomEp
PickerActivity.java:36) at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) ... 
11 more

Original issue reported on code.google.com by dirkvran...@gmail.com on 23 Sep 2011 at 6:02

GoogleCodeExporter commented 9 years ago
You're right, I dind't check if there are episodes to watch.
Sorry, now it's fixed!

Original comment by ivoniftrik on 23 Sep 2011 at 8:07

GoogleCodeExporter commented 9 years ago
Allright thanks! ;)
I'll try to make an re-release today or tomorrow!

Original comment by dirkvran...@gmail.com on 23 Sep 2011 at 8:10