SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components


I have many users who have been sending crash reports with this stack trace and I can’t figure out what part of our code would be triggering this since the stack trace doesn’t mention any classes that are we’ve coded. Any idea what could be triggering this based on the stack trace?

java.lang.ArrayIndexOutOfBoundsException: index
at com.scichart.core.model.IntegerValues.get(
at com.scichart.charting.visuals.layout.CanvasLayout.getChildDrawingOrder(
at android.view.View.populateAccessibilityNodeInfoDrawingOrderInParent(
at android.view.View.onInitializeAccessibilityNodeInfoInternal(
at android.view.ViewGroup.onInitializeAccessibilityNodeInfoInternal(
at android.view.View.onInitializeAccessibilityNodeInfo(
at android.view.View.createAccessibilityNodeInfoInternal(
at android.view.View.createAccessibilityNodeInfo(
at android.view.accessibility.AccessibilityRecord.setSource(
at android.view.accessibility.AccessibilityRecord.setSource(
at android.view.View.onInitializeAccessibilityEventInternal(
at android.view.View.onInitializeAccessibilityEvent(
at android.view.View.sendAccessibilityEventUncheckedInternal(
at android.view.View.sendAccessibilityEventUnchecked(
at android.view.View$
at android.view.View$SendViewStateChangedAccessibilityEvent.runOrPost(
at android.view.View.notifyViewAccessibilityStateChangedIfNeeded(
at android.view.View.setFlags(
at android.view.View.setVisibility(
at com.scichart.charting.visuals.annotations.AnnotationBase$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)

  • Yura Khariton
    Hi Ricardo. It’s hard to tell what could cause this exception without seeing the code. Can you provide a project which reproduces this issue so I could debug it on my PC?
  • Ricardo De Amorim
    Unfortunately, we have not been able to find steps to reproduce this on our end, and because the stacktrace doesn’t reference our code at all, we don’t really know what part of the code could be causing this. I could potentially provide copies of the code that draws graphs in our app to you in private if you send me a contact address, and maybe you could review it and see if we are misusing the scichart API in some way?
  • You must to post comments

Hi Ricardo,

As I see from stack trace this exception occurs in CanvasLayout which we use as base class for several parts of SciChartSurface ( e.g. one to place annotations, another for modifiers etc). Unfortunately exception doesn’t show in which part of the chart it occurs so without project it would be hard cause of the problem.

However I noticed that you wrote that you use v2.0.0.1654 which was released in 2017. Please try to update to the latest release from our website (v2.2.1.2391). We fixed many bugs ( including rewriting parts of CanvasLayout where your exception occurs ) since that time.

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.