AnsweredAssumed Answered

Group Chat NullPointerException

Question asked by tobiasjones on Aug 9, 2013
Latest reply on Aug 12, 2013 by tobiasjones

I am building a branded client that is locked down to a specific server.  I understand that process and have no issues with that part.  When the client is connected to my server, everything works fine; however, when I connect to another server (which I have no control over), the group chat will not list the participants.  Below is the error that I get.  When I download the pre-compiled version of Spark, it works perfectly, albeit, not locked down.  I have since compiled the main trunk with the only modifications being to allow Ant 1.9 and point izpack and launch4j to their proper locations.  It had the same results.  Everything works, it just will not list the participants in group chat.



Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

        at java.util.concurrent.ConcurrentHashMap.hash(Unknown Source)

        at java.util.concurrent.ConcurrentHashMap.get(Unknown Source)

        at org.jivesoftware.smack.Roster.getPresence(

        at org.jivesoftware.spark.PresenceManager.getPresence(

        at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList.addParticipant(G

        at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList$3$

        at java.awt.event.InvocationEvent.dispatch(Unknown Source)

        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

        at java.awt.EventQueue.access$200(Unknown Source)

        at java.awt.EventQueue$ Source)

        at java.awt.EventQueue$ Source)

        at Method)

        at$1.doIntersectionPrivilege(Unknown Source)

        at java.awt.EventQueue.dispatchEvent(Unknown Source)

        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

        at Source)