ClearCase 的 Java CM api 抛出异常
这是完整的例外:
CRVAP0087E (conflict): CCRC command 'Update' failed:
Unable to get contents of directory "E:\ccweb_views\akash.sharma\akash.sharma_AR_TAS_Release1_int_2\rainwater\src\TAS\codegenerator\pom.xml":
ClearCase object not found
Problems were encountered while retrieving view synchronization information and data.
接着是:
ClearCase CM Server: Error:
Unable to access "\rainwater\src\TAS\codegenerator\pom.xml": Permission denied.
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.realException(StpExceptionImpl.java:493)
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.<init>(StpExceptionImpl.java:572)
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.<init>(StpExceptionImpl.java:538)
at com.ibm.rational.stp.client.internal.cc.Util.ccrcCmdStatusToWvcmException(Util.java:155)
at com.ibm.rational.stp.client.internal.cc.Util.runCommandAndCheckResults(Util.java:107)
at com.ibm.rational.stp.client.internal.cc.WebViewRefresh.run(WebViewRefresh.java:151)
at com.ibm.rational.stp.client.internal.cc.CcFileImpl.doRefresh(CcFileImpl.java:240)
at Refresh_View.main(Refresh_View.java:65)
您将如何解决这个问题?
Here is the full exception:
CRVAP0087E (conflict): CCRC command 'Update' failed:
Unable to get contents of directory "E:\ccweb_views\akash.sharma\akash.sharma_AR_TAS_Release1_int_2\rainwater\src\TAS\codegenerator\pom.xml":
ClearCase object not found
Problems were encountered while retrieving view synchronization information and data.
It goes on with:
ClearCase CM Server: Error:
Unable to access "\rainwater\src\TAS\codegenerator\pom.xml": Permission denied.
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.realException(StpExceptionImpl.java:493)
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.<init>(StpExceptionImpl.java:572)
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.<init>(StpExceptionImpl.java:538)
at com.ibm.rational.stp.client.internal.cc.Util.ccrcCmdStatusToWvcmException(Util.java:155)
at com.ibm.rational.stp.client.internal.cc.Util.runCommandAndCheckResults(Util.java:107)
at com.ibm.rational.stp.client.internal.cc.WebViewRefresh.run(WebViewRefresh.java:151)
at com.ibm.rational.stp.client.internal.cc.CcFileImpl.doRefresh(CcFileImpl.java:240)
at Refresh_View.main(Refresh_View.java:65)
How would you troubleshoot that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果存在某种权限问题,您需要检查:
是什么?PRIMARY_CLEARCASE_GROUP
(环境变量)(正如您在问题“CCRC CLI 或者,我怀疑,使用 Java CM API)
您需要确保用户在组内有一个主 ClearCase 组(主要或secondary) 的 Vob '
rainwater
'If there is some kind of permission issue, you need to check:
?PRIMARY_CLEARCASE_GROUP
(environment variable)(As you found out in your question "Java CM api for ClearCase throw exception",
CLEARCASE_PRIMARY_GROUP
cannot be used with the CCRC CLI or, I suspect, with the Java CM API)You need to make sure that user has a main ClearCase group within the groups (primary or secondary) of the Vob '
rainwater
'如果您 100% 确定用户已位于正确的组中,fixprot 可能会有所帮助。
If you are 100% sure the user is already in the correct group, fixprot might help.