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/CC1352R: Standalone EnergyTrace fails

Part Number: CC1352R
Other Parts Discussed in Thread: ENERGYTRACE

Tool/software: Code Composer Studio

When I try to start a standalone EnergyTrace session from CCS 9.3.0.00012, nothing happens after the initial dialog box. EnergyTrace during a debug session works as expected. I'm using the CC1352R LaunchPad and my development machine is running Mac OSX 10.15.3 (however, the issue exists in Windows as well). In the workspace logs, I found the following unhandled exception:

!ENTRY org.eclipse.ui 4 0 2020-02-13 15:42:40.247
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
        at com.ti.dvt.energytrace.views.DSManager$DSDialog.createDialogArea(DSManager.java:519)
        at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:768)
        at org.eclipse.jface.window.Window.create(Window.java:426)
        at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
        at org.eclipse.jface.window.Window.open(Window.java:783)
        at com.ti.dvt.energytrace.views.DSManager$DSDialog.open(DSManager.java:612)
        at com.ti.dvt.energytrace.IDEHandler.launchHiddenDS(IDEHandler.java:440)
        at com.ti.dvt.energytrace.IDEHandler.preNonDebugStartup(IDEHandler.java:224)
        at com.ti.dvt.energytrace.IDEHandler.startupDashboard(IDEHandler.java:490)
        at com.ti.dvt.energytrace.actions.DashboardAction.runET(DashboardAction.java:102)
        at com.ti.dvt.energytrace.actions.DashboardAction.run(DashboardAction.java:55)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
        at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:219)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
        at org.eclipse.jface.action.ActionContributionItem.lambda$5(ActionContributionItem.java:436)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4247)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1508)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1531)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1516)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1320)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4091)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3712)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
        at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:667)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1498)

  • Hi,

    Unfortunately I can't reproduce this issue here. There are a few reports of problems running EnergyTrace on macOS, but I re-tried with CCSv9.3 and I was able to fully make this work without problems. I am using macOS 10.15 and stock CCSv9.3.0 (no updates applied). I am applying the 10.15.3 update right now. 

    At any rate, can you try to remove the temporary Trace data by deleting the directory .TI-trace on your user area? This may help improve things. 

    I will report back to this thread if I find any issues after updating my host.  

    Regards,

    Rafael