AnsweredAssumed Answered

Prombles when initializing plugins

Question asked by shawn on Jul 1, 2014
Latest reply on Aug 26, 2014 by felix

Hi, I get some exceptions when I start spark. They are mainly about i18n.

 

According to the code, LanguagePlugin need to find "spark.jar", but I don't know why it want to find it in "bin" directory.

 

It seems plugins always fail to find i18n resources.  Can anyone help me.

 

Thanks!

 

 

SEVERE: Error unzipping plugin
java.io.FileNotFoundException: C:\Users\Worksap\Documents\GitHub\Spark\bin (Access is denied)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:215)
    at java.util.zip.ZipFile.<init>(ZipFile.java:145)
    at java.util.jar.JarFile.<init>(JarFile.java:154)
    at java.util.jar.JarFile.<init>(JarFile.java:118)
    at org.jivesoftware.sparkimpl.plugin.language.LanguagePlugin.initialize(LanguagePlugin.java:76)
    at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

?? 01, 2014 5:28:41 ?? org.jivesoftware.spark.util.log.Log error
SEVERE: 
java.lang.ExceptionInInitializerError
    at org.jivesoftware.spellchecker.SpellcheckerPreferenceDialog.<init>(SpellcheckerPreferenceDialog.java:103)
    at org.jivesoftware.spellchecker.SpellcheckerPreference.<init>(SpellcheckerPreference.java:49)
    at org.jivesoftware.spellchecker.SpellcheckManager.<init>(SpellcheckManager.java:57)
    at org.jivesoftware.spellchecker.SpellcheckManager.getInstance(SpellcheckManager.java:46)
    at org.jivesoftware.spellchecker.SpellcheckerPlugin.initialize(SpellcheckerPlugin.java:39)
    at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.util.MissingResourceException: Can't find bundle for base name i18n/spellchecker_i18n, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:721)
    at org.jivesoftware.spellchecker.SpellcheckerResource.<clinit>(SpellcheckerResource.java:34)
    ... 20 more

?? 01, 2014 5:28:41 ?? org.jivesoftware.spark.util.log.Log error
SEVERE: 
java.lang.ExceptionInInitializerError
    at org.jivesoftware.spark.plugins.transfersettings.TransferSettingsPanel$BlockedTypesPanel.<init>(TransferSettingsPanel.java:80)
    at org.jivesoftware.spark.plugins.transfersettings.TransferSettingsPanel.<init>(TransferSettingsPanel.java:36)
    at org.jivesoftware.spark.plugins.transfersettings.TransferSettingsPreference.<init>(TransferSettingsPreference.java:32)
    at org.jivesoftware.spark.plugins.transfersettings.FileTransferSettingsPlugin.initialize(FileTransferSettingsPlugin.java:44)
    at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.util.MissingResourceException: Can't find bundle for base name i18n/transferguard_i18n, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:721)
    at org.jivesoftware.spark.plugins.transfersettings.TGuardRes.<clinit>(TGuardRes.java:23)
    ... 19 more

Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
    at org.jivesoftware.fastpath.FastpathPlugin$1.run(FastpathPlugin.java:88)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.util.MissingResourceException: Can't find bundle for base name i18n/fastpath_i18n, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:721)
    at org.jivesoftware.fastpath.FpRes.<clinit>(FpRes.java:41)
    ... 15 more

Outcomes