[jitsi-dev] Arabic keyboard crashes Jitsi


#1

Dear Developers,

When attempting to type in Arabic anywhere in Jitsi 2.2 (XP), whether in a chat window, add contact window, or even in the search contacts box, the application immediately freezes then crashes before any character is even shown.

Note that I can PASTE Arabic text of any length and hit enter normally. The problem only occurs once I try to TYPE a single character while the keyboard layout is set to Arabic. Setting the interface to Arabic did not help.

Here are the final log sections of three different crashing instances:

15:44:33.250 SEVERE: [42] plugin.desktoputil.SwingWorker.catchException().121 unhandled exception caught
java.lang.NullPointerException
  at net.java.sip.communicator.impl.gui.main.call.ContactPhoneUtil.checkMetaContactPhones(ContactPhoneUtil.java:409)
  at net.java.sip.communicator.impl.gui.main.call.ContactPhoneUtil.isCallEnabled(ContactPhoneUtil.java:373)
  at net.java.sip.communicator.impl.gui.main.chat.toolBars.MainToolBar$UpdateCallButtonWorker.construct(MainToolBar.java:760)
  at net.java.sip.communicator.plugin.desktoputil.SwingWorker$1.call(SwingWorker.java:75)
  at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
  at java.util.concurrent.FutureTask.run(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)

16:01:09.203 SEVERE: [41] plugin.desktoputil.SwingWorker.catchException().121 unhandled exception caught
java.lang.NullPointerException
  at net.java.sip.communicator.impl.gui.main.call.ContactPhoneUtil.checkMetaContactPhones(ContactPhoneUtil.java:409)
  at net.java.sip.communicator.impl.gui.main.call.ContactPhoneUtil.isCallEnabled(ContactPhoneUtil.java:373)
  at net.java.sip.communicator.impl.gui.main.chat.toolBars.MainToolBar$UpdateCallButtonWorker.construct(MainToolBar.java:760)
  at net.java.sip.communicator.plugin.desktoputil.SwingWorker$1.call(SwingWorker.java:75)
  at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
  at java.util.concurrent.FutureTask.run(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
16:01:52.546 SEVERE: [41] util.UtilActivator.uncaughtException().91 An uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message was: bad position: 273
java.lang.IllegalArgumentException: bad position: 273
  at javax.swing.text.JTextComponent.setCaretPosition(Unknown Source)
  at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel$1.run(ChatConversationPanel.java:183)
  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$3.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain$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.run(Unknown Source)

16:11:28.234 SEVERE: [40] plugin.desktoputil.SwingWorker.catchException().121 unhandled exception caught
java.lang.NullPointerException
  at net.java.sip.communicator.impl.gui.main.call.ContactPhoneUtil.checkMetaContactPhones(ContactPhoneUtil.java:409)
  at net.java.sip.communicator.impl.gui.main.call.ContactPhoneUtil.isCallEnabled(ContactPhoneUtil.java:373)
  at net.java.sip.communicator.impl.gui.main.chat.toolBars.MainToolBar$UpdateCallButtonWorker.construct(MainToolBar.java:760)
  at net.java.sip.communicator.plugin.desktoputil.SwingWorker$1.call(SwingWorker.java:75)
  at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
  at java.util.concurrent.FutureTask.run(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
16:12:13.609 INFO: [40] impl.gui.utils.PluginContainer.addPluginComponent().114 Will add plugin component: net.java.sip.communicator.plugin.otr.OtrMetaContactMenu@7b1083
16:12:13.609 INFO: [40] impl.gui.utils.PluginContainer.addPluginComponent().114 Will add plugin component: net.java.sip.communicator.plugin.spellcheck.LanguageMenuBar[Spell Checker Toggle,318,0,30x28,invalid,layout=javax.swing.plaf.basic.DefaultMenuLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777600,maximumSize=java.awt.Dimension[width=30,height=28],minimumSize=java.awt.Dimension[width=30,height=28],preferredSize=java.awt.Dimension[width=30,height=28],margin=,paintBorder=true]
16:12:13.609 INFO: [40] impl.gui.utils.PluginContainer.addPluginComponent().114 Will add plugin component: net.java.sip.communicator.plugin.otr.OtrMetaContactButton@481e5a