powered by Jive Software

Spark with Smack 4.3


#1

@Flow @speedy I figured it would be more convenient to provide feedback on testing Spark with Smack 4.2 in a forums thread.

Same as speedy i have cloned Flow’s repo in IntelliJ, checked out smack-4.2 branch and have run the Startup.jar, which also builds it before running. It launches, i can login and check that it is using Smack 4.2.4. I was able to join the Open Chat room, but wasn’t able to send messages (or close the chat window). I guess speedy was luckier than me as i saw his messages, unless he was sending them from a regular client.

That’s it for now. Will try to test it more later.

P.S. I should add I’m testing on Windows 7 x64


Spark with Smack 4.3 testers wanted
#2

Just found my message i have sent with this version in Open chat history. So it went through, but didn’t show up in Spark itself.


#3

Tried to build it again today. Speedy mentioned that 1on1 chat works for him. For me it opens a blank cha window which i can’t close. I am able to open MUC rooms, but it doesn’t show my messages as sent (although they go through). What IntelliJ shows:

C:\Program Files (x86)\Java\jdk1.8.0_172\bin\java.exe" “-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.1.5\lib\idea_rt.jar=52670:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.1.5\bin” -Dfile.encoding=UTF-8 -classpath “C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\deploy.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\access-bridge-32.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\cldrdata.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\jaccess.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\jfxrt.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\nashorn.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\sunec.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\sunpkcs11.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\ext\zipfs.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\javaws.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\jfxswt.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\management-agent.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\plugin.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.8.0_172\jre\lib\rt.jar;N:\Git\Spark-4.3\core\target\classes;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-core\4.3.0-rc1\smack-core-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\xpp3\xpp3\1.1.4c\xpp3-1.1.4c.jar;C:\Users\wroot.m2\repository\org\jxmpp\jxmpp-core\0.6.2\jxmpp-core-0.6.2.jar;C:\Users\wroot.m2\repository\org\jxmpp\jxmpp-util-cache\0.6.2\jxmpp-util-cache-0.6.2.jar;C:\Users\wroot.m2\repository\org\jxmpp\jxmpp-jid\0.6.2\jxmpp-jid-0.6.2.jar;C:\Users\wroot.m2\repository\org\minidns\minidns-core\0.3.0\minidns-core-0.3.0.jar;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-tcp\4.3.0-rc1\smack-tcp-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-im\4.3.0-rc1\smack-im-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-extensions\4.3.0-rc1\smack-extensions-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-experimental\4.3.0-rc1\smack-experimental-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\org\bouncycastle\bcprov-jdk15on\1.57\bcprov-jdk15on-1.57.jar;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-debug\4.3.0-rc1\smack-debug-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-debug-slf4j\4.3.0-rc1\smack-debug-slf4j-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\org\slf4j\slf4j-api\1.8.0-beta2\slf4j-api-1.8.0-beta2.jar;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-legacy\4.3.0-rc1\smack-legacy-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-java7\4.3.0-rc1\smack-java7-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-resolver-javax\4.3.0-rc1\smack-resolver-javax-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-sasl-javax\4.3.0-rc1\smack-sasl-javax-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\org\igniterealtime\smack\smack-compression-jzlib\4.3.0-rc1\smack-compression-jzlib-4.3.0-rc1.jar;C:\Users\wroot.m2\repository\com\jcraft\jzlib\1.1.3\jzlib-1.1.3.jar;C:\Users\wroot.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\wroot.m2\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;C:\Users\wroot.m2\repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;C:\Users\wroot.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar;C:\Users\wroot.m2\repository\commons-codec\commons-codec\1.2\commons-codec-1.2.jar;C:\Users\wroot.m2\repository\org\apache\commons\commons-lang3\3.7\commons-lang3-3.7.jar;C:\Users\wroot.m2\repository\org\swinglabs\swingx\swingx-all\1.6.3\swingx-all-1.6.3.jar;C:\Users\wroot.m2\repository\net\java\dev\jna\jna-platform\4.3.0\jna-platform-4.3.0.jar;C:\Users\wroot.m2\repository\net\java\dev\jna\jna\4.3.0\jna-4.3.0.jar;C:\Users\wroot.m2\repository\com\thoughtworks\xstream\xstream\1.2.2\xstream-1.2.2.jar;C:\Users\wroot.m2\repository\xpp3\xpp3_min\1.1.3.4.O\xpp3_min-1.1.3.4.O.jar;C:\Users\wroot.m2\repository\com\install4j\install4j-runtime\6.0.4\install4j-runtime-6.0.4.jar;C:\Users\wroot.m2\repository\com\jtattoo\JTattoo\1.6.11\JTattoo-1.6.11.jar;C:\Users\wroot.m2\repository\jaxen\jaxen\1.1.1\jaxen-1.1.1.jar;C:\Users\wroot.m2\repository\jdom\jdom\1.0\jdom-1.0.jar;C:\Users\wroot.m2\repository\xerces\xercesImpl\2.6.2\xercesImpl-2.6.2.jar;C:\Users\wroot.m2\repository\xom\xom\1.0\xom-1.0.jar;C:\Users\wroot.m2\repository\xerces\xmlParserAPIs\2.6.2\xmlParserAPIs-2.6.2.jar;C:\Users\wroot.m2\repository\xalan\xalan\2.6.0\xalan-2.6.0.jar;C:\Users\wroot.m2\repository\com\ibm\icu\icu4j\2.6.1\icu4j-2.6.1.jar;C:\Users\wroot.m2\repository\com\teamdev\jxbrowser\jxbrowser-win\6.14\jxbrowser-win-6.14.jar;C:\Users\wroot.m2\repository\com\teamdev\jxbrowser\jxbrowser\6.14\jxbrowser-6.14.jar;C:\Users\wroot.m2\repository\com\teamdev\jxbrowser\jxbrowser-linux32\6.14\jxbrowser-linux32-6.14.jar;C:\Users\wroot.m2\repository\com\teamdev\jxbrowser\jxbrowser-linux64\6.14\jxbrowser-linux64-6.14.jar;C:\Users\wroot.m2\repository\com\teamdev\jxbrowser\jxbrowser-mac\6.14\jxbrowser-mac-6.14.jar;C:\Users\wroot.m2\repository\com\github\insubstantial\substance-swingx\7.3\substance-swingx-7.3.jar;C:\Users\wroot.m2\repository\org\swinglabs\swingx\swingx-core\1.6.3\swingx-core-1.6.3.jar;C:\Users\wroot.m2\repository\org\swinglabs\swingx\swingx-autocomplete\1.6.3\swingx-autocomplete-1.6.3.jar;C:\Users\wroot.m2\repository\org\swinglabs\swingx\swingx-common\1.6.3\swingx-common-1.6.3.jar;C:\Users\wroot.m2\repository\org\swinglabs\swingx\swingx-action\1.6.3\swingx-action-1.6.3.jar;C:\Users\wroot.m2\repository\org\swinglabs\swingx\swingx-plaf\1.6.3\swingx-plaf-1.6.3.jar;C:\Users\wroot.m2\repository\org\swinglabs\swingx\swingx-painters\1.6.3\swingx-painters-1.6.3.jar;C:\Users\wroot.m2\repository\com\github\insubstantial\substance\7.3\substance-7.3.jar;C:\Users\wroot.m2\repository\com\github\insubstantial\trident\7.3\trident-7.3-swing.jar;C:\Users\wroot.m2\repository\com\github\insubstantial\laf-plugin\7.3\laf-plugin-7.3.jar;C:\Users\wroot.m2\repository\com\github\insubstantial\laf-widget\7.3\laf-widget-7.3.jar;C:\Users\wroot.m2\repository\com\github\freeseawind\littleluck\2.0.1\littleluck-2.0.1.jar;C:\Users\wroot.m2\repository\com\github\freeseawind\NinePatch\1.0\NinePatch-1.0.jar;C:\Users\wroot.m2\repository\net\coobird\thumbnailator\0.4.8\thumbnailator-0.4.8.jar;C:\Users\wroot.m2\repository\org\bouncycastle\bcprov-jdk15on\1\57\org\bouncycastle\bcprov-jdk15on\1.57\bcprov-jdk15on-1.57.jar;C:\Users\wroot.m2\repository\org\bouncycastle\bcpkix-jdk15on\1\57\org\bouncycastle\bcpkix-jdk15on\1.57\bcpkix-jdk15on-1.57.jar;C:\Users\wroot.m2\repository\org\bouncycastle\bctls-jdk15on\1\57\org\bouncycastle\bctls-jdk15on\1.57\bctls-jdk15on-1.57.jar” org.jivesoftware.launcher.Startup
Jun 20, 2018 7:46:34 PM org.jivesoftware.spark.util.log.Log error
SEVERE: Unable to load plugin org.jivesoftware.sparkplugin.JinglePlugin.
java.lang.NoClassDefFoundError: org/jivesoftware/spark/phone/Phone
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.jivesoftware.spark.PluginManager.loadPublicPlugin(PluginManager.java:435)
at org.jivesoftware.spark.PluginManager.loadPlugin(PluginManager.java:896)
at org.jivesoftware.spark.PluginManager.loadPublicPlugins(PluginManager.java:880)
at org.jivesoftware.spark.PluginManager.loadPlugins(PluginManager.java:252)
at org.jivesoftware.Spark.startup(Spark.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jivesoftware.launcher.Startup.start(Startup.java:88)
at org.jivesoftware.launcher.Startup.main(Startup.java:38)
Caused by: java.lang.ClassNotFoundException: org.jivesoftware.spark.phone.Phone
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 22 more

Jun 20, 2018 7:46:34 PM org.jivesoftware.spark.util.log.Log error
SEVERE: Unable to load plugin org.jivesoftware.sparkplugin.SoftPhonePlugin.
java.lang.NoClassDefFoundError: org/jivesoftware/spark/phone/Phone
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
at java.lang.Class.getConstructor0(Class.java:3075)
at java.lang.Class.newInstance(Class.java:412)
at org.jivesoftware.spark.PluginManager.loadPublicPlugin(PluginManager.java:435)
at org.jivesoftware.spark.PluginManager.loadPlugin(PluginManager.java:896)
at org.jivesoftware.spark.PluginManager.loadPublicPlugins(PluginManager.java:880)
at org.jivesoftware.spark.PluginManager.loadPlugins(PluginManager.java:252)
at org.jivesoftware.Spark.startup(Spark.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jivesoftware.launcher.Startup.start(Startup.java:88)
at org.jivesoftware.launcher.Startup.main(Startup.java:38)
Caused by: java.lang.ClassNotFoundException: org.jivesoftware.spark.phone.Phone
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 26 more

Jun 20, 2018 7:47:12 PM org.jivesoftware.smack.AbstractXMPPConnection$5 run
SEVERE: Exception in async packet listener
java.lang.NullPointerException
at org.jivesoftware.sparkimpl.profile.VCardManager.lambda$startQueueListener$2(VCardManager.java:201)
at org.jivesoftware.smack.AbstractXMPPConnection$5.run(AbstractXMPPConnection.java:1166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Jun 20, 2018 7:47:14 PM org.jivesoftware.spark.util.log.Log error
SEVERE: An exception occurred while initializing plugin org.jivesoftware.fastpath.FastpathPlugin@1c1a8d
java.lang.NoSuchMethodError: org.jivesoftware.smackx.disco.packet.DiscoverItems$Item.getEntityID()Ljava/lang/String;
at org.jivesoftware.fastpath.FastpathPlugin.initialize(FastpathPlugin.java:92)
at org.jivesoftware.spark.PluginManager.lambda$initializePlugins$1(PluginManager.java:717)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Jun 20, 2018 7:47:14 PM org.jivesoftware.spark.util.log.Log error
SEVERE: Error unzipping plugin
java.io.FileNotFoundException: N:\Git\Spark-4.3\core\target\classes (Access is denied)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:130)
at org.jivesoftware.sparkimpl.plugin.language.LanguagePlugin.initialize(LanguagePlugin.java:72)
at org.jivesoftware.spark.PluginManager.lambda$initializePlugins$1(PluginManager.java:717)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Jun 20, 2018 7:47:14 PM org.jivesoftware.spark.util.log.Log error
SEVERE: An exception occurred while initializing plugin org.jivesoftware.spark.otrplug.OTRPlugin@18331d2
java.lang.NoSuchMethodError: org.jivesoftware.smack.XMPPConnection.getUser()Ljava/lang/String;
at org.jivesoftware.spark.otrplug.OTRManager.getInstance(OTRManager.java:86)
at org.jivesoftware.spark.otrplug.OTRPlugin.initialize(OTRPlugin.java:22)
at org.jivesoftware.spark.PluginManager.lambda$initializePlugins$1(PluginManager.java:717)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Jun 20, 2018 7:47:16 PM org.jivesoftware.spark.util.log.Log error
SEVERE: Error calling constructor for org.jivesoftware.spark.ui.rooms.ChatRoomImpl with arguments [Ljava.lang.Class;@1249b8f
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.jivesoftware.spark.util.UIComponentRegistry.instantiate(UIComponentRegistry.java:502)
at org.jivesoftware.spark.util.UIComponentRegistry.createChatRoom(UIComponentRegistry.java:442)
at org.jivesoftware.spark.ChatManager$1.finished(ChatManager.java:376)
at org.jivesoftware.spark.util.SwingWorker.lambda$null$0(SwingWorker.java:146)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.AbstractMethodError: org.jivesoftware.spark.otrplug.OTRManager.getIcon(Lorg/jxmpp/jid/BareJid;)Ljavax/swing/Icon;
at org.jivesoftware.spark.ChatManager.getIconForContactHandler(ChatManager.java:689)
at org.jivesoftware.spark.ui.VCardPanel.buildUI(VCardPanel.java:227)
at org.jivesoftware.spark.ui.VCardPanel.(VCardPanel.java:122)
at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.loadHistory(ChatRoomImpl.java:752)
at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.(ChatRoomImpl.java:136)
at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.(ChatRoomImpl.java:114)
… 22 more

Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException
at org.jivesoftware.spark.ui.ChatContainer.addChatRoom(ChatContainer.java:256)
at org.jivesoftware.spark.ChatManager$1.finished(ChatManager.java:377)
at org.jivesoftware.spark.util.SwingWorker.lambda$null$0(SwingWorker.java:146)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


#4

Sending a message to MUC:

Exception in thread “AWT-EventQueue-0” java.lang.NoSuchMethodError: org.jivesoftware.spark.ui.ChatRoom.getRoomname()Ljava/lang/String;
at org.jivesoftware.spark.plugin.ofmeet.SparkMeetPlugin.messageReceived(SparkMeetPlugin.java:139)
at org.jivesoftware.spark.ChatManager.fireGlobalMessageReceievedListeners(ChatManager.java:451)
at org.jivesoftware.spark.ui.ChatRoom.insertMessage(ChatRoom.java:550)
at org.jivesoftware.spark.ui.rooms.GroupChatRoom.handleMessagePacket(GroupChatRoom.java:649)
at org.jivesoftware.spark.ui.rooms.GroupChatRoom.lambda$processStanza$2(GroupChatRoom.java:592)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


#5

Problems with chat windows are gone using fresh Spark profile. Of course, users would want to keep their profiles when updating Spark. Not sure what in there is causing this issue.


#6

The issue is caused by plugins. My profile already have them extracted from the regular Spark installation folder. I guess they have some incompatibility issues with Smack 4.3.


#7

If i only leave plugins that come with 2.9.0 installation, it behaves a bit better, but still not that correctly as without the plugins completely. But if one updates from 2.8.3 to 2.9.0, there will be more plugins left in the profile, some that are not anymore compatible with 2.9.0 even. Like spelling, otr, jingle, sparkphone. These old plugins somehow cause issues with chat windows.


#8

So, i have merged the Smack 4.3 PR. Now it is easier to test with nightlies. Have filed https://issues.igniterealtime.org/browse/SPARK-2065 to track plugins issue.


#9

Just noticed another issue with Roar https://issues.igniterealtime.org/browse/SPARK-2067


#10

Emoticons are not working also https://issues.igniterealtime.org/browse/SPARK-2068


#11

Is this supposed to be part of SPARK-2067 or should it be a new issue? What exactly does not work regarding Emoticons? Are they not shown at all or is there just a square box?


#12

Have mixed the numbers, it is https://issues.igniterealtime.org/browse/SPARK-2068

There is no emoticons picker shown in the chat window and text strings are not converted into emoticons in the chat (like “:” + “D”).


#13

Another issue with reconnecting https://issues.igniterealtime.org/browse/SPARK-2069


#14

Interesting that Emoticons work while running Spark from IntelliJ, but not when running a built version from Bamboo.


#15

Another issue https://issues.igniterealtime.org/browse/SPARK-2075


#16

Anonymous login fixed with https://github.com/igniterealtime/Spark/pull/443