problem at lanunching ATL [message #2847] |
Wed, 27 December 2006 03:54 |
Eclipse User |
|
|
|
Hi ,
(1) i am performing M2M transformation(bpmn to bpel).
my sample MetaModel for bpmn is following.
filename: bpmd.ecore
----------------------
BusinessProcessDiagram
Pools :Pool
Name : EString
Pool
Process :Process
Name :EString
Process
Name : EString
GraphicalElements : EObject
Task
taskType : TaskType
TaskType is XSI type Data
(2) and my model input file is following.
bpmnModel.ecore
----------------
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:bpdm="http:///bpdm.ecore">
<bpdm:BusinessProcessDiagram xmi:id="_tLfiYJVvEdusYsgvXrrVmQ">
<Pools xmi:id="_45T0YJVvEdusYsgvXrrVmQ" Id="_uqHcgJVvEdusYsgvXrrVmQ"
Documenation="New Document" Name="Pool">
<Process xmi:id="_45T0YZVvEdusYsgvXrrVmQ" Name="Process">
<GraphicalElements xsi:type="bpdm:Task"
xmi:id="_45T0Y5VvEdusYsgvXrrVmQ" Id="_wQouYJVvEdusYsgvXrrVmQ"
Pool="_45T0YJVvEdusYsgvXrrVmQ" Name="task1"/>
</Process>
<lanes xmi:id="_45T0ZpVvEdusYsgvXrrVmQ" Id="_uqHcgZVvEdusYsgvXrrVmQ"
Name="Lane" parentpool="_45T0YJVvEdusYsgvXrrVmQ"/>
</Pools>
</bpdm:BusinessProcessDiagram>
(3)
my ATL file is very simple it is only print name of
BusinessProcessDiagram .
module bpmnSeq2bpelSeq; -- Module Template
create OUT : BPEL from IN : bpdm;
rule bpmnSeq2bpelSeq
{
from input : bpdm!BusinessProcessDiagram
do {
input.Name -> println();
}
}
but when i run this program it generated following error .
An internal error occurred during: "Launching".
java.lang.NullPointerException
at
org.atl.eclipse.adt.launching.AtlLaunchConfigurationDelegate .runAtlLauncher(AtlLaunchConfigurationDelegate.java:226)
at
org.atl.eclipse.adt.launching.AtlLaunchConfigurationDelegate .runAtlLauncher(AtlLaunchConfigurationDelegate.java:154)
at
org.atl.eclipse.adt.launching.AtlLaunchConfigurationDelegate .runAtlLauncher(AtlLaunchConfigurationDelegate.java:136)
at
org.atl.eclipse.adt.launching.AtlLaunchConfigurationDelegate .runAtlLauncher(AtlLaunchConfigurationDelegate.java:117)
at
org.atl.eclipse.adt.launching.AtlLaunchConfigurationDelegate .launch(AtlLaunchConfigurationDelegate.java:95)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:639)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:565)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:754)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:944)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
pls help me.
thanks in advance.
|
|
|
Powered by
FUDForum. Page generated in 0.03433 seconds