-
Notifications
You must be signed in to change notification settings - Fork 36
Internal Error in CoverageAnnotationModel.createAnnotations #90
Comments
@mbruch Hi Marcel, many thanks for reporting this! |
Probably related but slightly different: anonymousId=8e8eae44-9d7a-4d8d-8dcb-7552bf57b193 |
Steps to reproduce:
|
Ensure that the source file annotations are not created for lines behind the maximum line number in a file.
Fixed on master. |
Great! I've notified the reporter. Would you be interested to get automated notifications about stacktraces that contain class names of your domain/namespace in future (assuming legal approval by the EF) ? |
I would be definitely interested those collected error reports. But not sure about notifications: Unless there is clever aggregation we can probably not handle the potential amount of data given the wide usage of EclEmma. |
Hi,
while tracking error logs for Eclipse.org I found this error in the logs. I hope making you aware of this exception, already helps you fixing this bug. In case this error report does not help you much, please let me know. Maybe we can insert the required bits into the next version of the error log collector.
Marcel
anonymousId=8e8eae44-9d7a-4d8d-8dcb-7552bf57b193
timestamp=Fri Aug 22 08:31:21 EDT 2014
pluginId=com.mountainminds.eclemma.ui
pluginVersion=2.3.1.201405111647
eclipseBuildId=4.4.0.I20140606-1215
javaRuntimeVersion=1.7.0_60-b19
osgiWs=cocoa
osgiOs=MacOSX
osgiOsVersion=10.9.4
osgiArch=x86_64
severity=ERROR
code=4
message=Internal Error
chain={org.eclipse.jface.text.BadLocationException: null
at org.eclipse.jface.text.TreeLineTracker.fail (line: 1055)
at org.eclipse.jface.text.TreeLineTracker.getLineInformation (line: 1182)
at org.eclipse.jface.text.AbstractLineTracker.getLineInformation (line: 137)
at org.eclipse.jface.text.AbstractDocument.getLineInformation (line: 929)
at org.eclipse.core.internal.filebuffers.SynchronizableDocument.getLineInformation (line: 337)
at com.mountainminds.eclemma.internal.ui.annotation.CoverageAnnotationModel.createAnnotations (line: 221)
at com.mountainminds.eclemma.internal.ui.annotation.CoverageAnnotationModel.updateAnnotations (line: 139)
at com.mountainminds.eclemma.internal.ui.annotation.CoverageAnnotationModel.access$0 (line: 135)
at com.mountainminds.eclemma.internal.ui.annotation.CoverageAnnotationModel$2.documentChanged (line: 74)
at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged2 (line: 769)
at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged (line: 736)
at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged (line: 721)
at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged (line: 796)
at org.eclipse.jface.text.AbstractDocument.replace (line: 1191)
at org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace (line: 194)
at org.eclipse.jface.text.AbstractDocument.replace (line: 1210)
at org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace (line: 180)
at org.eclipse.jface.text.DocumentCommand$Command.execute (line: 82)
at org.eclipse.jface.text.DocumentCommand.execute (line: 418)
at org.eclipse.jface.text.TextViewer.handleVerifyEvent (line: 3827)
at org.eclipse.jface.text.source.projection.ProjectionViewer.handleVerifyEvent (line: 1276)
at org.eclipse.jface.text.TextViewer$TextVerifyListener.verifyText (line: 435)
at org.eclipse.swt.widgets.TypedListener.handleEvent (line: 273)
at org.eclipse.swt.widgets.EventTable.sendEvent (line: 84)
at org.eclipse.swt.widgets.Display.sendEvent (line: 4188)
at org.eclipse.swt.widgets.Widget.sendEvent (line: 1467)
at org.eclipse.swt.widgets.Widget.sendEvent (line: 1490)
at org.eclipse.swt.widgets.Widget.sendEvent (line: 1475)
at org.eclipse.swt.widgets.Widget.notifyListeners (line: 1279)
at org.eclipse.swt.custom.StyledText.modifyContent (line: 7236)
at org.eclipse.swt.custom.StyledText.sendKeyEvent (line: 8111)
at org.eclipse.swt.custom.StyledText.doContent (line: 2481)
at org.eclipse.swt.custom.StyledText.handleKey (line: 5955)
at org.eclipse.swt.custom.StyledText.handleKeyDown (line: 5986)
at org.eclipse.swt.custom.StyledText$7.handleEvent (line: 5663)
at org.eclipse.swt.widgets.EventTable.sendEvent (line: 84)
at org.eclipse.swt.widgets.Display.sendEvent (line: 4188)
at org.eclipse.swt.widgets.Widget.sendEvent (line: 1467)
at org.eclipse.swt.widgets.Widget.sendEvent (line: 1490)
at org.eclipse.swt.widgets.Widget.sendEvent (line: 1475)
at org.eclipse.swt.widgets.Widget.sendKeyEvent (line: 1504)
at org.eclipse.swt.widgets.Control.insertText (line: 2084)
at org.eclipse.swt.widgets.Canvas.insertText (line: 277)
at org.eclipse.swt.widgets.Display.windowProc (line: 5717)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend (line: -2)
at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents (line: 68)
at org.eclipse.swt.widgets.Composite.keyDown (line: 594)
at org.eclipse.swt.widgets.Display.windowProc (line: 5629)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper (line: -2)
at org.eclipse.swt.widgets.Widget.callSuper (line: 221)
at org.eclipse.swt.widgets.Widget.windowSendEvent (line: 2105)
at org.eclipse.swt.widgets.Shell.windowSendEvent (line: 2329)
at org.eclipse.swt.widgets.Display.windowProc (line: 5691)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper (line: -2)
at org.eclipse.swt.widgets.Display.applicationSendEvent (line: 5128)
at org.eclipse.swt.widgets.Display.applicationProc (line: 5277)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend (line: -2)
at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent (line: 128)
at org.eclipse.swt.widgets.Display.readAndDispatch (line: 3655)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run (line: 1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (line: 332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run (line: 1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI (line: 148)
at org.eclipse.ui.internal.Workbench$5.run (line: 636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (line: 332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (line: 579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench (line: 150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (line: 135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run (line: 196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (line: 134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (line: 104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run (line: 382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run (line: 236)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (line: -2)
at sun.reflect.NativeMethodAccessorImpl.invoke (line: 57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (line: 43)
at java.lang.reflect.Method.invoke (line: 606)
at org.eclipse.equinox.launcher.Main.invokeFramework (line: 648)
at org.eclipse.equinox.launcher.Main.basicRun (line: 603)
at org.eclipse.equinox.launcher.Main.run (line: 1465)}
The text was updated successfully, but these errors were encountered: