vazexqi / CodingSpectator

Watches and analyzes code edits in the Eclipse IDE non-invasively
http://codingspectator.cs.illinois.edu
Other
20 stars 14 forks source link

CodingTracker fails to replay P4/d2a6866d-3fcc-459c-8240-2e9d100a9f4a/1.0.0.201011201702 #198

Open reprogrammer opened 13 years ago

reprogrammer commented 13 years ago

CodingTracker's replayer throws the following exception when run on "P4/d2a6866d-3fcc-459c-8240-2e9d100a9f4a/1.0.0.201011201702/codechanges.txt".

Exception in thread "Thread-112" org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.RuntimeException: org.eclipse.jface.text.BadLocationException)
    at org.eclipse.swt.SWT.error(SWT.java:4083)
    at org.eclipse.swt.SWT.error(SWT.java:3998)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:195)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4282)
    at edu.illinois.codingspectator.codingtracker.replaying.UserOperationReplayer$UserOperationExecutionThread.executeUserOperationInUIThread(UserOperationReplayer.java:310)
    at edu.illinois.codingspectator.codingtracker.replaying.UserOperationReplayer$UserOperationExecutionThread.run(UserOperationReplayer.java:290)
!ENTRY org.eclipse.ui 4 0 Caused by: java.lang.RuntimeException: org.eclipse.jface.text.BadLocationException
    at edu.illinois.codingspectator.codingtracker.replaying.UserOperationReplayer.replayAndAdvanceCurrentUserOperation(UserOperationReplayer.java:219)
    at edu.illinois.codingspectator.codingtracker.replaying.UserOperationReplayer.access$3(UserOperationReplayer.java:206)
    at edu.illinois.codingspectator.codingtracker.replaying.UserOperationReplayer$UserOperationExecutionThread$1.run(UserOperationReplayer.java:314)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
    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 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:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
2011-04-13 23:35:32.641Caused by: org.eclipse.jface.text.BadLocationException

!MESSAGE    at org.eclipse.jface.text.AbstractDocument.get(AbstractDocument.java:1038) 
    at org.eclipse.core.internal.filebuffers.SynchronizableDocument.get(SynchronizableDocument.java:140)Unhandled event loop exception

    at edu.illinois.codingspectator.codingtracker.operations.textchanges.TextChangeOperation.replay(TextChangeOperation.java:84)
    at edu.illinois.codingspectator.codingtracker.replaying.UserOperationReplayer.replayAndAdvanceCurrentUserOperation(UserOperationReplayer.java:216)
    ... 27 more
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.RuntimeException: org.eclipse.jface.text.BadLocationException)
    at org.eclipse.swt.SWT.error(SWT.java:4083)
    at org.eclipse.swt.SWT.error(SWT.java:3998)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
    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 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:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
Caused by: java.lang.RuntimeException: org.eclipse.jface.text.BadLocationException
    at edu.illinois.codingspectator.codingtracker.replaying.UserOperationReplayer.replayAndAdvanceCurrentUserOperation(UserOperationReplayer.java:219)
    at edu.illinois.codingspectator.codingtracker.replaying.UserOperationReplayer.access$3(UserOperationReplayer.java:206)
    at edu.illinois.codingspectator.codingtracker.replaying.UserOperationReplayer$UserOperationExecutionThread$1.run(UserOperationReplayer.java:314)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    ... 23 more
Caused by: org.eclipse.jface.text.BadLocationException
    at org.eclipse.jface.text.AbstractDocument.get(AbstractDocument.java:1038)
    at org.eclipse.core.internal.filebuffers.SynchronizableDocument.get(SynchronizableDocument.java:140)
    at edu.illinois.codingspectator.codingtracker.operations.textchanges.TextChangeOperation.replay(TextChangeOperation.java:84)
    at edu.illinois.codingspectator.codingtracker.replaying.UserOperationReplayer.replayAndAdvanceCurrentUserOperation(UserOperationReplayer.java:216)
    ... 27 more