Hi everybody, I have an app that works good in desktop but when I test it in both platforms. Some times I got this error.
ERROR: Object reference was null
Uno.NullReferenceException occured.
at Fuse.DrawContext.GetLocalToClipTransform(Fuse.Visual)
at Fuse.Elements.ElementBatcher.Draw(Fuse.DrawContext)
at Fuse.Elements.Element.OnDraw(Fuse.DrawContext)
at Fuse.Controls.Control.OnDraw(Fuse.DrawContext)
at Fuse.Elements.Element.CompositEffects(Fuse.DrawContext)
at Fuse.Elements.Cache.DrawHeuristically(Fuse.DrawContext)
at Fuse.Elements.Element.Composit(Fuse.DrawContext)
at Fuse.Elements.Element.Draw(Fuse.DrawContext)
at Fuse.Elements.Element.OnDraw(Fuse.DrawContext)
at Fuse.Controls.Control.OnDraw(Fuse.DrawContext)
at Fuse.Elements.Element.CompositEffects(Fuse.DrawContext)
at Fuse.Elements.Cache.DrawHeuristically(Fuse.DrawContext)
at Fuse.Elements.Element.Composit(Fuse.DrawContext)
at Fuse.Elements.Element.Draw(Fuse.DrawContext)
at Fuse.Elements.Element.OnDraw(Fuse.DrawContext)
at Fuse.Controls.Control.OnDraw(Fuse.DrawContext)
at Fuse.Elements.Element.CompositEffects(Fuse.DrawContext)
at Fuse.Elements.Cache.DrawHeuristically(Fuse.DrawContext)
at Fuse.Elements.Element.Composit(Fuse.DrawContext)
at Fuse.Elements.Element.Draw(Fuse.DrawContext)
at Fuse.Elements.Element.OnDraw(Fuse.DrawContext)
at Fuse.Controls.Control.OnDraw(Fuse.DrawContext)
at Fuse.Elements.Element.CompositEffects(Fuse.DrawContext)
at Fuse.Elements.Cache.DrawHeuristically(Fuse.DrawContext)
at Fuse.Elements.Element.Composit(Fuse.DrawContext)
at Fuse.Elements.Element.Draw(Fuse.DrawContext)
at Fuse.Elements.Element.OnDraw(Fuse.DrawContext)
at Fuse.Controls.Control.OnDraw(Fuse.DrawContext)
at Fuse.Elements.Element.CompositEffects(Fuse.DrawContext)
at Fuse.Elements.Cache.DrawHeuristically(Fuse.DrawContext)
at Fuse.Elements.Element.Composit(Fuse.DrawContext)
at Fuse.Elements.Element.Draw(Fuse.DrawContext)
at Fuse.Elements.Element.OnDraw(Fuse.DrawContext)
at Fuse.Controls.Control.OnDraw(Fuse.DrawContext)
at Fuse.Elements.Element.CompositEffects(Fuse.DrawContext)
at Fuse.Elements.Cache.DrawHeuristically(Fuse.DrawContext)
at Fuse.Elements.Element.Composit(Fuse.DrawContext)
at Fuse.Elements.Element.Draw(Fuse.DrawContext)
at Fuse.Elements.Element.OnDraw(Fuse.DrawContext)
at Fuse.Controls.Control.OnDraw(Fuse.DrawContext)
at Fuse.Controls.GraphicsView.OnDraw(Fuse.DrawContext)
at Fuse.Elements.Element.CompositEffects(Fuse.DrawContext)
at Fuse.Elements.Cache.DrawHeuristically(Fuse.DrawContext)
at Fuse.Elements.Element.Composit(Fuse.DrawContext)
at Fuse.Elements.Element.Draw(Fuse.DrawContext)
at Fuse.Controls.GraphicsView.DrawFrame()
at Fuse.UpdateListener.Invoke()
at Fuse.UpdateManager.Update(Fuse.Stage)
at Fuse.UpdateManager.Update()
at Fuse.AppBase.OnUpdate()
at Outracks.Simulator.Application.OnUpdate()
at Fuse.App.OnFrameCallback(double,double)
But it just doesn’t told me in which line or event is the problem :c
I appreciete a lot any idea, here is the project:
Visit https://drive.google.com/file/d/0B_9FSsmiapzdTHhJUlByWXhTRTQ/view?usp=sharing
To reproduce the problem just open the app, select a magazine and scroll to find more ads.
Thank you
PD: Sorry for the spaguetti code.