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 beta might have borked my CCSv4. :(

Other Parts Discussed in Thread: CCSTUDIO

In an attempt to make a portable project that could be built from our linux build farm, I downloaded CCSv5 beta and installed it into an Ubuntu VM.  I shared the folder where I had my CCSv4 project, and I tried to import it into CCSv5.  It didn't quite work.  I monkeyed with that for a while, but didn't get things quite right.  Then I tried to go back and open CCSv4 in my Windows Vista host.  It immediately crashes, telling me to look at .metadata/.log in my workspace.  Looking at that file, there are a bunch of errors that look Java-eclipse-ish.  I, however, can't interpret that.  I'm wondering if CCSv5 touched my project files, and now, on CCSv4 bootup, CCSv4 is looking for components and eclipsey stuff that isn't there?  Just a thought.  Can anyone parse this?  (TI employees to the rescue?)  Thanks.

 

!SESSION 2010-08-24 10:20:59.684 -----------------------------------------------

eclipse.buildId=4.1.3.00038

java.version=1.5.0_14

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

Command-line arguments:  -os win32 -ws win32 -arch x86

 

!ENTRY org.eclipse.core.resources 2 10035 2010-08-24 10:21:00.613

!MESSAGE A workspace crash was detected. The previous session did not exit normally.

 

!ENTRY org.eclipse.osgi 4 0 2010-08-24 10:21:00.662

!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (194).

!STACK 0

org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.compatibility.PluginActivator.start() of bundle org.eclipse.core.resources.

at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1014)

at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)

at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)

at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)

at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)

at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:388)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at com.ti.ccstudio.ui.CCEWorkbench.createWorkbenchAdvisor(CCEWorkbench.java:31)

at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:98)

at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)

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.core.launcher.Main.invokeFramework(Main.java:336)

at org.eclipse.core.launcher.Main.basicRun(Main.java:280)

at org.eclipse.core.launcher.Main.run(Main.java:996)

at org.eclipse.core.launcher.Main.main(Main.java:971)

Caused by: org.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element /twilight2 not found.

at org.eclipse.core.internal.dtree.AbstractDataTree.handleNotFound(AbstractDataTree.java:257)

at org.eclipse.core.internal.dtree.DeltaDataTree.getData(DeltaDataTree.java:585)

at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta(DataDeltaNode.java:50)

at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta(DataDeltaNode.java:47)

at org.eclipse.core.internal.dtree.DeltaDataTree.asBackwardDelta(DeltaDataTree.java:88)

at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:816)

at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:815)

at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:815)

at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:792)

at org.eclipse.core.internal.watson.ElementTree.immutable(ElementTree.java:517)

at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:655)

at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1318)

at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:1883)

at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:1653)

at org.eclipse.core.resources.ResourcesPlugin.startup(ResourcesPlugin.java:367)

at org.eclipse.core.internal.compatibility.PluginActivator.start(PluginActivator.java:31)

at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:995)

at java.security.AccessController.doPrivileged(Native Method)

at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)

... 28 more

Root exception:

org.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element /twilight2 not found.

at org.eclipse.core.internal.dtree.AbstractDataTree.handleNotFound(AbstractDataTree.java:257)

at org.eclipse.core.internal.dtree.DeltaDataTree.getData(DeltaDataTree.java:585)

at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta(DataDeltaNode.java:50)

at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta(DataDeltaNode.java:47)

at org.eclipse.core.internal.dtree.DeltaDataTree.asBackwardDelta(DeltaDataTree.java:88)

at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:816)

at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:815)

at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:815)

at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:792)

at org.eclipse.core.internal.watson.ElementTree.immutable(ElementTree.java:517)

at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:655)

at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1318)

at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:1883)

at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:1653)

at org.eclipse.core.resources.ResourcesPlugin.startup(ResourcesPlugin.java:367)

at org.eclipse.core.internal.compatibility.PluginActivator.start(PluginActivator.java:31)

at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:995)

at java.security.AccessController.doPrivileged(Native Method)

at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)

at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)

at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)

at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)

at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)

at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:388)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at com.ti.ccstudio.ui.CCEWorkbench.createWorkbenchAdvisor(CCEWorkbench.java:31)

at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:98)

at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)

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.core.launcher.Main.invokeFramework(Main.java:336)

at org.eclipse.core.launcher.Main.basicRun(Main.java:280)

at org.eclipse.core.launcher.Main.run(Main.java:996)

at org.eclipse.core.launcher.Main.main(Main.java:971)

 

!ENTRY org.eclipse.osgi 4 0 2010-08-24 10:21:00.669

!MESSAGE Application error

!STACK 1

java.lang.NoClassDefFoundError: org/eclipse/core/resources/IContainer

at com.ti.ccstudio.ui.CCEWorkbench.createWorkbenchAdvisor(CCEWorkbench.java:31)

at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:98)

at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)

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.core.launcher.Main.invokeFramework(Main.java:336)

at org.eclipse.core.launcher.Main.basicRun(Main.java:280)

at org.eclipse.core.launcher.Main.run(Main.java:996)

at org.eclipse.core.launcher.Main.main(Main.java:971)

 

!ENTRY org.eclipse.osgi 2 0 2010-08-24 10:21:00.723

!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:

!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-24 10:21:00.723

!MESSAGE Bundle update@plugins/org.eclipse.equinox.common_3.2.0.vTI-201005061800.jar [204] was not resolved.

  • Hi FastFourier, 

    When you tried to import CCSv4 project into v5, did you get a message about migrating project to newer version? If you did and converted them, then there are some changes in your project files that are most likely not compatible with v4. The logs seem to indicate that CCSv4 (i.e. eclipse) is having trouble with loading some plugins. Since you installed in a different OS, there should be no such issues. Did you use the same workspace in v4 and v5? Also, could you try starting v4 with different workspace (if you disabled the dialog that asks for workspace location, then you can start ccsv4 from command line and specify new workspace). cd to CCSv4Installroot\ccsv4\eclipse and on command line enter 'eclipse -data pathToNewWorkspace'

    Martin

     

  • When I tried to import my project from ccsv4 to ccsv5 beta (host -> guest OS.... Win -> Linux) I only shared the source/project directory which is located off in an SVN-ized path on my machine.  The Workspace for my Windows CCSv4 is off in users/me/Documents/workspace.  I didn't share that to Linux, so it couldn't be seen.  I don't remember a migration message when I tried to import it, but I may have clicked through it without realizing what I had done.

    I have a default workspace, that it chooses automatically, but I took your suggestion, and command-line launched CCSv4.1.3, pointing it at a different workspace.  That worked.  CCSv4 launched with no crashes.  It made me choose my license file again which kind of surprised me.

    After correctly launching CCSv4 with the other workspace, I was able to import my project source from the other workspace.  I was able to close CCSv4 and relaunch it, with no crashes from the command line using that alternate workspace.

    However, if I launch from the command line with the original workspace, it bombs out still.

     

    C:\ccsv4_1_3\ccsv4\eclipse>eclipse -data C:\Users\<me>\Documents\workspace                <----------------------- Works (Default workspace)

    C:\ccsv4_1_3\ccsv4\eclipse>eclipse -data C:\Users\<me>\Documents\workspace_DaVinci     <------------------- Bombs.  (Previous workspace which I had been using.)

     

     

     

  • Hi FastFourier, 

    You probably did this already, but I would suggest making a copy or checking out to a different directory to test out CCSv5. As for CCSv4 workspace. Could you send me zipped up .metadata folder from your workspace? Also, which version of CCsv4 are you using (as shown in Help ->About). 

     

    martin

     

  • Code Composer Studio 

     Version: 4.1.3.00038 

     

    I'll PM you the .metadata zip.

  • It looks like importing a project with CCSv5 caused all the heartburn.  A new workspace and importing the project into CCSv4 made life good again.