[jitsi-dev] OTR exception


#1

I now see this when trying to close a chat room:

···

java.lang.NullPointerException
  at net.java.sip.communicator.plugin.otr.OtrContactMenu.buildMenu(OtrContactMenu.java:290)
  at net.java.sip.communicator.plugin.otr.OtrContactMenu.setOtrPolicy(OtrContactMenu.java:489)
  at net.java.sip.communicator.plugin.otr.OtrContactMenu.globalPolicyChanged(OtrContactMenu.java:255)
  at net.java.sip.communicator.plugin.otr.OtrWeakListener.globalPolicyChanged(OtrWeakListener.java:140)
  at net.java.sip.communicator.plugin.otr.ScOtrEngineImpl.setGlobalPolicy(ScOtrEngineImpl.java:1056)
  at net.java.sip.communicator.plugin.otr.OtrContactMenu.<init>(OtrContactMenu.java:130)
  at net.java.sip.communicator.plugin.otr.OtrMetaContactMenu.createOtrContactMenus(OtrMetaContactMenu.java:141)
  at net.java.sip.communicator.plugin.otr.OtrMetaContactMenu.popupMenuWillBecomeVisible(OtrMetaContactMenu.java:220)
  at net.java.sip.communicator.plugin.otr.OtrMetaContactMenu.setCurrentContact(OtrMetaContactMenu.java:248)
  at net.java.sip.communicator.impl.gui.main.chat.menus.MessageWindowMenuBar$2.chatChanged(MessageWindowMenuBar.java:105)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindow.setCurrentChat(ChatWindow.java:432)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindow.setCurrentChatTab(ChatWindow.java:448)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindow$ForwardTabAction.actionPerformed(ChatWindow.java:567)
  at net.java.sip.communicator.impl.gui.UIServiceImpl$KeyBindingsDispatching.dispatchKeyEvent(UIServiceImpl.java:1305)
  at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:993)
  at java.awt.DefaultKeyboardFocusManager.pumpApprovedKeyEvents(DefaultKeyboardFocusManager.java:810)
  at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:916)
  at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:523)
  at java.awt.Component.dispatchEventImpl(Component.java:4616)
  at java.awt.Container.dispatchEventImpl(Container.java:2141)
  at java.awt.Component.dispatchEvent(Component.java:4572)
  at java.awt.KeyboardFocusManager.dispatchAndCatchException(KeyboardFocusManager.java:2563)
  at java.awt.KeyboardFocusManager.processCurrentLightweightRequests(KeyboardFocusManager.java:2652)
  at java.awt.KeyboardFocusManager$2.run(KeyboardFocusManager.java:2764)
  at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
  at java.awt.EventQueue.access$400(EventQueue.java:82)
  at java.awt.EventQueue$2.run(EventQueue.java:663)
  at java.awt.EventQueue$2.run(EventQueue.java:661)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
  at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
  at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
  at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

--
https://jitsi.org


#2

Hello,

I will take a look!

Regards,
Marin

···

On Mon, Jan 13, 2014 at 5:03 PM, Emil Ivov <emcho@jitsi.org> wrote:

I now see this when trying to close a chat room:

java.lang.NullPointerException

        at net.java.sip.communicator.plugin.otr.OtrContactMenu.
buildMenu(OtrContactMenu.java:290)
        at net.java.sip.communicator.plugin.otr.OtrContactMenu.
setOtrPolicy(OtrContactMenu.java:489)
        at net.java.sip.communicator.plugin.otr.OtrContactMenu.
globalPolicyChanged(OtrContactMenu.java:255)
        at net.java.sip.communicator.plugin.otr.OtrWeakListener.
globalPolicyChanged(OtrWeakListener.java:140)
        at net.java.sip.communicator.plugin.otr.ScOtrEngineImpl.
setGlobalPolicy(ScOtrEngineImpl.java:1056)
        at net.java.sip.communicator.plugin.otr.OtrContactMenu.<
>(OtrContactMenu.java:130)
        at net.java.sip.communicator.plugin.otr.OtrMetaContactMenu.
createOtrContactMenus(OtrMetaContactMenu.java:141)
        at net.java.sip.communicator.plugin.otr.OtrMetaContactMenu.
popupMenuWillBecomeVisible(OtrMetaContactMenu.java:220)
        at net.java.sip.communicator.plugin.otr.OtrMetaContactMenu.
setCurrentContact(OtrMetaContactMenu.java:248)
        at net.java.sip.communicator.impl.gui.main.chat.menus.
MessageWindowMenuBar$2.chatChanged(MessageWindowMenuBar.java:105)
        at net.java.sip.communicator.impl.gui.main.chat.ChatWindow.
setCurrentChat(ChatWindow.java:432)
        at net.java.sip.communicator.impl.gui.main.chat.ChatWindow.
setCurrentChatTab(ChatWindow.java:448)
        at net.java.sip.communicator.impl.gui.main.chat.ChatWindow$
ForwardTabAction.actionPerformed(ChatWindow.java:567)
        at net.java.sip.communicator.impl.gui.UIServiceImpl$
KeyBindingsDispatching.dispatchKeyEvent(UIServiceImpl.java:1305)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(
DefaultKeyboardFocusManager.java:993)
        at java.awt.DefaultKeyboardFocusManager.pumpApprovedKeyEvents(
DefaultKeyboardFocusManager.java:810)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(
DefaultKeyboardFocusManager.java:916)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(
DefaultKeyboardFocusManager.java:523)
        at java.awt.Component.dispatchEventImpl(Component.java:4616)
        at java.awt.Container.dispatchEventImpl(Container.java:2141)
        at java.awt.Component.dispatchEvent(Component.java:4572)
        at java.awt.KeyboardFocusManager.dispatchAndCatchException(
KeyboardFocusManager.java:2563)
        at java.awt.KeyboardFocusManager.processCurrentLightweightReque
sts(KeyboardFocusManager.java:2652)
        at java.awt.KeyboardFocusManager$2.run(KeyboardFocusManager.
java:2764)
        at java.awt.event.InvocationEvent.dispatch(
InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
        at java.awt.EventQueue.access$400(EventQueue.java:82)
        at java.awt.EventQueue$2.run(EventQueue.java:663)
        at java.awt.EventQueue$2.run(EventQueue.java:661)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(
AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(
EventDispatchThread.java:296)
        at java.awt.EventDispatchThread.pumpEventsForFilter(
EventDispatchThread.java:211)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(
EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEvents(
EventDispatchThread.java:196)
        at java.awt.EventDispatchThread.pumpEvents(
EventDispatchThread.java:188)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev