Giter Club home page Giter Club logo

whattodo's Introduction

What is this?

Simple app to get info about some movies if you wan't to watch some movieConverted and you don't know what to watch. Just press a button and get yourself some interesting movie. Provided with filters and possibility to ignore some movies.

whattodo's People

Watchers

James Cloos avatar Ivan avatar

whattodo's Issues

Crash

Hello,

I built ad2ae38 from source.
The app crashes when I touch the big Touch button:

05-13 23:48:17.796  6492  6492 W System.err: io.reactivex.exceptions.OnErrorNotImplementedException: Invalid index 0, size is 0
05-13 23:48:17.796  6492  6492 W System.err: 	at io.reactivex.internal.functions.Functions$14.accept(Functions.java:229)
05-13 23:48:17.796  6492  6492 W System.err: 	at io.reactivex.internal.functions.Functions$14.accept(Functions.java:226)
05-13 23:48:17.797  6492  6492 W System.err: 	at io.reactivex.internal.observers.LambdaObserver.onError(LambdaObserver.java:72)
05-13 23:48:17.797  6492  6492 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.checkTerminated(ObservableObserveOn.java:276)
05-13 23:48:17.797  6492  6492 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:172)
05-13 23:48:17.797  6492  6492 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:252)
05-13 23:48:17.797  6492  6492 W System.err: 	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:109)
05-13 23:48:17.797  6492  6492 W System.err: 	at android.os.Handler.handleCallback(Handler.java:739)
05-13 23:48:17.797  6492  6492 W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:95)
05-13 23:48:17.797  6492  6492 W System.err: 	at android.os.Looper.loop(Looper.java:148)
05-13 23:48:17.797  6492  6492 W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:5417)
05-13 23:48:17.797  6492  6492 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
05-13 23:48:17.797  6492  6492 W System.err: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
05-13 23:48:17.797  6492  6492 W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
05-13 23:48:17.797  6492  6492 W System.err: Caused by: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
05-13 23:48:17.798  6492  6492 W System.err: 	at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
05-13 23:48:17.798  6492  6492 W System.err: 	at java.util.ArrayList.get(ArrayList.java:308)
05-13 23:48:17.798  6492  6492 W System.err: 	at apps.scvh.com.whattodo.util.imdbApi.ImdbWorker.getMovieStats(ImdbWorker.java:97)
05-13 23:48:17.798  6492  6492 W System.err: 	at apps.scvh.com.whattodo.util.workers.MovieWatchPicker$1.call(MovieWatchPicker.java:42)
05-13 23:48:17.798  6492  6492 W System.err: 	at apps.scvh.com.whattodo.util.workers.MovieWatchPicker$1.call(MovieWatchPicker.java:39)
05-13 23:48:17.798  6492  6492 W System.err: 	at io.reactivex.internal.operators.observable.ObservableDefer.subscribeActual(ObservableDefer.java:32)
05-13 23:48:17.798  6492  6492 W System.err: 	at io.reactivex.Observable.subscribe(Observable.java:10700)
05-13 23:48:17.798  6492  6492 W System.err: 	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$1.run(ObservableSubscribeOn.java:39)
05-13 23:48:17.798  6492  6492 W System.err: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
05-13 23:48:17.798  6492  6492 W System.err: 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-13 23:48:17.798  6492  6492 W System.err: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154)
05-13 23:48:17.798  6492  6492 W System.err: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
05-13 23:48:17.798  6492  6492 W System.err: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
05-13 23:48:17.798  6492  6492 W System.err: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
05-13 23:48:17.798  6492  6492 W System.err: 	at java.lang.Thread.run(Thread.java:818)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: FATAL EXCEPTION: main
05-13 23:48:17.799  6492  6492 E AndroidRuntime: Process: apps.scvh.com.whattodo, PID: 6492
05-13 23:48:17.799  6492  6492 E AndroidRuntime: io.reactivex.exceptions.OnErrorNotImplementedException: Invalid index 0, size is 0
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at io.reactivex.internal.functions.Functions$14.accept(Functions.java:229)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at io.reactivex.internal.functions.Functions$14.accept(Functions.java:226)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at io.reactivex.internal.observers.LambdaObserver.onError(LambdaObserver.java:72)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.checkTerminated(ObservableObserveOn.java:276)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:172)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:252)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:109)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:739)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:148)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:5417)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: Caused by: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at java.util.ArrayList.get(ArrayList.java:308)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at apps.scvh.com.whattodo.util.imdbApi.ImdbWorker.getMovieStats(ImdbWorker.java:97)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at apps.scvh.com.whattodo.util.workers.MovieWatchPicker$1.call(MovieWatchPicker.java:42)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at apps.scvh.com.whattodo.util.workers.MovieWatchPicker$1.call(MovieWatchPicker.java:39)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at io.reactivex.internal.operators.observable.ObservableDefer.subscribeActual(ObservableDefer.java:32)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at io.reactivex.Observable.subscribe(Observable.java:10700)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$1.run(ObservableSubscribeOn.java:39)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
05-13 23:48:17.799  6492  6492 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:818)
05-13 23:48:17.801  2125  4240 W ActivityManager:   Force finishing activity apps.scvh.com.whattodo/.ui.activity.MovieRolled

Edit: I can also reproduce with v1.0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.