hochileo / achartengine

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

Demo app crash in the Sales Growth example #374

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Move up chart in the Sales Growth example.

Stack from logcat
11-29 11:17:43.509: ERROR/AndroidRuntime(24668): FATAL EXCEPTION: main
        java.lang.IndexOutOfBoundsException
        at java.util.AbstractList.subList(AbstractList.java:738)
        at org.achartengine.chart.LineChart.drawSeries(LineChart.java:97)
        at org.achartengine.chart.XYChart.drawSeries(XYChart.java:518)
        at org.achartengine.chart.XYChart.draw(XYChart.java:311)
        at org.achartengine.GraphicalView.onDraw(GraphicalView.java:168)
        at android.view.View.draw(View.java:13759)
        at android.view.View.draw(View.java:13643)
        at android.view.ViewGroup.drawChild(ViewGroup.java:3169)
        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3039)
        at android.view.View.draw(View.java:13641)
        at android.view.ViewGroup.drawChild(ViewGroup.java:3169)
        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3039)
        at android.view.View.draw(View.java:13641)
        at android.view.ViewGroup.drawChild(ViewGroup.java:3169)
        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3039)
        at android.view.View.draw(View.java:13762)
        at android.widget.FrameLayout.draw(FrameLayout.java:467)
        at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2396)
        at android.view.ViewRootImpl.drawSoftware(ViewRootImpl.java:2384)
        at android.view.ViewRootImpl.draw(ViewRootImpl.java:2277)
        at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2145)
        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1956)
        at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1112)
        at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4472)
        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
        at android.view.Choreographer.doCallbacks(Choreographer.java:555)
        at android.view.Choreographer.doFrame(Choreographer.java:525)
        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
        at android.os.Handler.handleCallback(Handler.java:615)
        at android.os.Handler.dispatchMessage(Handler.java:92)
        at android.os.Looper.loop(Looper.java:137)
        at android.app.ActivityThread.main(ActivityThread.java:4898)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:511)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
        at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by pahakoro...@gmail.com on 29 Nov 2013 at 8:24

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 3 Dec 2013 at 6:31