Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Exception: java.lang.NullPointerException: Attempt to read from field 'float com.lukedeighton.wheelview.Circle.mCenterX' on a null object reference at com.lukedeighton.wheelview.WheelView.drawWheel(WheelView.java:1217) #57

Open
Sudhansuu opened this issue Jun 18, 2018 · 0 comments

Comments

@Sudhansuu
Copy link

This issue comes when I just load the wheelView. The issue is not coming everytime but its coming. Please have a look at the complpete log of this :
Fatal Exception: java.lang.NullPointerException: Attempt to read from field 'float com.lukedeighton.wheelview.Circle.mCenterX' on a null object reference
at com.lukedeighton.wheelview.WheelView.drawWheel(WheelView.java:1217)
at com.lukedeighton.wheelview.WheelView.onDraw(WheelView.java:1206)
at android.view.View.draw(View.java:16217)
at android.view.View.draw(View.java:16129)
at android.view.ViewGroup.drawChild(ViewGroup.java:3610)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
at android.view.View.draw(View.java:16220)
at android.view.View.draw(View.java:16129)
at android.view.ViewGroup.drawChild(ViewGroup.java:3610)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
at android.view.View.draw(View.java:16127)
at android.view.ViewGroup.drawChild(ViewGroup.java:3610)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
at android.view.View.draw(View.java:16127)
at android.view.ViewGroup.drawChild(ViewGroup.java:3610)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
at android.view.View.draw(View.java:16127)
at android.view.ViewGroup.drawChild(ViewGroup.java:3610)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
at android.view.View.draw(View.java:16220)
at com.android.internal.policy.PhoneWindow$DecorView.draw(PhoneWindow.java:2692)
at android.view.ViewRootImpl.drawSoftware(ViewRootImpl.java:2764)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2678)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2470)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2103)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1139)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6064)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:860)
at android.view.Choreographer.doCallbacks(Choreographer.java:672)
at android.view.Choreographer.doFrame(Choreographer.java:608)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:846)
at android.os.Handler.handleCallback(Handler.java:742)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5571)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)

LukeDeighton added a commit that referenced this issue Jun 24, 2018
LukeDeighton added a commit that referenced this issue Jun 24, 2018
@LukeDeighton LukeDeighton reopened this Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants