| org.eclipse.acceleo.engine.AcceleoEvaluationException [message #1431349] | 
Thu, 25 September 2014 11:12   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Here is the exception:  Exception in thread "main" org.eclipse.acceleo.engine.AcceleoEvaluationException: The type of the first parameter of the main template named 'generateElement' is a proxy. 
	at org.eclipse.acceleo.engine.service.AcceleoService.doGenerate(AcceleoService.java:632) 
	at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.generate(AbstractAcceleoGenerator.java:211) 
	at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.generate(AbstractAcceleoGenerator.java:172) 
	at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.doGenerate(AbstractAcceleoGenerator.java:159) 
	at com.att.itos.workflow.acceleco.test1.common.Generate.doGenerate(Generate.java:206) 
	at com.att.itos.workflow.acceleco.test1.common.Generate.main(Generate.java:164) 
 
 
This is where it is thrown:  
 
Class: 
Method : doGenerate 
 
Here is where the exception is thrown: 
 
	if (argumentType.eIsProxy()) { 
				throw new AcceleoEvaluationException(AcceleoEngineMessages.getString( 
						"AcceleoService.TypeIsProxy", templateName)); //$NON-NLS-1$ 
			} 
 
 
argumentType is : 
 
org.eclipse.emf.ecore.impl.EClassImpl@2d5534 (eProxyURI: file:/C:/Users/rl8840/WorkspaceATT2/com.att.itos.workflow.acceleco.test1/bin/com/att/itos/workflow/acceleco/test1/common/www.att.com/WorkflowScreenModel#//UserStory) 
 
I dont understand why it is a eProxyURI, which is causing the exception to be thrown. 
 |  
 |  
  | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
Powered by 
FUDForum. Page generated in 0.05209 seconds