After Upgrade Mac Spark Won't Start

I’ve been using Spark on my mac fine for a couple of weeks. Today I checked for updates and installed the lastest version 2.6.3. Since doing this spark won’t start. It appears to try to start, the icon bounces but then the application window doesn’t appear.

I’ve tried deleting the application from Applications and from Library/Application Support/Spark but still no go.

My system error.log shows the following output when I try to run Spark:

Jul 5 11:24:29 Administrators-iMac /Applications/Spark.app/Contents/MacOS/JavaApplicationStub[677]: Unrecognized Java VM option ignored: -d32

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: java.lang.reflect.InvocationTargetException

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at java.lang.reflect.Method.invoke(Method.java:597)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at org.jivesoftware.launcher.Startup.start(Startup.java:94)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at org.jivesoftware.launcher.Startup.main(Startup.java:44)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at java.lang.reflect.Method.invoke(Method.java:597)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at apple.launcher.LaunchRunner.run(LaunchRunner.java:115)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: Caused by: java.lang.NullPointerException

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at java.util.Arrays$ArrayList.(Arrays.java:3357)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at java.util.Arrays.asList(Arrays.java:3343)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at org.jivesoftware.spark.PluginManager.deleteOldPlugins(PluginManager.java:170)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at org.jivesoftware.spark.PluginManager.movePlugins(PluginManager.java:131)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at org.jivesoftware.spark.PluginManager.(PluginManager.java:115)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at org.jivesoftware.spark.PluginManager.getInstance(PluginManager.java:97)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: at org.jivesoftware.Spark.startup(Spark.java:208)

Jul 5 11:24:30 Administrators-iMac [0x0-0x7e07e].com.jivesoftware.SparkBundle[677]: … 13 more

Any tips to get this running would be greatly appreciated.

Thanks

This bug occurs with 2.6.0 > 2.6.3. I downgraded to 2.5.8 and it works again. Would like to update if possible.

is 2.6.0 or 2.6.2 working for you? What’s the Mac OS aou are using? It has to be latest version with all patches installed.

2.6.0 and 2.6.3 fail to launch, showing the same error as listed above. I didn’t try 2.6.2.

I’ve downgraded to 2.5.8 and the problem is gone. I’m running the latest Mac OS X release: 10.6.8.

what kind of Mac are you running?

please provide ALL information not just “white macbook late 2008”

  • also current java version

  • os architecure (32/64bit)

  • has the system been upgraded from 10.4 to 10.6

  • running as admin

  • etc

Model Name: iMac

Model Identifier: iMac11,3

Processor Name: Intel Core i3

Processor Speed: 3.2 GHz

RAM: 4gb

64bit OSX 10.6.8


$ java -version

java version “1.6.0_17”

Java™ SE Runtime Environment (build 1.6.0_17-b04-248)

Java HotSpot™ 64-Bit Server VM (build 14.3-b01-101, mixed mode)


Upgraded to 10.6.8 from previous version but not sure if it was updated prior to that or whether that was a fresh install. I’ve just inherited the machine in a new job. Is there a way to check the installation /update history?

I’m running as a user with administration priviledges.

Thanks for your help with this.

really weird…

  1. can you post spark errorlogs located @ spark.app/ Contents/Resources/logs

open spark.app with right-click -> “show package contents”

and @ ~/Library/Application Support/Spark/logs/

paste them into www.pastebin.com and post links here

  1. can you try to build spark yourself?

svn checkout [http://svn.igniterealtime.org/svn/repos/spark/trunk](http://svn.igniterealtime.org/svn/repos/spark/trunk) somefolder

ant -f somefolder/build/build.xml mac.app

Thanks for your help with this.

I will reinstall 2.6.3 next week and get back to you with this info.

Further to this:

error.log from ~/Library/Application Support/Spark/log

http://pastebin.com/569heRzw

July 13 (today) are the errors after upgrading again from 2.5.8 to 2.6.3 - same behaviour displayed as before.

July 12 entries are from v 2.5.8 which was working perfectly yesterday.

All other logs were empty.

Does this suggest Growl plugin is an issue?

Just compiled from the SVN repo and same story. Same errors. Going back to 2.5.8 again. Thanks for any insight.

it looks like you’re using the old apple and growl plugin, these dont work anymore on 10.6

please delete apple/ apple.jar growl/ and growl.jar in ~/Library/Application Support/Spark/plugins

usually 2.6.3 should overwrite the old plugins with newer ones, no idea why it doesnt work for you

I’ve already tried this after seeing a response in another thread here.

The folder was empty, but there was still a problem.

I’ll just stick with 2.5.8.

Thanks for your time.