Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Problem helper ATL 2.02
[ATL] Problem helper ATL 2.02 [message #640588] Mon, 22 November 2010 14:57
Matrix is currently offline Matrix
Messages: 3
Registered: November 2010
Junior Member
Hi, anyone know why adding to my module the following helper
helper context OclAny def: firstContainerOfType(type: OclType) : OclAny = 
	let container: OclAny = self.refImmediateComposite() in
		if container.oclIsUndefined()
		then OclUndefined
		else if container.oclIsTypeOf(type)
			then container
			else container.firstContainerOfType(type)
			endif
		endif;


get the following error in ATL2?

GRAVE: Unknown type code : java.text.StringCharacterIterator@ded167f5.
org.eclipse.m2m.atl.engine.vm.ASMExecEnv$SignatureParsingException: Unknown type code : java.text.StringCharacterIterator@ded167f5.
	at org.eclipse.m2m.atl.engine.vm.ASMExecEnv.parseTypeInternal(ASMExecEnv.java:202)
	at org.eclipse.m2m.atl.engine.vm.ASMExecEnv.parseType(ASMExecEnv.java:114)
	at org.eclipse.m2m.atl.engine.vm.ASMExecEnv.registerOperations(ASMExecEnv.java:81)
	at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.java:156)
	at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.java:111)
	at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.java:87)
	at org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLauncher(AtlRegularVM.java:326)
	at org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLauncher(AtlRegularVM.java:426)
	at org.eclipse.m2m.atl.adt.launching.AtlRegularVM.launch(AtlRegularVM.java:398)
	at org.eclipse.m2m.atl.adt.launching.AtlLaunchConfigurationDelegate.launch(AtlLaunchConfigurationDelegate.java:42)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:764)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:614)
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:865)
	at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1068)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


In atl3 everything works normally.

Regards,
RoBoT

[Updated on: Mon, 22 November 2010 15:24]

Report message to a moderator

Previous Topic:[QVTo] Operation or atribute similar to the _xmiID_ of ATL.
Next Topic:[QVTo] Getting started with QVT
Goto Forum:
  


Current Time: Sat Oct 25 12:06:00 GMT 2014

Powered by FUDForum. Page generated in 0.01493 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software