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 5.3 - IDE: "msg.error.UnknownException" in "org.eclispe.rtsc.xdctools.ui" when placing SW breakpoints?

Other Parts Discussed in Thread: OMAP-L138, SYSBIOS, CCSTUDIO

Team,

I am using CCS 5.3.0.00090 under Win XP SP3.

So far I was able to use SW breakpoints without problems to debug the audio example from the SYSBIOS PSP 3.01 on C674x CPU of the OMAP-L138.
I could place SW breakpoint in:
      - .c file part of the project (like audioSample_io.c)
      - .c file from the McASP SYSBIOS driver that are not part of the project but that are the src file of the .lib is used in the project (like mcasp.c, mcasp_edma.c).

Now I can still place breakpoints in audioSample_io.c. However when I use breakpoint in the mcasp.c, mcasp_edma.c I get the following Message log. The breakpoint seem to be placed but CPU does not seem to always stop. I am not sure if the breakpoint behavior is consistent.

Any idea of what the message log means?

Thanks and best regards,

Anthony

eclipse.buildId=I20120608-1200
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product com.ti.ccstudio.branding.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.ti.ccstudio.branding.product

Error
Wed Mar 13 15:56:58 GMT 2013
msg.error.UnknownException

java.lang.NullPointerException
    at org.eclipse.rtsc.xdctools.model.ui.editors.CCSChangeListener.resourceChanged(Unknown Source)
    at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:395)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1530)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2353)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2326)
    at com.ti.ccstudio.debug.internal.breakpoint.CCSBreakpoint.run(CCSBreakpoint.java:254)
    at com.ti.ccstudio.debug.internal.breakpoint.CCSBreakpoint.<init>(CCSBreakpoint.java:240)
    at com.ti.ccstudio.debug.internal.breakpoint.CCSBreakpoint.<init>(CCSBreakpoint.java:105)
    at com.ti.ccstudio.debug.internal.ui.breakpoint.togglers.EditorToggleBreakpointsTarget.insertBreakpoint(EditorToggleBreakpointsTarget.java:155)
    at com.ti.ccstudio.debug.internal.ui.breakpoint.togglers.EditorToggleBreakpointsTarget.toggleLineBreakpoints(EditorToggleBreakpointsTarget.java:71)
    at com.ti.ccstudio.debug.internal.ui.breakpoint.togglers.EditorToggleBreakpointsTarget.toggleBreakpoints(EditorToggleBreakpointsTarget.java:59)
    at org.eclipse.debug.ui.actions.ToggleBreakpointAction.doIt(ToggleBreakpointAction.java:119)
    at org.eclipse.debug.ui.actions.ToggleBreakpointAction.runWithEvent(ToggleBreakpointAction.java:89)
    at org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate.runWithEvent(RulerToggleBreakpointActionDelegate.java:123)
    at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:281)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
    at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
    at org.eclipse.ui.actions.ContributedAction.runWithEvent(ContributedAction.java:185)
    at org.eclipse.ui.texteditor.AbstractTextEditor$14.triggerAction(AbstractTextEditor.java:3074)
    at org.eclipse.ui.texteditor.AbstractTextEditor$14.mouseDoubleClick(AbstractTextEditor.java:3100)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:196)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    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:353)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    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:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)



  • Hi Anthony,

    Sorry, I personally don't have any idea why the breakpoint is being thrown at specific source files only (are they linked or physically included in your project?).

    The error message java.lang NullPointerException is the single most common error message in Eclipse, its root causes vary greatly and unfortunately most of them have very difficult patterns that get in the way for a clear identification.

    In these cases we usually suggest the troubleshooting tips at the wiki page below, which are known to clear out strange issues like these.

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5

    Hope this helps,

    Rafael

  • Hi Anthony,

    The error message is a known issue, See SDSCM00045822. The callstack that you have might not be completely matches the CQ's callstack, but the root cause is in the same piece of code. You can ignore the error in your workspace log, the code already handles the error, but it shouldn't log the error into the workspace log file.

    Regards,
    Patrick 

  • Anthony,

    I stand corrected. The CQ refers to the same error.

    Patrick,

    Thanks a bunch!

    Cheers,

    Rafael