cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping error in very simple BPM process

Former Member
0 Kudos

Hello All,

I had a problem compiling a big process. In order to isolate the problem  and identifythe root cause, I made a very simple process and was able to reproduce the error in this simple process. The process has no steps in it, only one lane, there is a start event and end event. I have also changed the Start and End Event Triggers to a custom one (WSDL Service Interfaces). There is also a very simple Data Object having only one attribute. If I build this, everything is okay and it works. But if I do mapping in the "Output Mapping" Tab of "start event" to the Process Context, then the build fails and gets the following build error. This looks strange as I have just added a very simple mapping, nothing else. A diagram is also given below for details. It would be great if you could help me resolving this issue.

 

[MOINInit] DataArea name: DefaultDataArea

[MOINInit] Moin initialized in 1217 milliseconds.

[BpemTask] BC-BMT-BPM-SRV com.sap.tc.glx.BpemTask execute() - Metamodel version validation...

Caused by:

java.lang.NullPointerException

at com.sap.tc.glx.BpemTask.metaModelVersionCheck(BpemTask.java:549)

at com.sap.tc.glx.BpemTask.execute(BpemTask.java:96)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)

at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.Target.execute(Target.java:357)

at org.apache.tools.ant.Target.performTasks(Target.java:385)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)

at org.apache.tools.ant.Project.executeTarget(Project.java:1306)

at com.sap.tc.buildplugin.ant.util.AntRunner.run(AntRunner.java:115)

at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:53)

at com.sap.tc.buildplugin.DefaultPlugin.processSequence(DefaultPlugin.java:235)

at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:174)

at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:165)

at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)

at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:403)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:149)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:87)

at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)

at com.sap.tc.devconf.internal.DCProxyMake.make(DCProxyMake.java:276)

at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1459)

at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1441)

Thanks in advance,

Mansoor.

Accepted Solutions (1)

Accepted Solutions (1)

AndreH
Employee
Employee
0 Kudos

Hello Mansoor,

it could be the case, that you have a version mismatch of the process composer DC content and the build environment. Please check SAP note 1619576.

Best Regards,

Andre

Former Member
0 Kudos

Dear Andre,

Thanks for the information. I downgraded my NWDS to a lower patch level to match with the server. It is working now.

Thanks,

Mansoor.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mansoor,

What type is assigned to your DataObject?  It looks like you have defined a custom XSD which is a complex type, containing just one attribute of type string.  Try changing the data type of your Data_Object_0 to be just "string - http://www.w3.org/2001/XMLSchema".

Alternatively, what cardinality do you have against your NewOperation node in the left hand side of your mapping?  (You can find this out by hovering over the node in the properties view, as below.)

In my example, my "Empty" node has a cardinality of 1..1.  This should match the cardinality of your Data_Object_0 node on the right-hand side.  If so, you then need to map from your "NewOperation" node to your "Data_Object_0" node, as well as just mapping "in" to "in".

Hope this helps,

Gareth.