Hi, I had the same problem and it turned out that I am doing some threads and I am executing code that should be in the main thread in another thread. I do not know what you are doing in your application, but hopefully this can give you a clue.
If you share some code, we can try and find out what is happening.