Problem using TeeChart Mono for Android 2012 - Version: 4.0.2012.121203
Running the distributed MonoAndroidDemo example on a Nexus 7 - 8Gb Version Running Android 4.2 crashes when i select the "Line" graph and touch the chart attempting to do a Pinch and Zoom operation.
Note If I build the same application with the TeeChart Mono for Android 2012 - Version: 4.0.2012.08100 (Eval or released) it works just fine.
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v2.0.50727
WARNING: generic atexit() called from legacy shared library
GREF GC Threshold: 46800
Grow heap (frag case) to 9.418MB for 1799696-byte allocation
UNHANDLED EXCEPTION: Java.Lang.IllegalArgumentException: Exception of type 'Java.Lang.IllegalArgumentException' was thrown.
at Android.Runtime.JNIEnv.CallFloatMethod (intptr,intptr,Android.Runtime.JValue[]) <0x00094>
at Android.Views.MotionEvent.GetX (int) <0x000ff>
at Steema.TeeChart.Chart.spacing (Android.Views.MotionEvent) <0x0003b>
at Steema.TeeChart.Chart.CheckZoomPanning (Android.Views.MotionEvent) <0x000af>
at Steema.TeeChart.Chart.DoMouseDown (bool,Android.Views.MotionEvent) <0x00483>
at Steema.TeeChart.TChart.OnMouseDown (Android.Views.MotionEvent) <0x00037>
at Steema.TeeChart.TChart.OnTouchEvent (Android.Views.MotionEvent) <0x0001b>
at Steema.TeeChart.ChartImageView.Android.Views.View.IOnTouchListener.OnTouch (Android.Views.View,Android.Views.MotionEvent) <0x00c77>
at Android.Views.View/IOnTouchListenerInvoker.n_OnTouch_Landroid_view_View_Landroid_view_MotionEvent_ (intptr,intptr,intptr,intptr) <0x0007b>
at (wrapper dynamic-method) object.3009e010-ab28-4033-b535-0c5eeb1f1fc3 (intptr,intptr,intptr,intptr) <0x0004b>
--- End of managed exception stack trace ---
java.lang.IllegalArgumentException: pointerIndex out of range
at android.view.MotionEvent.nativeGetAxisValue(Native Method)
at android.view.MotionEvent.getX(MotionEvent.java:1981)
at steema.teechart.ChartImageView.n_onTouch(Native Method)
at steema.teechart.ChartImageView.onTouch(ChartImageView.java:69)
at android.view.View.dispatchTouchEvent(View.java:7234)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2174)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1875)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2174)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1875)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2174)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1875)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2174)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1875)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1953)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1405)
at android.app.Activity.dispatchTouchEvent(Activity.java:2410)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1901)
at android.view.View.dispatchPointerEvent(View.java:7419)
at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:3220)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:3165)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:4292)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:4271)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:4363)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:179)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:125)
at android.os.Looper.loop(Looper.java:124)
at android.app.ActivityThread.main(ActivityThread.java:5039)
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:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)
Unhandled Exception:
Java.Lang.IllegalArgumentException: Exception of type 'Java.Lang.IllegalArgumentException' was thrown.
at Android.Runtime.JNIEnv.CallFloatMethod (intptr,intptr,Android.Runtime.JValue[]) <0x00094>
at Android.Views.MotionEvent.GetX (int) <0x000ff>
at Steema.TeeChart.Chart.spacing (Android.Views.MotionEvent) <0x0003b>
at Steema.TeeChart.Chart.CheckZoomPanning (Android.Views.MotionEvent) <0x000af>
at Steema.TeeChart.Chart.DoMouseDown (bool,Android.Views.MotionEvent) <0x00483>
at Steema.TeeChart.TChart.OnMouseDown (Android.Views.MotionEvent) <0x00037>
at Steema.TeeChart.TChart.OnTouchEvent (Android.Views.MotionEvent) <0x0001b>
at Steema.TeeChart.ChartImageView.Android.Views.View.IOnTouchListener.OnTouch (Android.Views.View,Android.Views.MotionEvent) <0x00c77>
at Android.Views.View/IOnTouchListenerInvoker.n_OnTouch_Landroid_view_View_Landroid_view_MotionEvent_ (intptr,intptr,intptr,intptr) <0x0007b>
at (wrapper dynamic-method) object.3009e010-ab28-4033-b535-0c5eeb1f1fc3 (intptr,intptr,intptr,
[ERROR] FATAL UNHANDLED EXCEPTION: Java.Lang.IllegalArgumentException: Exception of type 'Java.Lang.IllegalArgumentException' was thrown.
at Android.Runtime.JNIEnv.CallFloatMethod (intptr,intptr,Android.Runtime.JValue[]) <0x00094>
at Android.Views.MotionEvent.GetX (int) <0x000ff>
at Steema.TeeChart.Chart.spacing (Android.Views.MotionEvent) <0x0003b>
at Steema.TeeChart.Chart.CheckZoomPanning (Android.Views.MotionEvent) <0x000af>
at Steema.TeeChart.Chart.DoMouseDown (bool,Android.Views.MotionEvent) <0x00483>
at Steema.TeeChart.TChart.OnMouseDown (Android.Views.MotionEvent) <0x00037>
at Steema.TeeChart.TChart.OnTouchEvent (Android.Views.MotionEvent) <0x0001b>
at Steema.TeeChart.ChartImageView.Android.Views.View.IOnTouchListener.OnTouch (Android.Views.View,Android.Views.MotionEvent) <0x00c77>
at Android.Views.View/IOnTouchListenerInvoker.n_OnTouch_Landroid_view_View_Landroid_view_MotionEvent_ (intptr,intptr,intptr,intptr) <0x0007b>
at (wrapper dynamic-method) object.3009e010-ab28-4033-b535-0c5eeb1f1fc3 (intptr,i
My MonoDevelop Environment
MonoDevelop 3.0.5
Installation UUID: xxxxxxxxxxxxxxxxxxxxxxxxx
Runtime:
Mono 2.10.9 (tarball)
GTK 2.24.10
GTK# (2.12.0.0)
Package version: 210090011
Apple Developer Tools:
Xcode 4.5.2 (1847)
Build 4G2008a
Mono for Android: 4.4.41
Android SDK: /Developer/SDKs/android-sdk-macosx
Supported Android versions:
2.2 (API level
2.3 (API level 10)
3.1 (API level 12)
3.2 (API level 13)
4.0 (API level 14)
4.0.3 (API level 15)
4.1 (API level 16)
Java SDK: /usr
Monotouch: 6.0.6
Build information:
Release ID: 30005000
Git revision: e159cf083bd327933166819d94245298898d6e3d
Build date: 2012-10-24 16:43:06+0000
Xamarin addins: eea2ed91ae8dd242b281d5ec8f6c2fbc63b4cd3d
Operating System:
Mac OS X 10.8.2
Darwin Bernard-Simmonss-iMac.local 12.2.0 Darwin Kernel Version 12.2.0
Sat Aug 25 00:48:52 PDT 2012
root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
Device: Nexus 7 - 8GB Version - Andriod 4.2
TeeChart MfA2012 - Version: 4.0.2012.121203 crash
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart MfA2012 - Version: 4.0.2012.121203 crash
Hello,
Thanks for reporting. I could reproduce the issue here with a Nexus 7 tablet with Android Jelly Bean 4.2.1 as well. I added it to the defect list (TM63016457) to be fixed for next releases. I have found that this bug was introduced when trying to fix TM63016317 (ClickSeries event not being fired). This doesn't occur with 2.x Android versions though. Anyway, I'll compile an assembly without those changes for you since I think that version includes substantial improvements. I'll send you an email to your forums contact address with the URL to download the assembly.
Thanks for reporting. I could reproduce the issue here with a Nexus 7 tablet with Android Jelly Bean 4.2.1 as well. I added it to the defect list (TM63016457) to be fixed for next releases. I have found that this bug was introduced when trying to fix TM63016317 (ClickSeries event not being fired). This doesn't occur with 2.x Android versions though. Anyway, I'll compile an assembly without those changes for you since I think that version includes substantial improvements. I'll send you an email to your forums contact address with the URL to download the assembly.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart MfA2012 - Version: 4.0.2012.121203 crash
Hello Narcis,
#1. Thanks for the Quick Response.
#2. Yes the assembly downloaded work just fine.
Bernard.
#1. Thanks for the Quick Response.
#2. Yes the assembly downloaded work just fine.
Bernard.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart MfA2012 - Version: 4.0.2012.121203 crash
Hello Bernard,
You're very welcome. Thanks for your feedback.
You're very welcome. Thanks for your feedback.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart MfA2012 - Version: 4.0.2012.121203 crash
Hello Bernard,
I think I just found the solution to TM63016457. I'm going to send you an email with fixed assemblies.
I think I just found the solution to TM63016457. I'm going to send you an email with fixed assemblies.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |