I use Jitsi on Ubuntu 12.04 and have a weird problem:
Some days ago my internet connection was interrupted for about 5
minutes. After that, my XMPP-account had been removed from the list of
accounts in Jitsi and I could (and still can) not re-add it. Jitsi
always produces an error message, namely "Failed to add account." or
"Account already exists."
What I have done so far to solve or better understand the problem:
* I uninstalled Jitsi 1.0 and reinstaled it. Did not work.
* I renamed the .jitsi and .java folders in my home folder to start from
a clean .jitsi folder. Did not work.
* I made a new user account (thus with a "pure" home folder) and tried
to add my account. Did not work.
* I tried out my Jitsi install in an old Ubuntu 11.10 install. My
account was still listed. Everything worked fine.
* I added my account to empathy. Everything worked fine. (I am currently
using empathy but I dislike it.)
* I read the log file. A log file where I started Jitsi after deleting
the .jitsi folder and tried to add my account twice is appended. In that
file, lines 163 and 164 apparently show that the first try fails with
the error "Failed to add account." and the second try fails with the
error "Account already exists." (from which I conclude that despite the
first error, the change in the configuration in the .jitsi folder for
"account added" has been done).
* I got the source code and tried to localize the problem. Apparently
the error messages are produced in the function installAccount in
JabberAccountRegistrationWizard.java when exceptions are caught (lines
474-481, 482-489). I tried to localize the origin of the exceptions and
had the impression that installAccount in
ProtocolProviderFactoryJabberImpl.java can throw exceptions, while
getProviderForAccount in the same file cannot, but I could not find
which method is called by
JabberAccRegWizzActivator.bundleContext.getService and as I am not a
programmer I gave up there.
So I get the impression that there is no problem with my account or
XMPP-provider but somehow a configuration error occured outside of my
home folder in some resource Jitsi depends on but empathy does not. I am
not sure, whether any of this really helps localize the problem. Do you
have any suggestions?
jitsi0.log.0 (22.9 KB)