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