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.

CCS XPCOMException when installing GCC and when exiting CCS

Other Parts Discussed in Thread: CCSTUDIO

I tried to install MSP430 GCC through the CCS App Center, but after clicking "Install Software" and accepting the GPL license agreement, I'm prompted to restart CCS, then I get an error dialog:

"An error has occurred. See error log for more details.
com/ti/xpcom/XPCOMException"


And when I try to exit CCS using FIle->Exit or the (X) in the window decoration, I get the same error dialog box, and the application continues to run (so I cannot exit the application).

I've not opened any projects since I'm just trying to install the gcc add-on.  I'm running as root so that I do not have install permissions problems.  This is CCS Version: 6.0.1.00040 on Kubuntu 14.04.

How can I get more info about this failure?

Thanks!

  • Hi John

    John F. said:
    "An error has occurred. See error log for more details.
    com/ti/xpcom/XPCOMException"

    Could you provide any generated error logs? You can attach it to this thread.

    Thanks

    ki

  • Hi Ki,
    Where is the log on Linux? When I select "Help->CCS Support", nothing happens and I do not get the dialog as shown in http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv6. Are there plain text log files somewhere?

    Thanks,
    John
  • try the .log file in your workspace folder (under .metadata sub folder)

    Not sure why the dialog is not working for you. Everything seems fine in my environment (both the support dialog and installing MSP430 GCC). But I am using Ubuntu 14.04, not Kubuntu 14.04. Maybe the error log will have more details on both.
  • ccs6_log_startup.txt

    !ENTRY org.eclipse.ui.workbench 4 2 2014-12-15 16:09:56.053
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.NoClassDefFoundError: com/ti/xpcom/XPCOMException
    	at com.ti.ccstudio.debug.internal.ui.DSShutdownWorkbenchListener.executeFromUIWithProgressDialog(DSShutdownWorkbenchListener.java:81)
    	at com.ti.ccstudio.debug.internal.ui.DSShutdownWorkbenchListener.preShutdown(DSShutdownWorkbenchListener.java:43)
    	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:901)
    	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
    	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    	at org.eclipse.ui.internal.Workbench.firePreShutdown(Workbench.java:899)
    	at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1034)
    	at org.eclipse.ui.internal.Workbench.access$19(Workbench.java:1024)
    	at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1327)
    	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    	at org.eclipse.ui.internal.Workbench.close(Workbench.java:1325)
    	at org.eclipse.ui.internal.Workbench.close(Workbench.java:1298)
    	at org.eclipse.ui.internal.handlers.QuitHandler.execute(QuitHandler.java:36)
    	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
    	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
    	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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
    	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
    	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
    	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
    	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
    	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
    	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
    	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
    	at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:420)
    	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
    	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
    	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
    	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
    	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
    	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
    	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
    	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
    	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
    	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:636)
    	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
    Caused by: java.lang.ClassNotFoundException: com.ti.xpcom.XPCOMException cannot be found by com.ti.ccstudio.debug_6.0.0.201406261800
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
    	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    	... 58 more
    

  • John,

    The logs indicate that some of the jar files can't be found (or that they're corrupted).  Could you verify that <install>/ccsv6/ccs_base/DebugServer/packages/ti/dss/java contains six jar files with valid permissions?  If so, could you post the results of an ls -l of that folder?  Could you also post your ccstudio.ini file (from the <install>/ccsv6/eclipse folder)

    Thanks,

    Darian

  • Hi Darian,

    I have these 7 jar files in dss/java:

    $ ls -l /opt/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/*.jar

    -rw-r--r-- 1 root root  622302 May 26  2014 /opt/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/com.ti.ccstudio.debug.memoryserver_1.0.0.jar

    -rw-r--r-- 1 root root   24363 May 26  2014 /opt/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/com.ti.ccstudio.scripting.environment_3.1.0.jar

    -rw-r--r-- 1 root root  113325 May 26  2014 /opt/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/com.ti.ccstudio.scripting.rtdx_1.0.0.jar

    -rw-r--r-- 1 root root 1365653 May 26  2014 /opt/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/com.ti.debug.engine_1.0.0.jar

    -rw-r--r-- 1 root root    5065 May 26  2014 /opt/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/com.ti.uart.monitor_1.0.0.jar

    -rw-r--r-- 1 root root     428 May 26  2014 /opt/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/dss.jar

    -rw-r--r-- 1 root root  708729 May 26  2014 /opt/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/js.jar

    The ccstudio.ini is attached

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/81/ccstudio.ini

    Thanks,

    John

  • John,

    Could you please verify the contents of /opt/ti//ccsv6/eclipse/plugins/com.ti.ccstudio.base_6.0.0.00698/properties.  It should look like the following (although your filters might differ):

    ccs_buildid=6.0.1.00040
    AppFolder=Texas Instruments/Code Composer Studio 6.0.1
    ccsdir=/opt/ti/ccsv6
    path=/opt/ti/ccsv6/ccs_base/DebugServer
    basepath=/opt/ti/ccsv6/ccs_base
    installdir=/opt/ti
    PF_FILTERS=C5500,C6000_SC,MULTICORE64,CC2XXX,MEDIA,OMAP,SITARA,C2000,SAFETY,MSP430,STELLARIS,KEYSTONE1,KEYSTONE2,TIVAC

    Darian

  • Hi Darian,

    My properties file contains:

    ccs_buildid=6.0.1.00040
    AppFolder=Texas Instruments/Code Composer Studio 6.0.1
    ccsdir=/opt/ti/ccsv6_6.0.1/ccsv6
    path=/opt/ti/ccsv6_6.0.1/ccsv6/ccs_base/DebugServer
    basepath=/opt/ti/ccsv6_6.0.1/ccsv6/ccs_base
    installdir=/opt/ti/ccsv6_6.0.1
    PF_FILTERS=MSP430

     

    , which ... looks like it contains non-existent directories.  Without "/ccsv6", the directories make sense, and if I clean the paths in the properties file, then CCS seems to run and exit fine.  In my /opt/ti/ directory, ccsv6 is a symlink to ccsv6_6.0.1 so my Makefiles don't have to change for minor releases; I hope that didn't confuse CCS.

    Is it worth reinstalling from scratch?

    Thanks!

  • The main installer is responsible for adding the full paths to this file during install time, and the simlink likely messed it up when you installed the 430ware. If modifying this file solves the issue, I would personally stick with that vs re-installing from scratch.

    Darian