NightWhistler/PageTurner — Issue #99: Bug: Nullpointer in isAtEnd
Author: NightWhistler
Created: 2012-03-06 10:28:22+00:00
State: open

java.lang.NullPointerException
at net.nightwhistler.pageturner.view.BookView.isAtEnd(BookView.java:183)
at net.nightwhistler.pageturner.activity.ReadingActivity.pageDown(ReadingActivity.java:782)
at net.nightwhistler.pageturner.activity.ReadingActivity.onTapRightEdge(ReadingActivity.java:1071)
at net.nightwhistler.pageturner.view.NavGestureDetector.onSingleTapUp(NavGestureDetector.java:71)
at android.view.GestureDetector.onTouchEvent(GestureDetector.java:557)
at net.nightwhistler.pageturner.activity.ReadingActivity$1.onTouch(ReadingActivity.java:206)
at android.view.View.dispatchTouchEvent(View.java:3881)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:903)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1692)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1126)
at android.app.Activity.dispatchTouchEvent(Activity.java:2096)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1676)
at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2208)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1892)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3647)
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)