Bug 5166 - exception in template
Summary: exception in template
Status: RESOLVED DUPLICATE of bug 5140
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Claude Knaus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-23 05:26 EDT by Adam Kiezun CLA
Modified: 2001-10-25 05:21 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 Adam Kiezun CLA 2001-10-23 05:26:16 EDT
205
got this when typing in the template shell 
after that i was not able to use templates.

1 org.eclipse.core.resources 4 Unhandled exception caught in event loop.
Log: Tue Oct 23 11:22:22 GMT+02:00 2001
4 org.eclipse.ui 0 Failed to execute runnable
org.eclipse.swt.SWTException: Failed to execute runnable
	at org.eclipse.swt.SWT.error(SWT.java:1805)
	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.jdt.internal.ui.text.template.TemplateEditorPopup.open(TemplateEdito
rPopup.java:134)
	at 
org.eclipse.jdt.internal.ui.text.template.TemplateProposal.apply(TemplateProposa
l.java:97)
	at 
org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(Comp
letionProposalPopup.java:157)
	at 
org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertSelectedPropo
sal(CompletionProposalPopup.java:142)
	at 
org.eclipse.jface.text.contentassist.CompletionProposalPopup.proposalProcessEven
t(CompletionProposalPopup.java:353)
	at 
org.eclipse.jface.text.contentassist.CompletionProposalPopup.processEvent(Comple
tionProposalPopup.java:325)
	at 
org.eclipse.jface.text.contentassist.ContentAssistant$InternalListener.processEv
ent(ContentAssistant.java(Compiled Code))
	at 
org.eclipse.jface.text.TextViewer.handleVerifyEvent(TextViewer.java:1660)
	at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java(Compiled 
Code))
	at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled 
Code))
	at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:4557)
	at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:5140)
	at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:1756)
	at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java(Compiled 
Code))
	at 
org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java(Compiled Code))
	at 
org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled 
Code))
	at 
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled 
Code))
	at 
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:658)
	at 
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:82
0)
	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:433)
	at org.eclipse.core.launcher.Main.main(Main.java:306)
Comment 1 Claude Knaus CLA 2001-10-25 05:04:01 EDT
fixed with new implementation which works on the original document directly.
Comment 2 Claude Knaus CLA 2001-10-25 05:20:48 EDT
mark as duplicate of 5140
Comment 3 Claude Knaus CLA 2001-10-25 05:21:23 EDT

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