Bug 15314 - IllegalArgumentException during code assist
Summary: IllegalArgumentException during code assist
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Claude Knaus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-06 09:22 EDT by Dirk Baeumer CLA
Modified: 2002-05-07 03:49 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 Dirk Baeumer CLA 2002-05-06 09:22:02 EDT
Build 20020502.4

Got the following exception during code assist. I have fill method arguments 
enabled.

java.lang.IllegalArgumentException: Argument cannot be null
	at org.eclipse.swt.SWT.error(SWT.java:1873)
	at org.eclipse.swt.SWT.error(SWT.java:1819)
	at org.eclipse.swt.graphics.GC.setForeground(GC.java:2088)
	at org.eclipse.jdt.internal.ui.text.link.LinkedPositionUI.paintControl
(LinkedPositionUI.java:395)
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:78)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:841)
	at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:655)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:2698)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:1817)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1213)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1206)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:883)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:866)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:733)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:349)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:162)
	at org.eclipse.core.launcher.Main.run(Main.java:588)
	at org.eclipse.core.launcher.Main.main(Main.java:437)
Comment 1 Dirk Baeumer CLA 2002-05-06 09:38:23 EDT
Happens when inserting a template
Comment 2 Erich Gamma CLA 2002-05-06 17:05:29 EDT
Claude I think this one is fixed by now - pls confirm and dispose
Comment 3 Claude Knaus CLA 2002-05-07 03:49:53 EDT
yes, it is.