NikhithaTarala / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

NullPointerException at org.achartengine.chart.XYChart.toRealPoint(XYChart.java:805) #299

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
not sure

i get these crash reports a lot, but am not able to reproduce on my own devices

SEVERE: Exception in thread "Thread[main,5,main]"
 java.lang.NullPointerException
    at org.achartengine.chart.XYChart.toRealPoint(XYChart.java:805)
    at org.achartengine.tools.Pan.apply(Pan.java:74)
    at org.achartengine.TouchHandler.handleTouch(TouchHandler.java:126)
    at org.achartengine.GraphicalView.onTouchEvent(GraphicalView.java:286)
    at android.view.View.dispatchTouchEvent(View.java:3885)
    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:1691)
    at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1125)
    at android.app.Activity.dispatchTouchEvent(Activity.java:2096)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1675)
    at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2194)
    at android.view.ViewRoot.handleMessage(ViewRoot.java:1878)
    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)

java.lang.NullPointerException
at org.achartengine.chart.XYChart.toRealPoint(XYChart.java:805)
at org.achartengine.tools.Pan.apply(Pan.java:74)
at org.achartengine.TouchHandler.handleTouch(TouchHandler.java:126)
at org.achartengine.GraphicalView.onTouchEvent(GraphicalView.java:286)
at android.view.View.dispatchTouchEvent(View.java:3885)
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(P
honeWindow.java:1702)
at 
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow
.java:1132)
at android.app.Activity.dispatchTouchEvent(Activity.java:2096)
at 
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneW
indow.java:1686)
at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2196)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1880)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
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:864)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by yura....@gmail.com on 16 Apr 2013 at 5:56

GoogleCodeExporter commented 9 years ago
You can download a recent version here: 
https://repository-achartengine.forge.cloudbees.com/snapshot/org/achartengine/ac
hartengine/1.1.0/ including a fix for this issue.

Original comment by dandrome...@gmail.com on 2 May 2013 at 6:01

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 2 May 2013 at 6:01

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 2 May 2013 at 6:01