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.
Hi,
I am having problem in debugging MSP430F5529 with CCSv4(Latest Version).
Everytime when I press the debug button, I am getting an error saying "Error within Debug UI".
Exception occurred during launch
Reason: Error within Debug UI:
Java.lang.reflect.InvocationTargetException
A month back it was working fine and now with this error I am not able to debug the project.
I am using Windows Vista and the CCS is installed in Program files(with UAC disabled)
CCS versio:v4.2.3
CGT Version:v3.3.3
License Type: Full MCU version
A part of the error log from "workspace->.metadata->.log" is shown below.
I found the statement saying
"Caused by: java.lang.NoSuchMethodError: com.ti.debug.engine.cce.CCEDebugEngine.instance()Lcom/ti/debug/engine/IApplication;"
Please help me to solve this issue.
Log file
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Root exception:
java.lang.NoSuchMethodError: com.ti.debug.engine.cce.CCEDebugEngine.instance()Lcom/ti/debug/engine/IApplication;
at com.ti.dvt.cceideadapter.CCEIDEAdapter.getCCStudioApplication(CCEIDEAdapter.java:226)
at com.ti.dvt.cceideadapter.CCEIDEAdapter.debugServerStarted(CCEIDEAdapter.java:446)
at com.ti.dvt.cceideadapter.DebugSessionHandler.debugServerStarted(DebugSessionHandler.java:36)
at com.ti.ccstudio.debug.server.extensions.session.DebugSessionController.notifyDebugServerStarted(DebugSessionController.java:152)
at com.ti.ccstudio.debug.server.extensions.session.DebugSessionController.notifyTaskStarted(DebugSessionController.java:175)
at com.ti.ccstudio.debug.core.cdi.model.TaskProxy.initialize(TaskProxy.java:536)
at com.ti.ccstudio.debug.core.cdi.model.Thread.<init>(Thread.java:54)
at com.ti.ccstudio.debug.core.cdi.model.DeviceThread.<init>(DeviceThread.java:11)
at com.ti.ccstudio.debug.core.cdi.model.DeviceTarget.<init>(DeviceTarget.java:90)
at com.ti.ccstudio.debug.core.cdi.model.Session.createDeviceTarget(Session.java:790)
at com.ti.ccstudio.debug.core.cdi.model.Session.internalInitializeSession(Session.java:376)
at com.ti.ccstudio.debug.core.cdi.model.Session.initializeSession(Session.java:305)
at com.ti.ccstudio.debug.core.cdi.model.Debugger.createDebuggerSession(Debugger.java:27)
at com.ti.ccstudio.debug.core.launch.BaseCCELaunchDelegate.doLaunch(BaseCCELaunchDelegate.java:321)
at com.ti.ccstudio.debug.core.launch.BaseCCELaunchDelegate.launch(BaseCCELaunchDelegate.java:267)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:657)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:583)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:779)
at org.eclipse.debug.internal.ui.DebugUIPlugin$4.run(DebugUIPlugin.java:835)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
!SESSION 2011-06-08 09:25:28.408 -----------------------------------------------
eclipse.buildId=4.1.2.00027
java.version=1.5.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ja_JP
Command-line arguments: -os win32 -ws win32 -arch x86 -clean
!ENTRY org.eclipse.debug.ui 4 120 2011-06-08 09:26:48.294
!MESSAGE Error within Debug UI:
!STACK 0
java.lang.reflect.InvocationTargetException
Best Regards,
Paddu.
Hello Paddu,
Sorry for the late response.
Have you tried the suggestions in the troubleshooting guide? Using a new workspace, deleting target cache files and debug launches are good things to try. If that fails to help, generating and attaching a debug server log can help us get more details.
Thanks
ki