RSMC - 2008-04-03

Hello,

I am using JML-1.0b1 to develop an MSN bot to which users can write messages that will be broadcasted to other users that are online and have added the bot's MSN contact to their contact lists.
The problem is that no call to event handlers is made when events happen. This occurs for contactStatusChanged and contactAddedMe.
Attached is the fragment of code in which I implement the handlers:
     
        sesion = MsnMessengerFactory.createMsnMessenger (login, pass);
        sesion.setSupportedProtocol (new MsnProtocol[] { MsnProtocol.MSNP8 });
        MsnOwner propietario = sesion.getOwner ();
        propietario.setInitStatus (MsnUserStatus.ONLINE);    
        dialog = new Dialogo (sesion);
        sesion.addMessageListener (dialog);
        sesion.login ();       
       
        sesion.addContactListListener (new MsnContactListAdapter () {
                
            public void contactStatusChanged (MsnMessenger messenger, MsnContact contact) {
                String nombre = contact.getDisplayName ();
                Email email = contact.getEmail ();                       
                if (contact.getStatus () == MsnUserStatus.OFFLINE) {                                       
                    dialog.removeUserFromList (email.toString ());                    
                } else {
                    dialog.addUserToList (new Usuario (nombre, email.toString ()));                    
                }
            }                       
                              
            public void contactAddedMe (MsnMessenger messenger, MsnContact contact) {
                Email email = contact.getEmail ();
                sesion.unblockFriend (email);
                MsnContactListImpl listaContactos = new MsnContactListImpl (sesion);
                listaContactos.addContact (contact);
            }
        });
       
Is this happening to someone else?
I hope anyone can help as this is taking me lots of time to get it up and running :-)

Thanks in advance.
Kind regards,

Rafael San Miguel Carrasco