samc
Topic Author
Posts: 73
Joined: 21 Aug 2019, 19:22

[noesis] Visual is null

30 Jul 2022, 01:42

I'm seeing this error message, but I'm not sure how to fix it:

[noesis] Visual is null

It seems to be coming out of the constructor for this class: Noesis.View:Noesis_View_MouseButtonDown

thanks,
sam
 
User avatar
sfernandez
Site Admin
Posts: 2984
Joined: 22 Dec 2011, 19:20

Re: [noesis] Visual is null

01 Aug 2022, 12:48

Hi Sam,

This message is shown when calling IsAncestorOf, IsDescendantOf or FindCommonVisualAncestor in a Visual object. Could you please paste the callstack of the error message, it is probably generated by some event handler code in response to a mouse button click.
 
samc
Topic Author
Posts: 73
Joined: 21 Aug 2019, 19:22

Re: [noesis] Visual is null

03 Aug 2022, 19:22

The stack has lots of native code addresses above this.. but this is what it looks like lower down:

Noesis.View:Noesis_View_MouseButtonDown
Noesis.View:MouseButtonDown
NoesisView:ProcessEvent
NoesisView:OnGUI

Is it something that I would be doing with my xaml?
 
samc
Topic Author
Posts: 73
Joined: 21 Aug 2019, 19:22

Re: [noesis] Visual is null

03 Aug 2022, 19:39

Looks like it might be related to this bug:

https://www.noesisengine.com/bugs/view.php?id=2106

It's happening in our options menus -- We have a tab view with general/audio/graphics tabs. If I select the audio tab and then somewhere else I get the error.

sam
 
User avatar
sfernandez
Site Admin
Posts: 2984
Joined: 22 Dec 2011, 19:20

Re: [noesis] Visual is null

03 Aug 2022, 20:25

I'm pretty sure it could be that, the bug was fixed for NoesisGUI 3.1.2 but I think you are already in 3.1.0, right?
I'll send you a patched version of the 3.1.0 to see if those errors go away.

Who is online

Users browsing this forum: Google [Bot] and 37 guests