Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367937 - IAE from CommitMessageViewer
Summary: IAE from CommitMessageViewer
Status: CLOSED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kevin Sawicki CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 365313 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-05 07:33 EST by Dani Megert CLA
Modified: 2012-11-05 17:06 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2012-01-05 07:33:48 EST
1.3.0.201201041914.

Saw this in my .log (sorry no steps):

!ENTRY org.eclipse.ui 4 0 2012-01-05 12:27:23.897
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.IllegalArgumentException: Argument not valid
	at org.eclipse.swt.SWT.error(SWT.java:4281)
	at org.eclipse.swt.SWT.error(SWT.java:4215)
	at org.eclipse.swt.SWT.error(SWT.java:4186)
	at org.eclipse.swt.custom.StyledText.getStyleRangeAtOffset(StyledText.java:4887)
	at org.eclipse.egit.ui.internal.history.CommitMessageViewer$1.handleEvent(CommitMessageViewer.java:126)
	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:4165)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
	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:352)
	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:624)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
Comment 1 Kevin Sawicki CLA 2012-01-05 15:51:51 EST
I believe this happens when you mouse over the last character in a commit message.

In my trials it was usually the newline on the empty line after the last line of text
Comment 2 Kevin Sawicki CLA 2012-01-05 15:58:48 EST
Proposed fix pushed to: http://egit.eclipse.org/r/#change,4923
Comment 3 Dariusz Luksza CLA 2012-01-14 09:54:24 EST
merged http://egit.eclipse.org/r/#change,4923
as 367f9c26ed6f283cdf5c9d0d5e8eda4920abdc56
Comment 4 Dani Megert CLA 2012-01-16 06:29:38 EST
Verified in 1.3.0.201201151914.
Comment 5 Robin Stocker CLA 2012-11-05 17:06:40 EST
*** Bug 365313 has been marked as a duplicate of this bug. ***