Symptom
On rare occasions, updating the connector using its built-in auto-update mechanism can result in corruption of the connector's binaries. The problem manifests itself in java.lang.NoSuchMethodError
exceptions being thrown - for example, see bug PL-889.
Cause
The problem is caused by the fact that sometimes the update process fails to update the atlassian-connector-commons
jar file, and the old one, which does not contain required code, is used by IDEA.
The root cause of this problem is still under investigation and has not yet been precisely identified. It is suspected that it is caused by the upgrade code failing to delete the old jar file before installing the new one, due to improper file locking.
Workaround
If you encounter this problem, the workaround is to delete the atlassian-idea-plugin
directory from your IDEA plugins directory and install the fresh copy of the connector, as described in the documentation. The location of the plugins directory depends on the operating system that you use:
- Windows:
%USERPROFILE%\.IntelliJIdea70\config\plugins
- OS X:
$HOME/Library/Application Support/IntelliJIDEA70
- Linux/Unix:
$HOME/.IntelliJIdea70/config/plugins
Deleting the connector binary files and installing the new one does not affect your personal settings.