Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 2842 [details]
Mixing OpenGLES with Intent.CreateChooser() results in a crash.
Repro: Build + install + run attached project.
Expected behavior: no crash.
> I/mono (11121): [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
> I/mono (11121): at OpenTK.Graphics.ES10.GL.DrawElements[Byte] (All mode, Int32 count, All type, System.Byte indices) [0x00000] in <filename unknown>:0
> I/mono (11121): at Mono.Samples.GLCube.PaintingView.RenderCube () [0x00000] in <filename unknown>:0
> I/mono (11121): at Mono.Samples.GLCube.PaintingView.<OnLoad>m__1 (System.Object , OpenTK.FrameEventArgs ) [0x00000] in <filename unknown>:0
> I/mono (11121): at OpenTK.GameViewBase.OnRenderFrame (OpenTK.FrameEventArgs e) [0x00000] in <filename unknown>:0
> I/mono (11121): at OpenTK.Platform.Android.AndroidGameView.RenderFrameInternal (OpenTK.FrameEventArgs e) [0x00000] in <filename unknown>:0
> I/mono (11121): at OpenTK.Platform.Android.AndroidGameView.RunIteration (CancellationToken token) [0x00000] in <filename unknown>:0
> I/mono (11121): at OpenTK.Platform.Android.AndroidGameView+<StartThread>c__AnonStorey1.<>m__B (System.Object _) [0x00000] in <filename unknown>:0
> I/mono (11121): at Android.App.SyncContext+<Send>c__AnonStorey29.<>m__14 () [0x00000]
@Jonathan : I sent Dean the project file I used to re-create this issue. I'm hoping that has helped him repro it.
Finally Fixed!! in mono/opentk/master/868b6a7d26
Today, I have checked this issue with:
XS 5.3(build 412)- 77e042831804079a649ee83092ed36c7c10773a2
Device info: LG Nexus 4
Now, this issue is not exists, attached sample is run successfully on device without any crash.
Hence closing this issue.