Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Error in PPMC-QC interface: Duplicate requirement name ('New Requests')

Highlighted
TorstenNeumann
Super Collector

Error in PPMC-QC interface: Duplicate requirement name ('New Requests')

Hallo,

 

we have set up the PPMC interface to Quality Center (PPMC 8.02, QC 10.00). All of a sudden the interface stopped working for new requirements with the following error showing up in the serverLog.txt:

 

:com.kintana.crt.server.CRTExecutionManager Batch-ID: 190336:com.kintana.services.executions:2011/08/31-12:41:07.854 CEST: Got QCServiceException with code: 3 while executing 'ksc_create_QC_Requirement'
:com.kintana.crt.server.CRTExecutionManager Batch-ID: 190337:com.kintana.crt.webservices:2011/08/31-12:41:08.117 CEST: Exception class name: AxisFault
:com.kintana.crt.server.CRTExecutionManager Batch-ID: 190337:com.kintana.crt.webservices:2011/08/31-12:41:08.118 CEST: RemoteException: org.apache.axis.AxisFault
:com.kintana.crt.server.CRTExecutionManager Batch-ID: 190337:com.kintana.crt.webservices:2011/08/31-12:41:08.118 CEST: Unable to create requirement in QC
com.kintana.crt.openapi.webservices.QCServiceException: Got RemoteException in QCServices
    at com.kintana.crt.openapi.webservices.QCService.createQCServiceException(QCService.java:344)
    at com.kintana.crt.openapi.webservices.QCService.handleException(QCService.java:319)
    at com.kintana.crt.openapi.webservices.QCService.handleException(QCService.java:327)
    at com.kintana.crt.openapi.webservices.QCService.createRequirement(QCService.java:115)
    at com.kintana.crt.server.QCRequirementSyncUtil.createRequirement(QCRequirementSyncUtil.java:260)
    at com.kintana.crt.server.KSCCreateQCRequirement.execute(KSCCreateQCRequirement.java:93)
    at com.kintana.core.server.execution.CommandExecutionAgent.doExecuteCommands(CommandExecutionAgent.java:826)
    at com.kintana.core.server.execution.CommandExecutionAgent.executeCommands(CommandExecutionAgent.java:713)
    at com.kintana.core.server.execution.BaseExecutionManager.executeBatchForRegularExecution(BaseExecutionManager.java:1163)
    at com.kintana.core.server.execution.BaseExecutionManager.executeBatch(BaseExecutionManager.java:1094)
    at com.kintana.core.server.execution.BaseExecutionManager.run(BaseExecutionManager.java:841)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: com.mercury.optane.core.CTdException: Duplicate requirement name ('New Requests') was given by the user. The requirement wasn't created
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
    at org.apache.axis.client.Call.invoke(Call.java:2748)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:2347)
    at org.apache.axis.client.Call.invoke(Call.java:1804)
    at com.kintana.core.soap.stubs.QCServicesSoapBindingStub.createRequirement(QCServicesSoapBindingStub.java:494)
    at com.kintana.crt.openapi.webservices.QCService.createRequirement(QCService.java:112)
    ... 8 more

The requirement name should come from the "REQ.DESCRIPTION" field of the request and we do not have any request with a description of "New Requests". I already tried to increase the log level to DEBUG but no more information was written to the log (e.g. the number of the failing request would be an interesting info...).

 

Does anybody have an idea what next steps to take to repair the interface?

 

Thanks for any help!

 

Greetings,

Torsten

2 REPLIES
YeJianfeng
HPE Expert

Re: Error in PPMC-QC interface: Duplicate requirement name ('New Requests')

The requirement which name is "New Requests" is a system reserved requirement created automatically by this integration interface.

All requirements which have been synchronized from PPM to QC will be saved as child requirements of "New Requests".

 

I think there should be a requirement "New Requests" in your QC project. It might be created manually.

To fix your issue, please try to delete this requirement "New Requests" in QC.

AlixM
Acclaimed Contributor

Re: Error in PPMC-QC interface: Duplicate requirement name ('New Requests')

It's a recurring issue for us ... It's not acceptable to delete the level "New Requests" because it contains thousands of requirements.

Here is a workaround :

1)     Rename requirement "New Requests" to " New Requests_1"

2)     Retry --> KO

3)    Rename requirement "New Requests_1" to " New Requests"

4)    Retry --> OK

But sometimes it doesn't work and it's not acceptable/comfortable.

 

Do you have another suggestion ?

//Add this to "OnDomLoad" event