Buggy code:
public class XMPPClientSOContainer extends ClientSOContainer { public static final int DEFAULT_KEEPALIVE = 30000 ; Trace trace = Trace . create ( "XMPPClientSOContainer" ) ; public static final String NAMESPACE_IDENTIFIER = XmppPlugin . getDefault ( ) . getNamespaceIdentifier ( ) ; public static final String XMPP_SHARED_OBJECT_ID = ( XMPPClientSOContainer . class . getName ( ) ) + ".xmpphandler" ; private static final String GOOGLE_SERVICENAME = "gmail.com" ; int keepAlive = 0 ; protected IIMMessageSender messageSender = null ; protected XMPPPresenceSharedObject sharedObject = null ; protected ID sharedObjectID = null ; Vector chats = new Vector ( ) ; protected void trace ( String msg ) { } protected void dumpStack ( Throwable t , String msg ) { } public XMPPClientSOContainer ( ) throws Exception { } public XMPPClientSOContainer ( int ka ) throws Exception { } public XMPPClientSOContainer ( String userhost , int ka ) throws Exception { } protected ID handleConnectResponse ( ID originalTarget , Object serverData ) throws Exception { } protected void addSharedObjectToContainer ( ID remote ) throws SharedObjectAddException { } protected void cleanUpConnectFail ( ) { } public void dispose ( ) { } protected ISynchAsynchConnection makeConnection ( ID remoteSpace , Object data ) throws ConnectionInstantiationException { } protected Object makeConnectData ( ID target , Callback [ ] cbs , Object data ) { } protected Callback [ ] makeAuthorizationCallbacks ( ) { } protected int getConnectTimeout ( ) { } public Roster getRoster ( ) throws IOException { } public Namespace getConnectNamespace ( ) { <START_BUG> return IDFactory . getDefault ( ) . getNamespaceByName ( "xmpp.jive" ) ; <END_BUG> } protected void handleChatMessageWithExtension ( Message mess ) throws IOException { } protected void handleChatMessage ( Message mess ) throws IOException { } protected void handleContainerMessage ( ContainerMessage mess ) throws IOException { } protected void handleIQMessageWithExtension ( IQ mess ) throws IOException { } protected void handleIQMessage ( IQ mess ) throws IOException { } protected void handlePresenceMessageWithExtension ( Presence mess ) throws IOException { } protected void handlePresenceMessage ( Presence mess ) throws IOException { } protected void handleXMPPMessage ( Packet aPacket ) throws IOException { } protected void initializeSharedObject ( ) throws Exception { } public void connect ( ID remote , IConnectContext joinContext ) throws ContainerConnectException { } public void disconnect ( ) { } protected SOContext makeSharedObjectContext ( SOConfig soconfig , IQueueEnqueue queue ) { } protected void processAsynch ( AsynchConnectionEvent e ) { } public void sendMessage ( ID target , String message ) throws IOException { } protected Presence makePresenceFromIPresence ( IPresence presence ) { } protected void sendPresenceUpdate ( ID target , Presence presence ) throws IOException { } protected void sendRosterAdd ( String user , String name , String [ ] groups ) throws IOException { } protected void sendRosterRemove ( String user ) throws IOException { } public Object getAdapter ( Class clazz ) { } protected Collection getHostedRoomForService ( String svc ) throws XMPPException { } protected ID makeIDFromHostedRoom ( HostedRoom room ) { } protected ID [ ] getChatRooms ( ) { } class ECFRoomInfo implements IRoomInfo { RoomInfo info ; XMPPRoomID roomID ; ID connectedID ; public ECFRoomInfo ( XMPPRoomID roomID , RoomInfo info , ID connectedID ) { } public String getDescription ( ) { } public String getSubject ( ) { } public ID getRoomID ( ) { } public int getParticipantsCount ( ) { } public String getName ( ) { } public boolean isPersistent ( ) { } public boolean requiresPassword ( ) { } public boolean isModerated ( ) { } public ID getConnectedID ( ) { } public String toString ( ) { } } protected IRoomInfo getChatRoomInfo ( ID roomID ) { } }

Fix:
return IDFactory . getDefault ( ) . getNamespaceByName ( XmppPlugin . NAMESPACE_IDENTIFIER ) ;