# Edit Subject

Question: I'm not seeing highlights when stepping through a recording made outside of Eclipse, neither the "current line" bar nor the highlights in the left gutter where the current path is supposed to be shown (see image below).

When I run a recording done in Eclipse however, I see these features. Shouldn't these be shown regardless of where the recording was made? Do I have something configured incorrectly?

1 person has
this problem
Inappropriate?

• Yes, the highlights should show.

- Do you see anything in the 'error log' view?
- Did the editor window open by itself when you click on a frame in the stack or did you have to open it manually?
How does this make you feel? Add Image
I'm
• The editor window did not open by itself. There is a generic "Internal Error" in the Error log, with the following stack trace (see below).

Also, Ctrl-Shift-T (Open Type) only works when I have a source code window already open. If the source window is empty (i.e., no open source files) then pressing Ctrl-Shift-T does nothing. Not sure if that's related.

eclipse.buildId=M20110210-1200
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product

Error
Tue May 31 08:56:59 MST 2011
Internal Error

java.lang.NullPointerException
at org.eclipse.debug.core.sourcelookup.containers.ContainerSourceContainer.findSourceElements(ContainerSourceContainer.java:104)
at org.eclipse.debug.core.sourcelookup.containers.ContainerSourceContainer.findSourceElements(ContainerSourceContainer.java:124)
at org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer.findSourceElements(CompositeSourceContainer.java:79)
at org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer.findSourceElements(CompositeSourceContainer.java:46)
at org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer.findSourceElements(CompositeSourceContainer.java:79)
at org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer.findSourceElements(CompositeSourceContainer.java:46)
at com.chronon.sb.browser.ui.editor.BrowserEditorManager.browseTo(Unknown Source)
at com.chronon.sb.browser.ui.editor.BrowserEditorManager.onTimeChanged(Unknown Source)
at com.chronon.sb.browser.ui.manager.BrowseManager.onBrowseInfoUpdated(Unknown Source)
at com.chronon.sb.browser.ui.manager.BrowseManager.changeTime(Unknown Source)
at com.chronon.sb.browser.ui.manager.BrowseManager.changeTime(Unknown Source)
at com.chronon.sb.browser.ui.views.StackView$5.run(Unknown Source) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) 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$6.handleEvent(ActionContributionItem.java:452) 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:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench\$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
How does this make you feel? Add Image
I'm
• rtexas,
As for the Ctrl+Shift+T issue, that is not a Chronon issue. That is how it works in the first place. Ctrl+Shift+T is a shortcut for an editor window, so you gotta have one open for it to work.

You are not seeing the highlights/instruction pointer due to this exception. Normally the editor window would open itself with everything highlighted. Opening it manually wont help.

To diagnose this issue:
- What version of eclipse are you running?
- Is your code in the 'default' package?
- Can you send the details of Help> About Eclipse> Installation Details> Configuration?
How does this make you feel? Add Image
I'm
• Prashant,

About the Open Type issue: good to know, thanks. By the way, my name is Ryan, so you don't have to keep calling me rtexas. :)

- Eclipse Version: Helios Service Release 2 (which I believe is 3.6.2)
- No, the code is not in the default package.
- I will send the contents of the Eclipse Configuration to your support email address (), rather than posting them in this thread.

Thanks,
ryan
How does this make you feel? Add Image
I'm
• hmm... can you open the 'breadcrumb bar', toggled using 'alt+shift+b', and paste a screenshot with the editor window open with that.
I need to see if the source code is organized in some weird way that is causing all these issues.
Are you using a maven build?
How does this make you feel? Add Image
I'm
• No, we use Ant. Screenshot is attached.

How does this make you feel? Add Image
I'm
• Ryan,
Are all the following options checked for the project?
How does this make you feel? Add Image
I'm
• Prashant, yes, all those values are checked.

Note: though I am running Eclipse with 1.6, this project is currently being compiled in Eclipse with 1.5 compliance,. However, the particular recording I'm trying to read was made with a 1.6 JRE. (I know, it's confusing).
How does this make you feel? Add Image
I'm
• Prashant,

Another thing I wanted to mention as a possibility. My project structure does not begin at the workspace root (as is customary). It looks more like this:

C:\path\to\workspace\dir1\dir2\dir3\projectA
C:\path\to\workspace\dir1\dir2\dir3\projectB
C:\path\to\workspace\dir1\dir2\projectC

Eclipse generally handles this fine, but I don't know if this would cause problems for the Chronon plugin.
How does this make you feel? Add Image
I'm
• Can you paste a screenshot of your package explorer, with some of the projects expanded down to the src folder?
How does this make you feel? Add Image
I'm
• Sure, but I'm not sure that will show what you're looking for. The package explorer still shows the src folder at the root level of the project. But the project itself is not at the root of the workspace. See:

But if you look at the path for, say, the "rts" project, it looks like this (sorry, had to do a little redaction):

My Eclipse workspace is c:\dev\java\workspace. So you can see the "rts" project is nest a few folders inside that.
How does this make you feel? Add Image
I'm
How does this make you feel? Add Image
I'm
• Wonderful news. Thanks, Prashant.
How does this make you feel? Add Image
I'm
• Prashant, do either of the two recent new releases (1.3.1, 1.3.2) address this issue?
How does this make you feel? Add Image
I'm
How does this make you feel? Add Image
I'm
How does this make you feel? Add Image
I'm