Null pointer exception in Android chart component

3 posts, 0 answers
  1. Thean Hoo
    Thean Hoo avatar
    8 posts
    Member since:
    Jun 2015

    Posted 29 Jun 2015 Link to this post

    A null pointer exception occurred in the Android chart component. I can't reproduce this exception reliably.

    Please advise.

    Telerik_UI_for_Android_2015_1_423_TRIAL.zip, Android Studio 1.2.2 (Mac OS X 10.10.3), Android 4.2.2

    Stack dump:

    java.lang.NullPointerException
     
    --------- Stack trace ---------
     
        com.telerik.widget.chart.visualization.cartesianChart.series.pointrenderers.OhlcPointRenderer.renderTicks(OhlcPointRenderer.java:72)
        com.telerik.widget.chart.visualization.cartesianChart.series.pointrenderers.OhlcPointRenderer.renderPointCore(OhlcPointRenderer.java:65)
        com.telerik.widget.chart.visualization.cartesianChart.series.pointrenderers.ChartDataPointRendererBase.renderPoint(ChartDataPointRendererBase.java:25)
        com.telerik.widget.chart.visualization.common.PointTemplateSeries.drawCore(PointTemplateSeries.java:73)
        com.telerik.widget.chart.visualization.common.ChartSeries.render(ChartSeries.java:535)
        com.telerik.widget.chart.visualization.common.RadChartViewBase.onDraw(RadChartViewBase.java:224)
        android.view.View.draw(View.java:13919)
        android.view.View.buildDrawingCache(View.java:13150)
        android.view.View.getDisplayList(View.java:12807)
        android.view.View.getDisplayList(View.java:12878)
        android.view.View.draw(View.java:13623)
        android.view.ViewGroup.drawChild(ViewGroup.java:3037)
        android.view.ViewGroup.dispatchDraw(ViewGroup.java:2901)
        android.view.View.getDisplayList(View.java:12829)
        android.view.View.getDisplayList(View.java:12878)
        android.view.View.draw(View.java:13623)
        android.view.ViewGroup.drawChild(ViewGroup.java:3037)
        android.view.ViewGroup.dispatchDraw(ViewGroup.java:2901)
        android.view.View.getDisplayList(View.java:12829)
        android.view.View.getDisplayList(View.java:12878)
        android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3019)
        android.view.View.getDisplayList(View.java:12757)
        android.view.View.getDisplayList(View.java:12878)
        android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3019)
        android.view.View.getDisplayList(View.java:12757)
        android.view.View.getDisplayList(View.java:12878)
        android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3019)
        android.view.View.getDisplayList(View.java:12757)
        android.view.View.getDisplayList(View.java:12878)
        android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3019)
        android.view.View.getDisplayList(View.java:12757)
        android.view.View.getDisplayList(View.java:12878)
        android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3019)
        android.view.View.getDisplayList(View.java:12757)
        android.view.View.getDisplayList(View.java:12878)
        android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3019)
        android.view.View.getDisplayList(View.java:12757)
        android.view.View.getDisplayList(View.java:12878)
        android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1249)
        android.view.ViewRootImpl.draw(ViewRootImpl.java:2521)
        android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2388)
        android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2190)
        android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1181)
        android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4943)
        android.view.Choreographer$CallbackRecord.run(Choreographer.java:776)
        android.view.Choreographer.doCallbacks(Choreographer.java:579)
        android.view.Choreographer.doFrame(Choreographer.java:548)
        android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:762)
        android.os.Handler.handleCallback(Handler.java:800)
        android.os.Handler.dispatchMessage(Handler.java:100)
        android.os.Looper.loop(Looper.java:194)
        android.app.ActivityThread.main(ActivityThread.java:5434)
        java.lang.reflect.Method.invokeNative(Native Method)
        java.lang.reflect.Method.invoke(Method.java:525)
        com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:834)
        com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
        dalvik.system.NativeStart.main(Native Method)

     

  2. Antony Jekov
    Admin
    Antony Jekov avatar
    88 posts

    Posted 03 Jul 2015 Link to this post

    Hello Yew,

    Thank you for contacting the Android team.

    Since it cannot be reproduced it will be difficult to trace it, but we will look at the stacktrace you provided and investigate the best we can. We will let you know of the outcome of this issue.

    Thank you for reporting it. Your feedback is really valuable for us!

    Regards,
    Antony Jekov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 31 Jul 2015 Link to this post

    Hello Yew,

    I am afraid we have not been able to diagnose this issue since we haven't been able to reproduce it an no one else has reported it. If you happen to have any information please let us know.

    Regards,
    Victor
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top