Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329127

Summary: Widget is Disposed Error When Saving mtl File Quickly During Tutorial
Product: [Modeling] Acceleo Reporter: Glenview Jeff <junk>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: laurent.goubet
Version: 0.8.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Glenview Jeff CLA 2010-10-30 00:06:34 EDT
Build Identifier: 

All you have to do is get to the step that says "10. Update filepath of each module so that they generate in the right folders" in the tutorial.  When you do this, type the change, but as soon as you finish the final parenthesis, hit save.  You'll get these errors consistently for each file unless you wait a few seconds before saving.  The tutorial is at http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.acceleo.doc/doc/html/acceleo_tutorial_android_example.html

!ENTRY org.eclipse.core.jobs 4 2 2010-10-29 22:43:37.644
!MESSAGE An internal error occurred during: "Acceleo".
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:3884)
	at org.eclipse.swt.SWT.error(SWT.java:3799)
	at org.eclipse.swt.SWT.error(SWT.java:3770)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
	at org.eclipse.swt.widgets.Widget.getDisplay(Widget.java:578)
	at org.eclipse.acceleo.internal.ide.ui.editors.template.AcceleoOutlinePage$RefreshViewJob$1.run(AcceleoOutlinePage.java:103)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.core.jobs 4 2 2010-10-29 22:44:09.899
!MESSAGE An internal error occurred during: "Acceleo".
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:3884)
	at org.eclipse.swt.SWT.error(SWT.java:3799)
	at org.eclipse.swt.SWT.error(SWT.java:3770)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
	at org.eclipse.swt.widgets.Widget.getDisplay(Widget.java:578)
	at org.eclipse.acceleo.internal.ide.ui.editors.template.AcceleoOutlinePage$RefreshViewJob$1.run(AcceleoOutlinePage.java:103)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Reproducible: Always

Steps to Reproduce:
All you have to do is get to the step that says "10. Update filepath of each module so that they generate in the right folders" in the tutorial.  When you do this, type the change, but as soon as you finish the final parenthesis, hit save.  You'll get these errors consistently for each file unless you wait a few seconds before saving.  The tutorial is at http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.acceleo.doc/doc/html/acceleo_tutorial_android_example.html
Comment 1 Laurent Goubet CLA 2010-10-30 12:21:29 EDT
Hi,

This has been fixed in Acceleo 3.0.0, and is thus fixed in both 3.0.1 and 3.1.0, we do not plan to backport the fix in the 0.8.0 branch. You can safely update to the 3.0.1 version whatever the version of Eclipse you're running, as both versions of Acceleo are compatible with Eclipse 3.4 to 3.6.