Crash in Code Composer Studio 5.3 after installing TFSEclipsePlugin v11.0.0.1211

Answered Crash in Code Composer Studio 5.3 after installing TFSEclipsePlugin v11.0.0.1211

  • Monday, February 18, 2013 6:31 PM
     
     

    After installing TFS pluging for Eclipse into TI Code Composer Studio v5.3 and restarting, I get the following crash log and CCS fails to startup. Any help resolving this is greatly appreciated since as of now, I have to to a complete uninstall and reinstall of CCS to recover my working environment and will not be able to use the TFS integration.

    Attached crash log:

    !SESSION 2013-02-18 10:24:01.063 -----------------------------------------------
    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_US
    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-02-18 10:24:01.422
    !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: 657
     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: 657
     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-02-18 10:24:01.422
    !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: 657
     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

All Replies

  • Tuesday, February 19, 2013 6:51 PM
     
     Answered

    Hi,

    We did not do any testing on Code Composer but I tried it and it is working fine. One thing to try is to uninstall the TEE Language pack. Since, the Studio crashes before it starts then you need to do this manually by

    1. Go to the Code Composer installation on disk, open the plugins folder and delete the following list

    • com.microsoft.tfs.checkinpolicies.build.nl1_11.0.0.x
    • com.microsoft.tfs.checkinpolicies.checkforcomments.nl_11.0.0.x
    • com.microsoft.tfs.checkinpolicies.forbiddenpatterns.nl1_11.0.0.x
    • com.microsoft.tfs.checkinpolicies.nl1_11.0.0.x
    • com.microsoft.tfs.checkinpolicies.workitempolicy.nl1_11.0.0.x
    • com.microsoft.tfs.checkinpolicies.workitemquerypolicy.nl1_11.0.0.x
    • com.microsoft.tfs.client.common.nl1_11.0.0.x
    • com.microsoft.tfs.client.common.pid.nl1_11.0.0.x
    • com.microsoft.tfs.client.common.ui.nl1_11.0.0.x
    • com.microsoft.tfs.client.common.ui.teambuild.nl1_11.0.0.x
    • com.microsoft.tfs.client.common.ui.vcexplorer.nl1_11.0.0.x
    • com.microsoft.tfs.client.eclipse.help.nl1_11.0.0.x
    • com.microsoft.tfs.client.eclipse.nl1_11.0.0.x
    • com.microsoft.tfs.eclipse.ui.nl1_11.0.0.x
    • com.microsoft.tfs.core.httpclient.nl1_11.0.0.x
    • com.microsoft.tfs.core.nl1_11.0.0.x
    • com.microsoft.tfs.core.ws.nl1_11.0.0.x
    • com.microsoft.tfs.core.ws.runtime.nl1_11.0.0.x
    • com.microsoft.tfs.jni.nl1_11.0.0.x
    • com.microsoft.tfs.logging.nl1_11.0.0.x
    • com.microsoft.tfs.util.nl1_11.0.0.x

    2. Go to the features folder and delete this feature com.microsoft.tfs.client.eclipse.nl1.feature_11.0.0.x

    3. Start Code Composer, it should start, you will still find the language package installed, uninstall it

    Note: There was a known issue on a certain eclipse build that causes this issue. So your version of Code Composer might be based of that build.

    Please let me know if this does not fix your problem.

    Thanks

    Mireille

    

    • Marked As Answer by dbollish Wednesday, February 20, 2013 6:06 PM
    •  
  • Wednesday, February 20, 2013 6:05 PM
     
     

    I had done this before you replied and performed an update on code composer studio (eclipse 3.8) and was able to get tfs working. Must have been a problem with the underlying eclipse version like you mentioned.

    Thanks

    -Daniel