I am getting a ThreadAccessingUIException error when closing a window down. I cant seem to track down what is causing the issue. below is the stack trace.
so as you can see I am not doing much. I have compiled the app with 2013R3 and 2013R3.2 with the same results.
How do you suggest that I track down my error? any pointing in the right direction is greatly appreciated…
Does anyone have a clue on how to troubleshoot/track this down?
Well, there’s always tear the app down piece by piece until the problem doesn’t exist, then try to remember what piece you tore off last :-). I’d start with plugins.
You might try the tool discussed in this blog post to see if it provides additional info:
Paul, I tried threadedui with my app and this is the output below.
[code]sudo ./threadedui /Users/sboss/workzone/NCM/conversions/Builds\ -\ conversions.xojo_project/Mac\ OS\ X\ \(Cocoa\ Intel\)/conversions.app
Launched /Users/sboss/workzone/NCM/conversions/Builds - conversions.xojo_project/Mac OS X (Cocoa Intel)/conversions.app/Contents/MacOS/conversions (6800)
DTrace attached to 6801
Main thread found, trace starting (may have missed some events)
Program exited, detected 1 UI operations from a thread
which is basically the exactly the same output as the stack dump from before. And unfortunately this doenst help me tell what is causing the issue.
It looks like you’re trying to close a window from a thread. Not 100% certain on that, but I’d start there.
not that I know of. Do you mind if I send you the window/code? I’m pretty sure I’m being an idiot.
Ps it would be tomorrow before I can send the code.
[quote=45035:@scott boss]not that I know of. Do you mind if I send you the window/code? I’m pretty sure I’m being an idiot.
Ps it would be tomorrow before I can send the code.[/quote]
I don’t mind at all.