cancel
Showing results for 
Search instead for 
Did you mean: 

Built and compiled in NWDS but Broken DC in NWDI

Former Member
0 Kudos

Hello All,

We have two DCs. WDJ DC and BPM DC. We have WDJ build successfully in NWDS but in NWDI --> Assembly, our assembly is getting failed due to broken dc. This WDJ DC is broken and as WDJ DC is used as "Used DC" in BPM DC, this DC is also got broken.

Following the build log from NWDI

Error: /usr/sap/P36/JC00/j2ee/cluster/server0/temp/CBS/16/.B/538/DCs/company.com/dc_wd_indcds/_comp/gen/default/logs/build.xml:624: java.lang.NullPointerException: while trying to invoke the method com.sap.tc.moin.repository.Partitionable.get___Partition() of an object loaded from local variable 'part'

at com.sap.tc.moin.ant.task.MoinAntTask.execute(MoinAntTask.java:156)

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

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

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

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

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

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

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

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

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

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

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:318)

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

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

at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:713)

at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:478)

at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:401)

at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:278)

at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:187)

at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:143)

Caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.tc.moin.repository.Partitionable.get___Partition() of an object loaded from local variable 'part'

at com.sap.bie.sca.scdl.gen.mc.LocalSystemProviderServiceGroupUtils.getServiceGroupName(LocalSystemProviderServiceGroupUtils.java:20)

at com.sap.bie.sca.scdl.mc.gen.impl.McReferenceGeneratorImpl.setRefContent(McReferenceGeneratorImpl.java:61)

at com.sap.bie.sca.scdl.mc.gen.impl.McReferenceGeneratorImpl.createReference(McReferenceGeneratorImpl.java:163)

at com.sap.bie.sca.scdl.mc.gen.impl.McReferenceGeneratorImpl.genReferences(McReferenceGeneratorImpl.java:152)

at com.sap.bie.sca.scdl.mc.gen.impl.McReferenceGeneratorImpl.genReferences(McReferenceGeneratorImpl.java:175)

at com.sap.bie.sca.scdl.contributors.wd.WDScdlContributor.addReferences(WDScdlContributor.java:85)

at com.sap.bie.sca.scdl.contributors.wd.WDScdlContributor.createWDComponent(WDScdlContributor.java:69)

at com.sap.bie.sca.scdl.contributors.wd.WDScdlContributor.getComposite(WDScdlContributor.java:48)

at com.sap.bie.sca.scdl.gen.util.ScdlContributorExtensionService.getContributions(ScdlContributorExtensionService.java:102)

at com.sap.bie.sca.scdl.gen.ScdlGenerator.getContributions(ScdlGenerator.java:137)

at com.sap.bie.sca.scdl.gen.ScdlGenerator.executeSafe(ScdlGenerator.java:49)

at com.sap.tc.moin.ant.task.MoinAntTask.execute(MoinAntTask.java:151)

... 29 more

I am not sure what is causing this error and why DCs are getting broken. Please help.

Ameya

Accepted Solutions (1)

Accepted Solutions (1)

former_member214355
Contributor
0 Kudos

Hello Ameya

Do you have any pending activities, which are not activated?

There is an option to activate all pending activities and

skipping all intermediate states, which might cause such issues. In

order to be sure that all activities are activated please do the

following:

1). block all new check-in operations

2). check that the inactive state of all of your DCs is buildable

following the steps:

-create new workspace

-import the development configuration in your IDE

-sync and build all DCs from the development configuration

3). force activate all pending activities.

thanks

Kenny

Answers (0)