cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Assign UI components to BPM tasks

Former Member
0 Kudos

I am at NWDS 7.31 EHp1 SP6.

Iam not able to assign UI webdynpro components to tasks in BPM.

iam getting following error. please help

"BPM.bp.000003" BC-BMT-BPM-SRV com.sap.tc.glx.BpemTask  execute() - Exception during constraint check of tasks. Check Your model for problems.caused by nullat com.sap.tc.glx.BpemTask.constraintCheck(BpemTask.java:521)

at com.sap.tc.glx.BpemTask.constraintCheck(BpemTask.java:459)

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

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

at sun.reflect.GeneratedMethodAccessor130.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)

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

at com.sap.ide.dii08.internal.commandz.BuildDcsCommand.build(BuildDcsCommand.java:337)

at com.sap.ide.dii08.internal.commandz.BuildDcsCommand.execute(BuildDcsCommand.java:179)

at com.sap.ide.dii08.internal.service.CommandExecutor$2.run(CommandExecutor.java:77)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)

at com.sap.ide.dii05.util.internal.lock.DiiConsistencyServiceImpl.executeConsistentWorkspaceRunnable(DiiConsistencyServiceImpl.java:90)

at com.sap.ide.dii05.util.internal.lock.DiiConsistencyServiceImpl.executeConsistentWorkspaceRunnable(DiiConsistencyServiceImpl.java:52)

at com.sap.ide.dii08.internal.service.CommandExecutor.executeInWorkspaceAndDevConfLocks(CommandExecutor.java:90)

at com.sap.ide.dii08.internal.service.InternalDiiCommandService.buildDcs(InternalDiiCommandService.java:179)

at com.sap.ide.dii08.internal.service.InternalDiiCommandService.buildDcs(InternalDiiCommandService.java:986)

at com.sap.ide.dii05.ui.internal.actions.dc.BuildAction$2.run(BuildAction.java:193)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

[Error: com.sap.tc.buildplugin.DefaultPlugin  Thread[Worker-6,5,main]]

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Here is another error in the error log.

Web Dynpro Generation: Generation aborted with exception No Web Dynpro content found for project "Welcome". If this project is a Development Component, check if "SapMetamodelWebdynproContent.zip" is present in the classpath. (com.sap.ide.mmservices.wd.general.NoWebDynproContentException: No Web Dynpro content found for project "Welcome". If this project is a Development Component, check if "SapMetamodelWebdynproContent.zip" is present in the classpath.)

Former Member
0 Kudos

Hello,

>>No Web Dynpro content found for project "Welcome".

How exactly you are assigning WD UI component inside ur task? I mean while creating task u are generating UI component (and then doing ur UI coding) or u are directly creating task  and then adding ur WD UI under user interface?

Secondly, did u check if ur WD UI component is working fine?

I have worked on integrating UI5 components inside BPM task and it's was a straight forward activity (obviously creating UI5 component was tricky).

Note - I would suggest you to raise new thread in BPM forum, u will get more helpful answers there.

Thanks

Amit Srivastava

Former Member
0 Kudos

I fixed some Microsoft DLLs ..now iam getting this error

BC-BMT-BPM-CMP#DISCOVERY: Cannot get type for attribute "Data_Object_0"

[EXCEPTION]

com.sap.ide.wd.util.WDContextDiscoveryException: DISCOVERY: Cannot get type for attribute "Data_Object_0"

  at com.sap.ide.wd.util.ComponentParser.parseNode(ComponentParser.java:354)

  at com.sap.ide.wd.util.ComponentParser.parseRootContext(ComponentParser.java:300)

  at com.sap.ide.wd.util.ComponentParser.parse(ComponentParser.java:171)

  at com.sap.sdi.wd.discovery.WDDiscoveryProvider.discoverInterface(WDDiscoveryProvider.java:53)

  at com.sap.sdi.services.DiscoveryService.discoverInterface(DiscoveryService.java:99)

  at com.sap.glx.ide.task.util.SearchUtil.search(SearchUtil.java:220)

  at com.sap.glx.ide.task.util.SearchUtil.searchComponents(SearchUtil.java:129)

  at com.sap.glx.ide.uui.wizard.UuiWizardPage1$8$1SearchComponentsRunnable.run(UuiWizardPage1.java:398)

  at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

      [Error: com.sap.glx.ide.flow.util.logger.IDEAbstractDynamicParticipant$TRACEENTRIES  Thread[ModalContext,6,main]]

Former Member
0 Kudos

Hello,

>>Cannot get type for attribute "Data_Object_0"

Check whether u have assigned data type for "Data_Object_0" data object?

U are getting above error while deploying ur BPM?

Thanks

Amit Srivastava

Former Member
0 Kudos

hi Amit,

Thanks for the reply.

I started from creating a simple process and i applied " UI Generate" wizard.

i fixed some issues by installing visual studio libs and an internal jar file explicitly in jar file.

This latest error iam getting when iam assigning the generated UI content by wizard in PRocess development perspective.

thanks

Vishnu

Former Member
0 Kudos

Hello,

Can u paste the screenshot of the step where you are facing this issue?

BTW, you have developed UI component using WD ABAP or Java?

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0dea890-b954-2f10-34aa-9e19ed827...

Thanks

Amit Srivastava

Former Member
0 Kudos

Amit,

Mine is pure Java.

attached are the files.

vishnu

Former Member
0 Kudos

Hello,

I tried assigning WD component to a task and it seems that it's working fine.

The error description which u have pasted above is suggesting that data type for one of the attribute (inside BPM task) or data object is not defined properly??

Could u cross check where exactly u are using this attribute?

Thanks

Amit Srivastava

Former Member
0 Kudos

Not Sure what datatypes those documents refers to , but one thing not all datatypes are supported while u integrate wd into your BPM Process. So change them to simple string or other primitive data type  and try linking again.

Thanks

Manish

junwu
Active Contributor
0 Kudos

just redo from beginning

at least don't use wizard to generate the ui.

you missed a lot regarding the ui development and integration with bpm if using that wizard

and you will never find a single usage for that wizard in real life case.