You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: