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 10.2 hangs on startup after upgrade

Other Parts Discussed in Thread: CCSTUDIO, CC1310

Following the advice to clear the metadata, this cleared the problem. I created a new workspace and imported just two of the projects. Following a normal closedown of CCS and the Win10 PC, the CCS environment hangs when opening again this morning with the same partially rendered screen as previously reported. This has only started happening with the 10.2 version. 

I have reverted to version 10.1.1 and the failing workspaces now open and render correctly.

  • HI Mark,

    What host OS are you using?

    Can you provide the Eclipse error log file in <WORKSPACE DIR>/.metadata/.log?

    Thanks

    ki

  • Ki said:
    What host OS are you using?

    Disregard this question. You clearly stated Windows 10 in your post.

  • I cleared the log from the workspace that first exhibited the problem and launched CCS 10.2 using this workspace. As expected the render failed and the only way out is via task manager. Here is the content of a clean log with a single launch.

    !SESSION 2021-03-04 16:17:26.384 -----------------------------------------------
    eclipse.buildId=4.14.0.I20191210-0610
    java.version=1.8.0_144
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
    Framework arguments: -product com.ti.ccstudio.branding.product
    Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.ti.ccstudio.branding.product

    !ENTRY org.eclipse.core.resources 2 10035 2021-03-04 16:17:31.527
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

    !ENTRY com.ti.common.core 1 0 2021-03-04 16:17:31.761
    !MESSAGE path=ccs_base/DebugServer

    !ENTRY com.ti.common.core 1 0 2021-03-04 16:17:31.777
    !MESSAGE debugServerDir=C:/ti/ccs1020/ccs/ccs_base/DebugServer

    !ENTRY org.eclipse.e4.ui.workbench.swt 4 2 2021-03-04 16:17:47.196
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench.swt".
    !STACK 0
    java.lang.IllegalArgumentException: Argument not valid
    at org.eclipse.swt.SWT.error(SWT.java:4701)
    at org.eclipse.swt.SWT.error(SWT.java:4635)
    at org.eclipse.swt.SWT.error(SWT.java:4606)
    at org.eclipse.swt.graphics.GC.setForeground(GC.java:4344)
    at org.eclipse.ui.forms.widgets.Section.onPaint(Section.java:384)
    at org.eclipse.ui.forms.widgets.ExpandableComposite.lambda$0(ExpandableComposite.java:574)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4175)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1081)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
    at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1654)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4816)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:348)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4827)
    at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
    at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.java:1312)
    at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1958)
    at org.eclipse.swt.widgets.Shell.open(Shell.java:1267)
    at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:747)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:680)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1086)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
    at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:660)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    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:657)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

    !ENTRY org.eclipse.e4.ui.workbench 4 0 2021-03-04 16:17:47.205
    !MESSAGE Exception occurred while rendering: IDEWindow=org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl@5809fa26 (tags: [topLevel, shellMaximized], contributorURI: platform:/plugin/org.eclipse.ui.workbench) (widget: Shell {workspace_v10 - rfEasyLinkEchoRx_BF868_CC1310_tirtos_ccs/Common/rfRxTx.c - Code Composer Studio}, renderer: org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer@2de7c84a, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: null, iconURI: null, tooltip: null, context: TrimmedWindowImpl (IDEWindow) Context, variables: [], x: 0, y: 0, width: 1384, height: 928)
    !STACK 0
    java.lang.IllegalArgumentException: Argument not valid
    at org.eclipse.swt.SWT.error(SWT.java:4701)
    at org.eclipse.swt.SWT.error(SWT.java:4635)
    at org.eclipse.swt.SWT.error(SWT.java:4606)
    at org.eclipse.swt.graphics.GC.setForeground(GC.java:4344)
    at org.eclipse.ui.forms.widgets.Section.onPaint(Section.java:384)
    at org.eclipse.ui.forms.widgets.ExpandableComposite.lambda$0(ExpandableComposite.java:574)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4175)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1081)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
    at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1654)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4816)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:348)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4827)
    at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
    at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.java:1312)
    at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1958)
    at org.eclipse.swt.widgets.Shell.open(Shell.java:1267)
    at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:747)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:680)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1086)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
    at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:660)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    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:657)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

  • Thanks for the log. Unfortunately there isn't enough data there for us to go on.

    If you use a new workspace and do NOT import those older projects and then shut down CCS, does it still hang on subsequent launches? 

  • As per your requested test that works.

    I have now tried another workspace with a different set of projects (not imported just selected the workspace) as I did when I first discovered this issue. That opens okay with 10.2. Returning to the original workspace or the new workspace with two projects imported from the original workspace, repeats the fault.

    It does seem to relate to the projects.

  • Any chance you can share the projects? I can try with just the three .*project files in the project folder for now. Please start a private E2E conversation with me if you do not wish to share publicly.

    Thanks

    ki

  • Hi Ki

    Sorry for the slow reply, I have a crop of work to get through. I can test if it is just the project files or if not I will just share the failing workspace with you privately. Please do not close this thread.

  • Sure, no problem. Thanks for the update.