[sip-comm-issues] [Issue 804] New - IllegalStateException in chat room UI

lubomir_m at dev.java.net lubomir_m at dev.java.net
Tue Mar 9 21:50:46 CET 2010


https://sip-communicator.dev.java.net/issues/show_bug.cgi?id=804
                 Issue #|804
                 Summary|IllegalStateException in chat room UI
               Component|sip-communicator
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|development
             Assigned to|issues at sip-communicator
             Reported by|lubomir_m






------- Additional comments from lubomir_m at dev.java.net Tue Mar  9 20:50:45 +0000 2010 -------
I get the following exception which causes the ChatDialog with a chat room to
not repaint:
    [java] 22:41:23.047 SEVERE: util.UtilActivator.uncaughtException().76 An
uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and
message was: The jabber provider must be signed on before being able to communicate.
     [java] java.lang.IllegalStateException: The jabber provider must be signed
on before being able to communicate.
     [java] 	at
net.java.sip.communicator.impl.protocol.jabber.OperationSetServerStoredAccountInfoJabberImpl.assertConnected(OperationSetServerStoredAccountInfoJabberImpl.java:240)
     [java] 	at
net.java.sip.communicator.impl.protocol.jabber.OperationSetServerStoredAccountInfoJabberImpl.getAllAvailableDetails(OperationSetServerStoredAccountInfoJabberImpl.java:95)
     [java] 	at
net.java.sip.communicator.impl.gui.main.chat.conference.ChatContactCellRenderer.getListCellRendererComponent(ChatContactCellRenderer.java:108)
     [java] 	at javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:190)
     [java] 	at javax.swing.plaf.basic.BasicListUI.paintImpl(BasicListUI.java:299)
     [java] 	at javax.swing.plaf.basic.BasicListUI.paint(BasicListUI.java:222)
     [java] 	at javax.swing.plaf.synth.SynthListUI.update(SynthListUI.java:52)
     [java] 	at javax.swing.JComponent.paintComponent(JComponent.java:752)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1029)
     [java] 	at javax.swing.JComponent.paintChildren(JComponent.java:862)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1038)
     [java] 	at javax.swing.JViewport.paint(JViewport.java:747)
     [java] 	at javax.swing.JComponent.paintChildren(JComponent.java:862)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1038)
     [java] 	at javax.swing.JComponent.paintChildren(JComponent.java:862)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1038)
     [java] 	at javax.swing.JComponent.paintChildren(JComponent.java:862)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1038)
     [java] 	at javax.swing.JComponent.paintChildren(JComponent.java:862)
     [java] 	at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1038)
     [java] 	at javax.swing.JComponent.paintChildren(JComponent.java:862)
     [java] 	at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1038)
     [java] 	at javax.swing.JComponent.paintChildren(JComponent.java:862)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1038)
     [java] 	at javax.swing.JComponent.paintChildren(JComponent.java:862)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1038)
     [java] 	at javax.swing.JComponent.paintChildren(JComponent.java:862)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1038)
     [java] 	at javax.swing.JComponent.paintChildren(JComponent.java:862)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1038)
     [java] 	at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
     [java] 	at javax.swing.JComponent.paintChildren(JComponent.java:862)
     [java] 	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5131)
     [java] 	at
javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:278)
     [java] 	at javax.swing.RepaintManager.paint(RepaintManager.java:1224)
     [java] 	at javax.swing.JComponent.paint(JComponent.java:1015)
     [java] 	at
java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
     [java] 	at
sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
     [java] 	at
sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
     [java] 	at java.awt.Container.paint(Container.java:1780)
     [java] 	at java.awt.Window.paint(Window.java:3375)
     [java] 	at
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
     [java] 	at
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)
     [java] 	at
javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)
     [java] 	at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
     [java] 	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     [java] 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
     [java] 	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     [java] 	at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     [java] 	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
     [java] 	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     [java] 	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     [java] 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Steps to reproduce:
1. I become online on a Jabber account.
2. I join a chat room using the Jabber account from step 1 and there are other
members as well.
3. We exchange a few messages.
4. Then I go offline by selecting the Offline menu item specific for that Jabber
account from the drop-down status menu next to my avatar.

What happens:
The ChatDialog with the chat room members and the conversation we had remains
open and it shows me and the other members. When I cause the ChatWindow to
repaint, I get the mentioned exception and the repainting gets wrong.

What is expected to happen:
I guess the ChatDialog should at least repaint itself properly without causing
any exceptions.

Other information:
Ubuntu 9.10, Java 1.6.0_18-b07

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: issues-help at sip-communicator.dev.java.net





More information about the issues mailing list