01-21-2013 07:58 AM
Just to let you know, I am having an error when rotating my app and I think I can't catch it.
It occurs quite often, don't know why as debugger does not show any thing related to my app.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at IowWindowImpl/set acceptsFocus()
at QNXWindow/set acceptsFocus()
01-21-2013 08:04 AM
01-21-2013 08:30 AM
nothing with focus.
I listen for rotation and position components with new stage width/height, widths, heights, x's, y's, graphics...that's all (I think)
01-21-2013 09:39 AM
I had a similar problem, but caused by actionBar:
In my case, I found that it happened after I had destroyed and re-created a dialog. At the bottom of my dialog class hierarchy, the dialog extends Container and in the dialog's destroy method, I called super.destroy(). Removing that, eliminated the rotation error.
01-21-2013 10:24 AM
I'll check at this, it could be something like this. I'm algo using actionBar and reescaling on rotate to fit new size. Might be something...
01-21-2013 11:37 AM