After upgrading jenkins (1.432 to 1.465), the instant-messenger (to 1.21) plugin and the jabber (to 1.22) plugin the jabber comunication (using google talk) stopped working, and started throwing a null pointer exception.
In the 1.22 version of the jabber plugin the line where the nullpointer occurs is
In the previous version of the jabber plugin I didn´t have any groupChat defined, so I thought that maybe there was some problem updating that configuration so I:
- configured a fake group chat
- saved and restarted (this gave an error that it couldn´t use the groupchat obviously)
- removed the fake group chat
- saved and restarted (now the nullpointer error stopped and everything works fine)
In the end I think that the fix should be either handling the possibility of a null groupchat list or detecting that and fixing the configuration before attempting to connect.