This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCSv5 fails to open after installing TFS Everywhere plugin



Hello,

Using CCSv5.3.0 we have attempted to load the TFS Everywhere Eclipse plugin v11.0.0.1211. This runs ok straight after install but after closing and reloading an error message is given with a log file (attached) and the program fails to start.

We are running in Windows 7 Enterprise.

Running with a -clean seems work but CCS takes a long time to load ~ 60 seconds.

Has anyone seen this before or would be able to give any hints or suggestions?

Thanks,

Adam

!SESSION 2013-01-23 13:42:07.949 -----------------------------------------------
eclipse.buildId=I20120608-1200
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments:  -product com.ti.ccstudio.branding.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.ti.ccstudio.branding.product

!ENTRY org.eclipse.osgi 4 0 2013-01-23 13:42:08.275
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:225)
	at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:657)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:274)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
	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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Caused by: java.lang.IllegalStateException: Expected to find an object at table index: 782
	at org.eclipse.osgi.internal.resolver.StateReader.getFromObjectTable(StateReader.java:83)
	at org.eclipse.osgi.internal.resolver.StateReader.readGenericDescription(StateReader.java:600)
	at org.eclipse.osgi.internal.resolver.StateReader.readBundleDescriptionLazyData(StateReader.java:350)
	at org.eclipse.osgi.internal.resolver.StateReader.fullyLoad(StateReader.java:823)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.loadLazyData(BundleDescriptionImpl.java:662)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.getExportPackages(BundleDescriptionImpl.java:160)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.setFrameworkVersion(PackageAdminImpl.java:706)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.setResolvedBundles(PackageAdminImpl.java:656)
	at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:67)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	... 12 more
Root exception:
java.lang.IllegalStateException: Expected to find an object at table index: 782
	at org.eclipse.osgi.internal.resolver.StateReader.getFromObjectTable(StateReader.java:83)
	at org.eclipse.osgi.internal.resolver.StateReader.readGenericDescription(StateReader.java:600)
	at org.eclipse.osgi.internal.resolver.StateReader.readBundleDescriptionLazyData(StateReader.java:350)
	at org.eclipse.osgi.internal.resolver.StateReader.fullyLoad(StateReader.java:823)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.loadLazyData(BundleDescriptionImpl.java:662)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.getExportPackages(BundleDescriptionImpl.java:160)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.setFrameworkVersion(PackageAdminImpl.java:706)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.setResolvedBundles(PackageAdminImpl.java:656)
	at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:67)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:225)
	at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:657)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:274)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
	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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

!ENTRY org.eclipse.osgi 4 0 2013-01-23 13:42:08.276
!MESSAGE Startup error
!STACK 1
java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:233)
	at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:657)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:274)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
	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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:225)
	... 10 more
Caused by: java.lang.IllegalStateException: Expected to find an object at table index: 782
	at org.eclipse.osgi.internal.resolver.StateReader.getFromObjectTable(StateReader.java:83)
	at org.eclipse.osgi.internal.resolver.StateReader.readGenericDescription(StateReader.java:600)
	at org.eclipse.osgi.internal.resolver.StateReader.readBundleDescriptionLazyData(StateReader.java:350)
	at org.eclipse.osgi.internal.resolver.StateReader.fullyLoad(StateReader.java:823)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.loadLazyData(BundleDescriptionImpl.java:662)
	at org.eclipse.osgi.internal.resolver.BundleDescriptionImpl.getExportPackages(BundleDescriptionImpl.java:160)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.setFrameworkVersion(PackageAdminImpl.java:706)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.setResolvedBundles(PackageAdminImpl.java:656)
	at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:67)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	... 12 more

  • Hi Adam,

    it is difficult to guarantee compatibility with every single plug-in.   Has this behaviour only been observed since installation of the plug-in?  Do you notice any difference in the startup time connected or disconnected to a network?

    Best Regards,
    Lisa

  • Hi Lisa,

    It loads more quickly with no network but then clearly you can't connect to the TFS server. It won't load without -clean with or without a network. Reinstalling CCS and the plugin solves the problem on first run but it immediately recurs on close and reopen. We have seen this on two machines running the same software combination.

    Thanks and regards,

    Adam

  • Hi Adam, 

    Where is CCS installed? i.e. which directory, are there any special permission settings on the directory where CCS is installed? Could you check whether there exists a directory at userHomeDir/.eclipse/org.eclipse.platform_3.8_hashNumber . If yes, is there a configuration\org.eclipse.equinox.simpleconfigurator subdirectory?

    Thanks,
    Martin 

  • Hello Martin,

    Eclipse is installed in C:\ti\ccsv5\eclipse. No special instructions were given for install and no special permissions are set.

    I have C:\ti\ccsv5\eclipse\configuration\org.eclipse.equinox.simpleconfigurator. The folder contains a bundles.info file. This is not in the user home directory.

    Adam

  • Hi Adam, 

    This appears to be an eclipse bug. I can reproduce the issue that you described. There is a fix available, but picking that fix up will require a few steps. 

    1. Go into Window->Preferences -> Install/Update and click on Available Software Sites. Note down various update locations that are enabled, now disable all the update sites that are enabled and click on "Add..." The name does not really matter, but "Eclipse 3.8" would be appropriate. In the download edit box enter "http://download.eclipse.org/eclipse/updates/3.8" and click ok and ok again. (see picture for what it should look like)

    2. Go Help->Check for updates. You should now see four eclipse feature that can be updated. Select all of them and click next a few times to install them. After succesfull install you should get a dialog to restart, select yes. 

    3. Go back to same preferences location from step 1. Disable 3.8 update site that was added in Step 1, also disable "Juno" update site that was added by newly installed features in step 2. This step is important as picking up updates from "Juno" site will break CCS. As a last step re-enable all standard CCS update sites that were disabled in Step 1. 

    4. Install TFS using instructions from Microsoft website. 

    I confirmed that I have no issues starting CCS multiple times with TFS installed after updating eclipse. 

    Martin

  • Hi Martin,

    Excellent. That works fine. Didn't even have to reinstall TFS.

    Many thanks and kind regards,

    Adam