Bug 4353

Summary: Exception while creating new Template
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: UIAssignee: Claude Knaus <Claude_Knaus>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Dirk Baeumer CLA 2001-10-11 05:47:12 EDT
Did the following steps
- opened Template Preferences
- pressed New to create a new template
- gave it a name and a description
- start typing in the editor

================== Stack trace in log ===================================
org.eclipse.swt.SWTException: Failed to execute runnable
	at org.eclipse.swt.SWT.error(SWT.java:1818)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java
(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
(Compiled Code))
	at org.eclipse.jface.window.Window.runEventLoop(Window.java(Compiled 
Code))
	at org.eclipse.jface.window.Window.open(Window.java:523)
	at org.eclipse.ui.internal.OpenPreferencesAction.run
(OpenPreferencesAction.java:47)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:451)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:407)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:361)
	at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:352)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:47)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java
(Compiled Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:645)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1359)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1160)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:675)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:658)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:820)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
	at org.eclipse.core.launcher.Main.run(Main.java:502)
	at org.eclipse.core.launcher.UIMain.main(UIMain.java:52)

====================== Stack trace in console =============================
org.eclipse.swt.SWTException: Failed to execute runnable
        at org.eclipse.swt.SWT.error(SWT.java:1818)
        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:147)
        at org.eclipse.ui.internal.UISynchronizer.syncExec
(UISynchronizer.java:18)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:1572)
        at 
org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.showAss
ist(ContentAssistant.java:259)
        at 
org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.run
(ContentAssistant.java:193)
        at java.lang.Thread.run(Thread.java:498)
Comment 1 Erich Gamma CLA 2001-10-12 06:03:39 EDT
several PRs related to the code assist got fixed. pls dispose if this one is 
covered by the other fixes.
Comment 2 Claude Knaus CLA 2001-11-01 08:24:40 EST
fixed > 206
It's a different bug, but it's fixed.