Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 66622 - DefaultDocumentAdapter#replaceTextRange causes "Argument not valid"
Summary: DefaultDocumentAdapter#replaceTextRange causes "Argument not valid"
Status: RESOLVED DUPLICATE of bug 66763
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-11 00:39 EDT by Gunnar Wagenknecht CLA
Modified: 2004-06-17 15:02 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gunnar Wagenknecht CLA 2004-06-11 00:39:52 EDT
3.0 RC1

Sorry, no steps to repeate, I just found this in the log.

!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 Jun 10, 2004 12:55:24.515
!MESSAGE Argument not valid
!STACK 0
java.lang.IllegalArgumentException: Argument not valid
	at org.eclipse.swt.SWT.error(SWT.java:2677)
	at org.eclipse.swt.SWT.error(SWT.java:2616)
	at org.eclipse.swt.SWT.error(SWT.java:2587)
	at org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange
(DefaultDocumentAdapter.java:210)
	at org.eclipse.swt.custom.StyledText.modifyContent
(StyledText.java:5583)
	at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6423)
	at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2537)
	at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:4981)
	at org.eclipse.swt.custom.StyledText.handleKeyDown
(StyledText.java:5004)
	at org.eclipse.swt.custom.StyledText$7.handleEvent
(StyledText.java:4749)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
	at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1724)
	at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1720)
	at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3048)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:2951)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:3282)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2380)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1363)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1334)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:253)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
	at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:96)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:334)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:273)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:128)
	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:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
	at org.eclipse.core.launcher.Main.run(Main.java:638)
	at org.eclipse.core.launcher.Main.main(Main.java:622)
Comment 1 Kai-Uwe Maetzel CLA 2004-06-17 15:02:32 EDT
Not exactly the same stack trace. However, same kind of issue.

*** This bug has been marked as a duplicate of 66763 ***