![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | ListView exception in Xamarin.Forms and Windows Phone. | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | narcís calvet <narcis> |
| Component: | Xamarin.Forms | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | chris |
| Priority: | Normal | ||
| Version: | TeeChart.NET 2014 4.1.2014.12154 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=4&t=15392 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Using the project attached at the forums URL it produces a System.NullReferenceException in Windows Phone: System.NullReferenceException was unhandled by user code HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=TeeChart.WP8 StackTrace: at Steema.TeeChart.Drawing.GestureBase.GetGesture[G,T](T instance) at Steema.TeeChart.Drawing.TBlockCanvas.SetCanvas[T](T canvas, Point offset) at Steema.TeeChart.Drawing.TBlockCanvas.SetWPSeries(Series s) at Steema.TeeChart.Chart.DoDraw(Graphics3D g, Int32 First, Int32 Last, Int32 Inc) at Steema.TeeChart.Chart.DrawAllSeries(Graphics3D g) at Steema.TeeChart.Chart.InternalDraw(Boolean noTools) at Steema.TeeChart.Chart.InternalDraw() at Steema.TeeChart.TChart.Draw(Rectangle rect) at Steema.TeeChart.TChart.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Double inWidth, Double inHeight, Double& outWidth, Double& outHeight) InnerException: The problem is at GetGesture in GestureCanvases.cs at the line below where rootGrid is null. IEnumerable<Steema.TeeChart.IGrid> iGrids = rootGrid.Children.OfType<Steema.TeeChart.IGrid>();