cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:- CBS Build Error - Component is missing in application

0 Kudos

Hi All,

We have created a custom Web Dynpro application in which we have added the Public Part (default) of com.sap.security.api.sda as a Used DC.

On doing Development Component -> Build and Deploy, no errors are reported. The application works perfectly fine in DEV system after deployment.

However, when trying to activate the activity, we are getting Build Error in CBS as follows:

[wdgen] [Error] Application <application_name>: Component is missing

[wdgen] [Info] Catching throwable null

[wdgen] [Info] com.sap.webdynpro.generation.ant.GenerationAntTaskError

[wdgen] at com.sap.webdynpro.generation.ant.GenerationAnt.showCheckResult(GenerationAnt.java:157)

[wdgen] at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2047)

[wdgen] at com.sap.ide.webdynpro.generation.Generation.generatePersistentArchive(Generation.java:1554)

[wdgen] at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:215)

[wdgen] at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:50)

[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[wdgen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[wdgen] at java.lang.reflect.Method.invoke(Method.java:324)

[wdgen] at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:219)

[wdgen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

[wdgen] at org.apache.tools.ant.Task.perform(Task.java:364)

[wdgen] at org.apache.tools.ant.Target.execute(Target.java:341)

[wdgen] at org.apache.tools.ant.Target.performTasks(Target.java:369)

[wdgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

[wdgen] at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)

[wdgen] at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:58)

[wdgen] at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)

[wdgen] at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)

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

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

[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[wdgen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[wdgen] at java.lang.reflect.Method.invoke(Method.java:324)

[wdgen] at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)

[wdgen] at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)

[wdgen] at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)

[wdgen] at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)

[wdgen] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)

[wdgen] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1515)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:761)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:527)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:452)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:324)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:262)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:217)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:178)

[wdgen] ERROR: Unknown exception during generation null (com.sap.webdynpro.generation.ant.GenerationAntTaskError)

[wdgen] ERROR: Generation failed due to errors (1 seconds)

We are not able to figure out what component is missing. Kindly help us out.

Thanks in advance,

Pavithra

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI,

As you are getting the error after activation,

Some of the DCs which are used (depent DCs)by your DC have not been built properly .

try to build the dependent DCs first and try activating Again.

Regards,

Satya.

Edited by: Satya on Jul 27, 2009 9:57 AM

Edited by: Satya on Jul 27, 2009 9:58 AM

0 Kudos

Satya,

We have developed a custom Web Dynpro DC, to which the public part, default of com.sap.security.api.sda under SAP-JEE_1 is added as a Used DC.

All the Used DCs under this DC are SAP standard DCs, and none of them have any build errors associated with them.

The issue is only with Web Dynpro DC. Kindly help.

Regards,

Pavithra

Former Member
0 Kudos

HI,

In the NWDS, DEvelopment Configuration Perspective,

Right click on the dependent DCs and Deploy them.

Rebuild your DC and Check.

Regards,

Satya.

Former Member
0 Kudos

Hi Pavithra,

Please check whether there is any open activity under which the public part contents were added and still not activated. If so, activate it first and then proceed with activation of WD application activity.

Regards

Srinivasan T

0 Kudos

Hi Srinivas,

There are no open activities. All the pending activities have been checked in. We are facing the same issue as before.

Regards,

Pavithra

Former Member
0 Kudos

Hi,

It seems the component is missing in the DTR. Now, add the missing components manually into the DTR and then do a reload+rebuild. This should fix the issue.

Regards

Srini