Error while creating BranchType in Clearcase 7.1.2 using CM API through Web View

Ajinkya

I am getting error while creating BranchType in Clearcase 7.1.2 using CM API through Web View

Following is my method for creating BranchType :

static void createBranchType(String branchTypeName, CcProvider provider, String repositoryName) throws WvcmException
{       
    CcBranchType newBr = provider.ccBranchType(provider.userFriendlySelector(Domain.CLEAR_CASE, Namespace.BRTYPE, branchTypeName, repositoryName));
    newBr.doCreateCcBranchType(null, null);
}

After running this code I am getting following exception :

CRVAP0236E (not-allowed): Unable to perform operation makeCcResource (CcBranchType.doCreateCcBranchType) on 'cc.brtype:NewBRJava': operation not allowed. ...com.ibm.rational.stp.ws.schema.ErrorFault: at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.realException(StpExceptionImpl.java:493) at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.(StpExceptionImpl.java:572) at com.ibm.rational.stp.client.internal.wsutil.DctMethod$WsException.stpException(DctMethod.java:2398) at com.ibm.rational.stp.client.internal.wsutil.DctMethod.handleErrorFault(DctMethod.java:1763) at com.ibm.rational.stp.client.internal.wsutil.DctMethod.invoke(DctMethod.java:1114) at com.ibm.rational.stp.client.internal.wsutil.DctMethod.invoke(DctMethod.java:848) at com.ibm.rational.stp.client.internal.wsutil.DctMethod.invoke(DctMethod.java:1241) at com.ibm.rational.stp.client.internal.ccrc.CcMkResource.run(CcMkResource.java:67) at com.ibm.rational.stp.client.internal.core.CoreResource.runProtocolOp(CoreResource.java:800) at com.ibm.rational.stp.client.internal.core.CoreResource.runOp(CoreResource.java:746) at com.ibm.rational.stp.client.internal.cc.CcResourceImpl.runCcMkResourceOpInternal(CcResourceImpl.java:669) at com.ibm.rational.stp.client.internal.cc.CcResourceImpl.runCcMkResourceOp(CcResourceImpl.java:630) at com.ibm.rational.stp.client.internal.cc.CcBranchTypeImpl.doCreateCcBranchType(CcBranchTypeImpl.java:52) at Example.createBranchType(Example.java:327) at Example.main(Example.java:271) Caused by: CRVSV0130E No object could be found that allows the requested operation. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:120) at org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:106) at com.ibm.rational.stp.ws.schema.ErrorFault.getDeserializer(ErrorFault.java:345) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84) at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464) at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547) at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.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.ibm.rational.stp.ws.teamservice.TeamBindingStub.makeCcResource(TeamBindingStub.java:2956) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.ibm.rational.stp.client.internal.wsutil.DctMethod.invoke(DctMethod.java:1020) ... 10 more

I am stuck with this error from lat 5 days. I searched a lot on IBM forum and on google also but still no success.

Thanks in advance.

Ajinkya

I solved it finally. The error was because of incorrect repository tag. I was passing the repository name but it requires the repository tag name (VOB tag) in method userFriendlySelector(Domain.CLEAR_CASE, Namespace.BRTYPE, branchTypeName, repositoryName). This should be VOB tag.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Error while creating swipe view with 2 tabs

From Dev

How to remove/rename file in clearcase with CM API?

From Dev

error while creating a stack using cloudformation to launch emr through lambda

From Dev

Getting following error while creating a user in WSO2 IS 5.9.0 using scim API?

From Dev

Error while creating Work Item in Azure Devops using Rest API

From Dev

Error while creating a pod using kubernetes client API

From Dev

Error related to Tag creation while creating a new EC2 Instance using EC2 Java API

From Dev

Error while creating Scrapy project through startproject

From Dev

Error while creating k8s secret through rest api

From Dev

Hive error while creating partitioned view

From Dev

Error while creating a view with procedure MySQL

From Dev

Duplicate Column error while creating a view

From Dev

Error creating brands through API on demo system

From Dev

angular 2 error while displaying data from web Api

From Dev

Error while using setOnclickListener and View

From Dev

Error while adding a button in a view OpenERP 7

From Dev

error while creating folder and subfolder using python

From Java

Error creating bean with name 'mongoTemplate' while connecting mongodb through Spring

From Dev

Getting error while creating logic app connection through Bicep

From Dev

Error while creating document in Firestore through Google App Script

From Dev

Error "Property 'cm:title' doesn't exsist" while using DotCMIS for Alfresco

From Dev

Error while creating Elasticsearch API Client(8.0.1) object using Spring Boot

From Dev

Tarball error while creating angular 2 application

From Dev

How to add PubSub Destination while creating a job using preset "preset/web-hd" using google cloud transcoder-api?

From Dev

android.view.WindowManager$BadTokenException error while creating dialog box

From Dev

Error while creating unique clustered index in view in SQL Server

From Dev

ORA-00942 error is generating while creating a view

From Dev

Creating Web API Using Azure SQL Server

From Dev

Creating a complex object using Web Api in Blazor

Related Related

  1. 1

    Error while creating swipe view with 2 tabs

  2. 2

    How to remove/rename file in clearcase with CM API?

  3. 3

    error while creating a stack using cloudformation to launch emr through lambda

  4. 4

    Getting following error while creating a user in WSO2 IS 5.9.0 using scim API?

  5. 5

    Error while creating Work Item in Azure Devops using Rest API

  6. 6

    Error while creating a pod using kubernetes client API

  7. 7

    Error related to Tag creation while creating a new EC2 Instance using EC2 Java API

  8. 8

    Error while creating Scrapy project through startproject

  9. 9

    Error while creating k8s secret through rest api

  10. 10

    Hive error while creating partitioned view

  11. 11

    Error while creating a view with procedure MySQL

  12. 12

    Duplicate Column error while creating a view

  13. 13

    Error creating brands through API on demo system

  14. 14

    angular 2 error while displaying data from web Api

  15. 15

    Error while using setOnclickListener and View

  16. 16

    Error while adding a button in a view OpenERP 7

  17. 17

    error while creating folder and subfolder using python

  18. 18

    Error creating bean with name 'mongoTemplate' while connecting mongodb through Spring

  19. 19

    Getting error while creating logic app connection through Bicep

  20. 20

    Error while creating document in Firestore through Google App Script

  21. 21

    Error "Property 'cm:title' doesn't exsist" while using DotCMIS for Alfresco

  22. 22

    Error while creating Elasticsearch API Client(8.0.1) object using Spring Boot

  23. 23

    Tarball error while creating angular 2 application

  24. 24

    How to add PubSub Destination while creating a job using preset "preset/web-hd" using google cloud transcoder-api?

  25. 25

    android.view.WindowManager$BadTokenException error while creating dialog box

  26. 26

    Error while creating unique clustered index in view in SQL Server

  27. 27

    ORA-00942 error is generating while creating a view

  28. 28

    Creating Web API Using Azure SQL Server

  29. 29

    Creating a complex object using Web Api in Blazor

HotTag

Archive