Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329127 - Widget is Disposed Error When Saving mtl File Quickly During Tutorial
Summary: Widget is Disposed Error When Saving mtl File Quickly During Tutorial
Status: CLOSED WONTFIX
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: PC Windows Vista
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-30 00:06 EDT by Glenview Jeff CLA
Modified: 2010-10-30 12:21 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.