it often happens that when i try to rename or find all occurences of any identifier using the Eclipse refactoring tools, Pydev runs through "Checking preconditions" and then triggers the following Eclipse error message:
"
An unexpected exception occurred while performing the refactoring. See the error log for more details.
org.eclipse.swt.SWTException: Invalid thread access
"
this only happens if i have not yet performed an SVN update on the affected projects or if i have not done so recently. performing an SVN update on the projects is a reliable workaround. however, performing an SVN update should not be required to use refactoring tools on the local code, and it certainly shouldn't trigger an uninformative Eclipse exception if the SVN update has not been recently performed.
bug #2964264 seems to be a special case of this.
reproducibility: happens every time
OS: GNU/Linux (Kubuntu 10.04) (Linux 2.6.34-020634-generic)
Eclipse version: 3.5.2 (build id M20100211-1343)
Pydev version: 1.5.9.2010063001
Subversive version: 2.2.1.l20091009-1900 (not sure if that should be a lowercase L or an uppercase I)
my workspace error log contains, i think, too much private information about my company's codebase. i can provide it to the Pydev devs upon request.
i originally didn't see comment #1 on bug #2964264. it turns out that refreshing the projects is indeed a more minimal workaround, but the issue remains: why is this refresh required, why can't it be done automatically, and why is the error message so uninformative?