Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [XPAND] Cast Exception when opening XPAND File
[XPAND] Cast Exception when opening XPAND File [message #899956] Fri, 03 August 2012 04:01 Go to next message
Patrick Schmitt is currently offline Patrick Schmitt
Messages: 87
Registered: July 2009
Member
Hello guys,
when I do open a xpand file with the eclipse editor,
complete document is marked as error,
i get following exception:

org.eclipse.xpand.ui.core.internal.XpandResourceImpl cannot be cast to org.eclipse.internal.xtend.xtend.XtendFile

http://s14.postimage.org/squzqqz5t/screenshot.png

Any ideas?

Kind regards,
Patrick

[Updated on: Fri, 03 August 2012 04:03]

Report message to a moderator

Re: [XPAND] Cast Exception when opening XPAND File [message #899965 is a reply to message #899956] Fri, 03 August 2012 05:05 Go to previous messageGo to next message
Patrick Schmitt is currently offline Patrick Schmitt
Messages: 87
Registered: July 2009
Member
Found the problem.

There had been a file function.ext and function.xpt in the same directory, that caused the exception.

Looks like a Bug.
Re: [XPAND] Cast Exception when opening XPAND File [message #903494 is a reply to message #899965] Thu, 23 August 2012 18:24 Go to previous message
Karsten Thoms is currently offline Karsten Thoms
Messages: 353
Registered: July 2009
Location: Dortmund
Senior Member

Hi Patrick,

Partially. Both files would have the same Identifier.

~Karsten


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Previous Topic:Re: Acceleo and Xtext
Next Topic:[acceleo] standalone, no emtl found
Goto Forum:
  


Current Time: Tue Jul 29 04:52:00 EDT 2014

Powered by FUDForum. Page generated in 0.02222 seconds