Results 1 to 5 of 5

Thread: Can't even start STS 2.6.1 SR1

  1. #1
    Join Date
    May 2011
    Posts
    3

    Default Can't even start STS 2.6.1 SR1

    Hi,

    I can't even start STS. The system alert is "An error had occured. See the log file". And the log was display the exception:


    !SESSION 2011-05-31 23:31:31.534 -----------------------------------------------
    eclipse.buildId=2.6.1.201105041000-RELEASE
    java.version=1.6.0_17
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -product com.springsource.sts.ide
    Command-line arguments: -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide

    !ENTRY org.eclipse.equinox.p2.core 4 0 2011-05-31 23:31:33.417
    !MESSAGE Provisioning exception
    !STACK 1
    org.eclipse.equinox.p2.core.ProvisionException: Unknown repository type at file:/C:/springsource/sts-2.6.1.SR1/configuration/org.eclipse.osgi/bundles/344/data/listener_1925729951/.
    at org.eclipse.equinox.internal.p2.repository.helpers .AbstractRepositoryManager.fail(AbstractRepository Manager.java:391)
    at org.eclipse.equinox.internal.p2.repository.helpers .AbstractRepositoryManager.doCreateRepository(Abst ractRepositoryManager.java:280)
    at org.eclipse.equinox.internal.p2.metadata.repositor y.MetadataRepositoryManager.createRepository(Metad ataRepositoryManager.java:41)
    at org.eclipse.equinox.internal.provisional.p2.direct orywatcher.RepositoryListener.initializeMetadataRe pository(RepositoryListener.java:123)
    at org.eclipse.equinox.internal.provisional.p2.direct orywatcher.RepositoryListener.initialize(Repositor yListener.java:73)
    at org.eclipse.equinox.internal.provisional.p2.direct orywatcher.RepositoryListener.<init>(RepositoryLis tener.java:68)
    at org.eclipse.equinox.internal.p2.reconciler.dropins .DropinsRepositoryListener.<init>(DropinsRepositor yListener.java:53)
    at org.eclipse.equinox.internal.p2.reconciler.dropins .Activator.watchDropins(Activator.java:489)
    at org.eclipse.equinox.internal.p2.reconciler.dropins .Activator.start(Activator.java:172)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$1.run(BundleContextImpl.java:783)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:774 )
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:755)
    at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractB undle.resume(AbstractBundle.java:374)
    at org.eclipse.osgi.framework.internal.core.Framework .resumeBundle(Framework.java:1067)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.resumeBundles(StartLevelManager.java:561)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.resumeBundles(StartLevelManager.java:546)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.incFWSL(StartLevelManager.java:459)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.doSetStartLevel(StartLevelManager.java:24 3)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.dispatchEvent(StartLevelManager.java:440)
    at org.eclipse.osgi.framework.eventmgr.EventManager.d ispatchEvent(EventManager.java:227)
    at org.eclipse.osgi.framework.eventmgr.EventManager$E ventThread.run(EventManager.java:337)
    !SUBENTRY 1 org.eclipse.equinox.p2.metadata.repository 4 1005 2011-05-31 23:31:33.418
    !MESSAGE Unknown repository type at file:/C:/springsource/sts-2.6.1.SR1/configuration/org.eclipse.osgi/bundles/344/data/listener_1925729951/.

    !ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2011-05-31 23:31:33.422
    !MESSAGE
    !STACK 0
    org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.p2.reconciler.dropins .Activator.start() of bundle org.eclipse.equinox.p2.reconciler.dropins.
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:806 )
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:755)
    at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractB undle.resume(AbstractBundle.java:374)
    at org.eclipse.osgi.framework.internal.core.Framework .resumeBundle(Framework.java:1067)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.resumeBundles(StartLevelManager.java:561)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.resumeBundles(StartLevelManager.java:546)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.incFWSL(StartLevelManager.java:459)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.doSetStartLevel(StartLevelManager.java:24 3)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.dispatchEvent(StartLevelManager.java:440)
    at org.eclipse.osgi.framework.eventmgr.EventManager.d ispatchEvent(EventManager.java:227)
    at org.eclipse.osgi.framework.eventmgr.EventManager$E ventThread.run(EventManager.java:337)
    Caused by: java.lang.IllegalStateException: Could not create metadata repository for: file:/C:/springsource/sts-2.6.1.SR1/configuration/org.eclipse.osgi/bundles/344/data/listener_1925729951/
    at org.eclipse.equinox.internal.provisional.p2.direct orywatcher.RepositoryListener.initializeMetadataRe pository(RepositoryListener.java:126)
    at org.eclipse.equinox.internal.provisional.p2.direct orywatcher.RepositoryListener.initialize(Repositor yListener.java:73)
    at org.eclipse.equinox.internal.provisional.p2.direct orywatcher.RepositoryListener.<init>(RepositoryLis tener.java:68)
    at org.eclipse.equinox.internal.p2.reconciler.dropins .DropinsRepositoryListener.<init>(DropinsRepositor yListener.java:53)
    at org.eclipse.equinox.internal.p2.reconciler.dropins .Activator.watchDropins(Activator.java:489)
    at org.eclipse.equinox.internal.p2.reconciler.dropins .Activator.start(Activator.java:172)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$1.run(BundleContextImpl.java:783)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:774 )
    ... 11 more
    Root exception:
    java.lang.IllegalStateException: Could not create metadata repository for: file:/C:/springsource/sts-2.6.1.SR1/configuration/org.eclipse.osgi/bundles/344/data/listener_1925729951/
    at org.eclipse.equinox.internal.provisional.p2.direct orywatcher.RepositoryListener.initializeMetadataRe pository(RepositoryListener.java:126)
    at org.eclipse.equinox.internal.provisional.p2.direct orywatcher.RepositoryListener.initialize(Repositor yListener.java:73)
    at org.eclipse.equinox.internal.provisional.p2.direct orywatcher.RepositoryListener.<init>(RepositoryLis tener.java:68)
    at org.eclipse.equinox.internal.p2.reconciler.dropins .DropinsRepositoryListener.<init>(DropinsRepositor yListener.java:53)
    at org.eclipse.equinox.internal.p2.reconciler.dropins .Activator.watchDropins(Activator.java:489)
    at org.eclipse.equinox.internal.p2.reconciler.dropins .Activator.start(Activator.java:172)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$1.run(BundleContextImpl.java:783)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:774 )
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:755)
    at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractB undle.resume(AbstractBundle.java:374)
    at org.eclipse.osgi.framework.internal.core.Framework .resumeBundle(Framework.java:1067)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.resumeBundles(StartLevelManager.java:561)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.resumeBundles(StartLevelManager.java:546)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.incFWSL(StartLevelManager.java:459)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.doSetStartLevel(StartLevelManager.java:24 3)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.dispatchEvent(StartLevelManager.java:440)
    at org.eclipse.osgi.framework.eventmgr.EventManager.d ispatchEvent(EventManager.java:227)
    at org.eclipse.osgi.framework.eventmgr.EventManager$E ventThread.run(EventManager.java:337)

    !ENTRY org.eclipse.osgi 4 0 2011-05-31 23:31:34.697
    !MESSAGE Application error
    !STACK 1
    org.osgi.service.application.ApplicationException: No application id has been found.
    at org.eclipse.equinox.internal.app.EclipseAppContain er.startDefaultApp(EclipseAppContainer.java:262)
    at org.eclipse.equinox.internal.app.MainApplicationLa uncher.run(MainApplicationLauncher.java:29)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework( Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:14 08)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1 384)

    Any idea for resolving this. STS version is 32-bit..

    My computer specification is as following:

    OS: windows 7 64-bit
    CPU: Athlon X2 3.0Ghz
    Ram: 4GB

    Your help is highly appreciated.

  2. #2
    Join Date
    May 2011
    Posts
    3

    Default

    Anybody help ?

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

    Default

    Hi!

    This looks like something went wrong with the installation of STS on your machine. Did you use the installer or the ZIP? I would recommend to try to reinstall a fresh copy to see if the problem goes away with that.

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

  4. #4
    Join Date
    May 2011
    Posts
    3

    Default

    Hi Martin,

    Thanks for reply. I am using the installer to install STS. May I know what mean by fresh copy? How do I go through this?

    Best rgds,
    SC Hor

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

    Default

    Hi!

    I would delete your complete "C:/springsource" directory and run the installer again. And please make sure that the destination you are installing STS into is not a read-only directory for your user.

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

Posting Permissions

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