Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
Crash in DataChartView
posted

Hi there, I'm using the Infragistics Android trial release on a few devices.

This crash in particular is on a Samsung Galaxy Tab 8.0 (GT-5110) running Android 4.4.2.  I'm getting this crash when performing a horizontal zoom:

It's a basic DataChartView with both a RangedAreaSeries and an overlapping LineSeries.

java.lang.IllegalArgumentException: y must be < bitmap.height()
E at android.graphics.Bitmap.checkPixelAccess(Bitmap.java:1452)
E at android.graphics.Bitmap.getPixel(Bitmap.java:1401)
E at com.infragistics.controls.DroidCanvasRenderer.getPixelAt(DroidCanvasRenderer.java:1203)
E at com.infragistics.controls.RenderingContext.getPixelAt(RenderingContext.java:165)
E at com.infragistics.controls.SeriesViewerView.getHitSeries(SeriesViewerView.java:678)
E at com.infragistics.controls.SeriesViewerView$35.invoke(SeriesViewerView.java:1425)
E at com.infragistics.controls.SeriesViewerView.onMouseOver(SeriesViewerView.java:1422)
E at com.infragistics.controls.SeriesViewerView$16.invoke(SeriesViewerView.java:588)
E at com.infragistics.controls.EventProxy.raiseOnMouseOver(EventProxy.java:299)
E at com.infragistics.controls.DroidEventProxy.HandleTouch(DroidEventProxy.java:98)
E at com.infragistics.controls.DroidEventProxy$1.onTouch(DroidEventProxy.java:29)
E at android.view.View.dispatchTouchEvent(View.java:8130)
E at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2422)
E at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2155)
E at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2422)
E at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2155)
E at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2422)
E at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2155)
E at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2422)
E at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2155)
E at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2422)
E at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2155)
E at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2422)
E at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2155)
E at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2422)
E at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2155)
E at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2422)
E at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2155)
E at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2422)
E at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2155)
E at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2422)
E at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2155)
E at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2422)
E at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2155)
E at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2295)
E at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1622)
E at android.app.Activity.dispatchTouchEvent(Activity.java:2565)
E at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2243)
E at android.view.View.dispatchPointerEvent(View.java:8343)
E at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4773)
E at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4639)
E at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4197)
E at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4251)
E at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4220)
E at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4331)
E at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4228)
E at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4388)
E at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4197)
E at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4251)
E at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4220)
E at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4228)
E at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4197)
E at android.view.ViewRootImpl

Parents
No Data
Reply
  • 34510
    Verified Answer
    Offline posted

    Hi Ben,

    This issue has to do with touch events starting inside the chart view area and ending outside of the area.  While performing the zoom operation your finger must have moved outside the chart area.  I am able to replicate this crash when I do this.  We were already aware of this issue, thought, so it has already been resolved in a later internal build.  Unfortunately we haven't updated the build on the website yet.

    I have created a private support case for you so that I can link it to the existing development issue.  This way when a new version is released which contains the fix for this issue, you will automatically be notified.  The case number is CAS-152677-J4M7H6 and the development issue ID is 186604.  You can view your support case here.

Children