powered by Jive Software

Spark fails to open

Hi! I have installed Spark 2.5.8.0

It does not open when I load it up. I’ve tried to reinstall it, but the outcome is the same. I have installed it on my computer and it works fine but for some reason it does not work on the laptop. I suspect that it probably has something to do with firewall?

I was wondering if someone could help please? Thanks so much.

Try a latest version from here http://www.igniterealtime.org/community/docs/DOC-1822

Also after uninstalling previous version delete C:\Documents and Settings\username\Spark

Hrmm… Thanks for that. But, it still does not open. I checked the processes tab under task manager, and Spark.exe isn’t there when opened. I’m using Windows Vista at the moment. Is it because of security settings or java?

I have allowed it through firewall and trying to get Java to work. For some reason, it doesn’t ><

You can check C:\Documents and Settings\username\Spark\logs and paste errors log content here. Maybe you are trying to run it with limited rights user and installing it as administrator? You can try to run it once as administrator.

I’ve tried to run as administrator, but no luck. The error in logs is as follows:

java.io.IOException: Invalid argument
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Unknown Source)
at java.io.File.getCanonicalPath(Unknown Source)
at org.jivesoftware.spark.util.log.Log.(Log.java:49)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.saveSettings(Settings Manager.java:76)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.getLocalPreferences(S ettingsManager.java:54)
at org.jivesoftware.Spark.loadLanguage(Spark.java:373)
at org.jivesoftware.Spark.startup(Spark.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jivesoftware.launcher.Startup.start(Startup.java:83)
at org.jivesoftware.launcher.Startup.main(Startup.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jivesoftware.launcher.Startup.start(Startup.java:83)
at org.jivesoftware.launcher.Startup.main(Startup.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.lang.NullPointerException
at org.jivesoftware.spark.util.log.Log.error(Log.java:74)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.saveSettings(Settings Manager.java:76)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.getLocalPreferences(S ettingsManager.java:54)
at org.jivesoftware.Spark.loadLanguage(Spark.java:373)
at org.jivesoftware.Spark.startup(Spark.java:105)
… 12 more

Thanks for the help in advance!

Well, i cant see what is happening here. Btw, have you installed Java JRE on your PC? Because those latest installers dont have java bundled.

I’m kind of brining this back from the dead, but was there ever a solution found for this? I’m having the exact same problem on a Windows 2008 R2 RDS server. I’ve got a few boxes running this just fine but one box just will NOT allow it to run for a basic user. If I make that basic user an administrator of the server it works just fine…of course we don’t want basic users being admins though.

I’ve tried every uninstall/reinstall method I can think of includig full reinstalls of Java. I even rebuilt the server once for it, same result…

error.log -->

java.io.IOException: Couldn’t get lock for C:\Users\localadmin\Spark\logs\errors.log
at java.util.logging.FileHandler.openFiles(Unknown Source)
at java.util.logging.FileHandler.(Unknown Source)
at org.jivesoftware.spark.util.log.Log.(Log.java:49)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.saveSettings(Settings Manager.java:76)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.getLocalPreferences(S ettingsManager.java:54)
at org.jivesoftware.Spark.loadLanguage(Spark.java:373)
at org.jivesoftware.Spark.startup(Spark.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jivesoftware.launcher.Startup.start(Startup.java:83)
at org.jivesoftware.launcher.Startup.main(Startup.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jivesoftware.launcher.Startup.start(Startup.java:83)
at org.jivesoftware.launcher.Startup.main(Startup.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.lang.NullPointerException
at org.jivesoftware.spark.util.log.Log.error(Log.java:74)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.saveSettings(Settings Manager.java:76)
at org.jivesoftware.sparkimpl.settings.local.SettingsManager.getLocalPreferences(S ettingsManager.java:54)
at org.jivesoftware.Spark.loadLanguage(Spark.java:373)
at org.jivesoftware.Spark.startup(Spark.java:105)
… 12 more

AND, this is from one of our working boxes:

java.io.IOException: Couldn’t get lock for C:\Users\localadmin\Spark\logs\errors.log
at java.util.logging.FileHandler.openFiles(Unknown Source)
at java.util.logging.FileHandler.(Unknown Source)
at org.jivesoftware.spark.util.log.Log.(Log.java:49)
at org.jivesoftware.resource.Default.getImageIcon(Default.java:98)
at org.jivesoftware.spark.SparkManager.getApplicationImage(SparkManager.java:402)
at org.jivesoftware.LoginDialog.invoke(LoginDialog.java:138)
at org.jivesoftware.Spark.startup(Spark.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jivesoftware.launcher.Startup.start(Startup.java:83)
at org.jivesoftware.launcher.Startup.main(Startup.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)