Crosslight 5 Gauge Bug #1

2 replies. Last post: May 25, 2016 4:55 AM by Thomas Albert
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hello Crosslight Support,

there is a bug in the gauge component. Please, use the Crosslight Gauge Sample to reproduce. I upgraded to the latest stable Crosslight version via NuGet.

My test device is Samsung SM-T310 (Android 4.4 API 19).

Please, change the culture (language) of the device to German. It works fine with English culture.

Just start the sample and you get a "System.FormatException: Input string was not in a correct format"

05-20 10:07:25.611 I/MonoDroid(21648): UNHANDLED EXCEPTION:

05-20 10:07:25.626 I/MonoDroid(21648): System.FormatException: Input string was not in a correct format.

05-20 10:07:25.626 I/MonoDroid(21648): at System.Number.ParseDouble (System.String value, NumberStyles options, System.Globalization.NumberFormatInfo numfmt) [0x00095] in /Users/builder/data/lanes/3236/ee215fc9/source/mono/external/referencesource/mscorlib/system/number.cs:734

05-20 10:07:25.626 I/MonoDroid(21648): at System.Double.Parse (System.String s, NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00000] in /Users/builder/data/lanes/3236/ee215fc9/source/mono/external/referencesource/mscorlib/system/double.cs:252

05-20 10:07:25.631 I/MonoDroid(21648): at System.Double.Parse (System.String s, IFormatProvider provider) [0x00000] in /Users/builder/data/lanes/3236/ee215fc9/source/mono/external/referencesource/mscorlib/system/double.cs:235

05-20 10:07:25.631 I/MonoDroid(21648): at System.Convert.ToDouble (System.String value) [0x00010] in /Users/builder/data/lanes/3236/ee215fc9/source/mono/external/referencesource/mscorlib/system/convert.cs:1603

05-20 10:07:25.631 I/MonoDroid(21648): at Intersoft.Crosslight.UI.DataVisualization.Android.GaugeView.ProcessArrowPath () [0x000da] in <filename unknown>:0

05-20 10:07:25.631 I/MonoDroid(21648): at Intersoft.Crosslight.UI.DataVisualization.Android.GaugeView.DrawArrow () [0x00043] in <filename unknown>:0

05-20 10:07:25.631 I/MonoDroid(21648): at Intersoft.Crosslight.UI.DataVisualization.Android.GaugeView.OnDraw (Android.Graphics.Canvas canvas) [0x0002a] in <filename unknown>:0

05-20 10:07:25.631 I/MonoDroid(21648): at Android.Views.View.n_OnDraw_Landroid_graphics_Canvas_ (IntPtr jnienv, IntPtr native__this, IntPtr native_canvas) [0x00011] in /Users/builder/data/lanes/3236/ee215fc9/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Views.View.cs:15192

05-20 10:07:25.631 I/MonoDroid(21648): at (wrapper dynamic-method) System.Object:791dc619-48ed-4074-afe2-7cadbc094c5b (intptr,intptr,intptr)

The thread 'Unknown' (0x3) has exited with code 0 (0x0).

The thread 'Unknown' (0x4) has exited with code 0 (0x0).

The thread 'Unknown' (0x2) has exited with code 0 (0x0).

An unhandled exception occured.

---------------------------------------

Please, fix asap. Once more a sample of the rock solidity of Crosslight :)

Thanks,

Thomas


All times are GMT -5. The time now is 8:16 AM.
Previous Next