Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: STS fails to start after installing extensions on OSX

  1. #1
    Join Date
    Jan 2007
    Location
    Westmister, CO
    Posts
    3

    Default STS fails to start after installing extensions on OSX

    I'm using:
    OS X 10.5.8 with a case sensitive file system
    Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)

    I have installed STS from:
    springsource-tool-suite-2.2.1.RELEASE-e3.5.1-macosx-carbon-installer.dmg
    springsource-tool-suite-2.2.1.RELEASE-e3.5.1-macosx-cocoa-x86_64-installer.dmg
    springsource-tool-suite-2.2.1.RELEASE-e3.5.1-macosx-carbon.tar.gz

    After installing STS I install the Groovy and Grails extensions and restart STS.
    STS fails to open and pops up a dialog referring me to a log file which contains:
    Code:
    !SESSION Thu Nov 26 17:44:07 MST 2009 ------------------------------------------
    !ENTRY org.eclipse.equinox.launcher 4 0 2009-11-26 17:44:07.261
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
            at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
            at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
            at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    The diff (diff -rq springsource springsource2) of the directories before installing the extensions and after is (springsource2 is the clean install):
    Code:
    Only in springsource: .DS_Store
    Only in springsource/sts-2.2.1.RELEASE/STS.app/Contents/MacOS: sts.ini
    Files springsource/sts-2.2.1.RELEASE/artifacts.xml and springsource2/sts-2.2.1.RELEASE/artifacts.xml differ
    Files springsource/sts-2.2.1.RELEASE/configuration/.settings/org.eclipse.ui.ide.prefs and springsource2/sts-2.2.1.RELEASE/configuration/.settings/org.eclipse.ui.ide.prefs differ
    Files springsource/sts-2.2.1.RELEASE/configuration/config.ini and springsource2/sts-2.2.1.RELEASE/configuration/config.ini differ
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.core.runtime/.manager/.fileTable.7 and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.core.runtime/.manager/.fileTable.7 differ
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.core.runtime/.manager/.fileTable.8 and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.core.runtime/.manager/.fileTable.8 differ
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.core.runtime/.table.1 and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.core.runtime/.table.1 differ
    Only in springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi: .bundledata.1
    Only in springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi: .bundledata.2
    Only in springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/.manager: .fileTable.4
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/.manager/.fileTable.5 and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/.manager/.fileTable.5 differ
    Only in springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/.manager: .fileTable.6
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/.state.1 and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/.state.1 differ
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/347/data/SCR and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/347/data/SCR differ
    Only in springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/365/data: -57300181
    Only in springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/365/data: 1553553669
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/372/data/cache.timestamps and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/372/data/cache.timestamps differ
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/372/data/listener_1925729951/artifacts.xml and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/372/data/listener_1925729951/artifacts.xml differ
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/372/data/listener_1925729951/content.xml and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/372/data/listener_1925729951/content.xml differ
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/372/data/timestamps-897699915 and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/372/data/timestamps-897699915 differ
    Only in springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles: 377
    Only in springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/381/data: -1187023094
    Only in springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/381/data: -839923540
    Only in springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/427/1/.cp/org/eclipse/jface/dialogs/images: help.gif
    Only in springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles: 543
    Only in springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/666/1/.cp/icons/full/dlcl16: progress_stop.gif
    Only in springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.osgi/bundles/666/1/.cp/icons/full/elcl16: progress_stop.gif
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.update/install.log and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.update/install.log differ
    Files springsource/sts-2.2.1.RELEASE/configuration/org.eclipse.update/platform.xml and springsource2/sts-2.2.1.RELEASE/configuration/org.eclipse.update/platform.xml differ
    Only in springsource/sts-2.2.1.RELEASE/features: com.springsource.sts.grails_2.2.1.200910210131-RELEASE
    Only in springsource/sts-2.2.1.RELEASE/features: org.codehaus.groovy.eclipse.feature_2.0.0.xx-20091108-2000-e35
    Only in springsource/sts-2.2.1.RELEASE/features: org.codehaus.groovy.jdt.patch_2.0.0.xx-20091108-2000-e35
    Only in springsource/sts-2.2.1.RELEASE/features: org.codehaus.groovy16.feature_2.0.0.xx-20091108-2000-e35
    Only in springsource/sts-2.2.1.RELEASE/features: org.codehaus.groovy17.feature_2.0.0.xx-20091108-2000-e35
    Files springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile/.data/.settings/org.eclipse.equinox.p2.artifact.repository.prefs and springsource2/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile/.data/.settings/org.eclipse.equinox.p2.artifact.repository.prefs differ
    Files springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile/.data/.settings/org.eclipse.equinox.p2.metadata.repository.prefs and springsource2/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile/.data/.settings/org.eclipse.equinox.p2.metadata.repository.prefs differ
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile/.data/.settings: org.eclipse.equinox.p2.ui.sdk.prefs
    Files springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile/.data/.settings/org.eclipse.equinox.p2.ui.sdk.scheduler.prefs and springsource2/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile/.data/.settings/org.eclipse.equinox.p2.ui.sdk.scheduler.prefs differ
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile: 1259282188939.profile.gz
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile: 1259282190952.profile.gz
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile: 1259282620776.profile.gz
    Only in springsource2/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile: 1259283337909.profile.gz
    Only in springsource2/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.engine/profileRegistry/com.springsource.sts.ide.profile: 1259283339243.profile.gz
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.repository/cache: compositeContent1095413072.jar
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.repository/cache: compositeContent1300562221.jar
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.repository/cache: content-1313268167.jar
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.repository/cache: content-1964146205.jar
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.repository/cache: content-445678946.jar
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.repository/cache: content-485972093.jar
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.repository/cache: content-836065428.jar
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.repository/cache: content-888347553.jar
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.repository/cache: content1048691197.jar
    Only in springsource/sts-2.2.1.RELEASE/p2/org.eclipse.equinox.p2.repository/cache: content816442617.jar
    I removed all the diffs for files in springsource/sts-2.2.1.RELEASE/plugins as it made the post to long.

    Any ideas on how to get it working?
    Last edited by aphahn; Nov 30th, 2009 at 10:20 PM. Reason: Adding info

  2. #2
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    aphahn,

    thanks for those many details. This is a recurring issue with STS 2.x and Mac OS. You are the first to report using the case sensitive filesystem, which might actually make the difference as I was never able to re-create this issue.

    Nevertheless the root cause to this will be fixed with STS 2.3.0. To work-around that now, please restore the missing "sts-2.2.1.RELEASE/STS.app/Contents/MacOS/sts.ini" after you installed new plugins. For whatever reason file gets lost during the update. It is safe to just restore a copy from before the installation.

    Let me know if that helps.

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

  3. #3
    Join Date
    Jan 2007
    Location
    Westmister, CO
    Posts
    3

    Default

    Christian,

    I'm confused by the workaround you gave. sts-2.2.1.RELEASE/STS.app/Contents/MacOS/sts.ini gets created when the plugins are installed. In the clean install there is sts-2.2.1.RELEASE/STS.app/Contents/MacOS/STS.ini and after installing plugins both sts.ini and STS.ini are present in sts-2.2.1.RELEASE/STS.app/Contents/MacOS/. STS.ini remains unchanged after adding the plugins and sts.ini cotains:
    Code:
    -configuration
    ../../../configuration
    I have tried every combination of these files I can think of (including merging them) and still it won't start.

    Any ideas?
    I can help test fixes for this issue.

    Andy

  4. #4
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    Hi Andy,

    yeah, sorry. On second read my reply wasn't very clear.

    Can you try to copy the original STS.ini to sts.ini and install some plugins. Does this solve the issue?

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

  5. #5
    Join Date
    Jan 2007
    Location
    Westmister, CO
    Posts
    3

    Thumbs up

    Thanks Christian,
    Moving sts-2.2.1.RELEASE/STS.app/Contents/MacOS/STS.ini to sts-2.2.1.RELEASE/STS.app/Contents/MacOS/sts.ini before installing any plugins did the trick.

    Thanks again,

    Andy

  6. #6

    Default

    Interesting, I just had this issue on OSX 10.6.8 using STS 2.7.2.RELEASE. I ran the installer, which completed and lauched STS with no trouble.

    After applying the available updates, I tried to restart STS and got this error:

    You can't open the application STS.app because it may be damaged or incomplete.

    I reinstalled STS in another location and renamed sts-2.7.2.RELEASE/STS.app/Contents/MacOS/STS.ini from STS.ini to sts.ini. I then applied the available updates and restarted without error.

    Thanks Christian and Andy!

    Ross

  7. #7
    Join Date
    May 2012
    Posts
    1

    Default Slightly different solution?

    Quote Originally Posted by ross.jourdain View Post
    Interesting, I just had this issue on OSX 10.6.8 using STS 2.7.2.RELEASE. I ran the installer, which completed and lauched STS with no trouble.

    After applying the available updates, I tried to restart STS and got this error
    I have the same issue, maybe I should try the ini fix, but I also found that running the STS app in the contents/macos... folder works for me, it starts and runs.

  8. #8
    Join Date
    May 2012
    Posts
    1

    Default

    Christian Dupuis, you said this problem should be fixed for version 2.3 but I have installed the 2.9.1 version and still exists the same issue. Thanks anyway.

  9. #9
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hey!

    Does the described workaround works for you as well? Just asking...
    And are you on a case-sensitive file system as well?

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  10. #10
    Join Date
    Jun 2012
    Posts
    1

    Default

    Quote Originally Posted by Martin Lippert View Post
    Hey!

    Does the described workaround works for you as well? Just asking...
    And are you on a case-sensitive file system as well?

    -Martin
    MBP OS X 10.7.4

    I've just installed the Spring Source Toolsuite v sts-2.9.2.RELEASE and each time I install to /applications I encountered the above error...well, in that the application would present the:
    'cannot open the application STS because it may be damaged or incomplete'
    message after the first STS boot.

    I installed to ~/ [user folder] instead and the STS application would boot fine on numerous occasions.

    copying STS.ini to the /applications/STS folder did not resolve the issue for me; however, I did notice that the application had rights/privileges for user [read/write], staff and everyone [read only] but no admin rights which might be the sticking point here for some installations?

    just a thought. I would test this with modified rights to a /applications installation and repost but just at this moment my poker tournaments have gone mental - my apologies for a half-hearted response.

    nomad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •