while executing ProjectView.getInstance(project).refreshView() in my code. It happens only sometimes, and I'm getting an exception like this:
Error during dispatching of java.awt.event.MouseEvent[MOUSE_CLICKED,(198,241),absolute(208,251),button=1,modifiers=Button1,clickCount=1] on frame0: Already disposed
java.lang.AssertionError: Already disposed
I've checked and I see that I've submitted a valid parameter to ProjectView.getInstance(project).refreshView(), so what can be the reason of that exception? (I can handle that with try/catch block, but still I'd like to know the reason, right now I can't find it)...