WheelView icon indicating copy to clipboard operation
WheelView copied to clipboard

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)

Open Sudhansuu opened this issue 6 years ago • 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)

Sudhansuu avatar Jun 18 '18 11:06 Sudhansuu