Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368385 - <<ERROR message>> xPand expression doesn't produce the message in the stack trace
Summary: <<ERROR message>> xPand expression doesn't produce the message in the stack t...
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Generation / Templates (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0M4   Edit
Assignee: Michael Golubev CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-11 13:43 EST by Michael Golubev CLA
Modified: 2012-05-30 01:31 EDT (History)
1 user (show)

See Also:
borlander: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Golubev CLA 2012-01-11 13:43:45 EST
Steps to reproduce: 

Add «ERROR 'errorMessage'» into some xpand DEFINE that is used by the generation. 
Run the generator.
=> 
The generator does fail at the correct place, but neither stack trace nor the error dialog window contain the 'errorMessage' at all: 

java.lang.RuntimeException: Error in xpt::Common:39:
at org.eclipse.gmf.internal.xpand.ast.ErrorStatement.evaluateInternal(ErrorStatement.java:41)
at org.eclipse.gmf.internal.xpand.ast.Statement.evaluate(Statement.java:29)
at org.eclipse.gmf.internal.xpand.ast.AbstractDefinition.evaluate(AbstractDefinition.java:82)
...



This is
Comment 1 Michael Golubev CLA 2012-05-30 01:27:46 EDT
batch update: Verified in RC2
Comment 2 Michael Golubev CLA 2012-05-30 01:31:17 EDT
Verified in RC2