Skip to main content

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 MatrixFriend
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)

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(
	at org.eclipse.m2m.atl.engine.vm.ASMExecEnv.parseType(
	at org.eclipse.m2m.atl.engine.vm.ASMExecEnv.registerOperations(
	at org.eclipse.m2m.atl.engine.AtlLauncher.launch(
	at org.eclipse.m2m.atl.engine.AtlLauncher.launch(
	at org.eclipse.m2m.atl.engine.AtlLauncher.launch(
	at org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLauncher(
	at org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLauncher(
	at org.eclipse.m2m.atl.adt.launching.AtlRegularVM.launch(
	at org.eclipse.m2m.atl.adt.launching.AtlLaunchConfigurationDelegate.launch(
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(
	at org.eclipse.debug.internal.ui.DebugUIPlugin$

In atl3 everything works normally.


[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 Jun 06 13:08:53 GMT 2020

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

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

Back to the top