Help: Jazz Views for Clear Case error
I'm attempting to import some code from ClearCase using Jazz Views for Clear Case. I follow the directions provided in the Help documentation, however after clicking the Finish button on the wizard, I get the following error.
!ENTRY com.ibm.team.connector.scm.cc.ide.ui 4 4 2007-11-05 09:09:44.386 !MESSAGE InvocationTargetException thrown while creating interop mapping !STACK 0 java.lang.IllegalArgumentException: getVobuuid could not find vobuuid in at com.ibm.rational.wvcm.ct.CCaseLib.computeVobUuidSubstring(CCaseLib.java:232) at com.ibm.rational.wvcm.ct.CCaseObjInfo.lookupVobUuid(CCaseObjInfo.java:93) at com.ibm.rational.wvcm.ct.CTStream.getThisProperty(CTStream.java:61) at com.ibm.rational.wvcm.ri.srvc.SrvcResource.readThisProperty(SrvcResource.java:724) at com.ibm.rational.wvcm.ri.srvc.SrvcResource.readProperties(SrvcResource.java:695) at com.ibm.rational.wvcm.ri.srvc.SrvcResource.doReadProperties(SrvcResource.java:750) at com.ibm.rational.wvcm.ri.srvc.WvcmService.readProperties(WvcmService.java:341) at com.ibm.rational.wvcm.ri.srvc.WvcmService.doUpdateProperties(WvcmService.java:637) at com.ibm.rational.wvcm.ri.impl.WvcmServiceConverter.doReadProperties(WvcmServiceConverter.java:425) at com.ibm.rational.wvcm.ri.impl.ResourceImpl.doReadProperties(ResourceImpl.java:167) at com.ibm.rational.wvcm.ct.CTProvider.doFindStream(CTProvider.java:591) at com.ibm.rational.wvcm.ct.CTProvider.doFind(CTProvider.java:506) at com.ibm.rational.wvcm.ri.srvc.WvcmService.doFind(WvcmService.java:566) at com.ibm.rational.wvcm.ri.impl.WvcmServiceConverter.doFind(WvcmServiceConverter.java:359) at com.ibm.rational.wvcm.ri.impl.ResourceImpl.doFind(ResourceImpl.java:505) at com.ibm.team.connector.scm.cc.ide.ui.wvcm.CCProvider.lookupStreamFromName(CCProvider.java:233) at com.ibm.team.connector.scm.cc.ide.ui.wvcm.InteropStreams.initInteropStreams(InteropStreams.java:172) at com.ibm.team.connector.scm.cc.ide.ui.ClearCaseInteropManager.createInteropMapping(ClearCaseInteropManager.java:126) at com.ibm.team.connector.scm.cc.ide.ui.wizards.ClearCaseImportWizard$2.run(ClearCaseImportWizard.java:448) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) The import doesn't occur. Any ideas as to what might be causing this error? |
12 answers
You didn't specify the stream selector for ClearCase correctly, it appears.
Sorry for the less than friendly message. :-) On Windows it looks like: <stream name>@\<pvob tag> and on Unix it looks like: <stream name>@/<pvob tag> You can do the following to get a listing of streams in a given pvob (1st is Windows, 2nd Unix): ct lsstream -invob \<pvob tag> ct lsstream -invob /<pvob tag> For M3, you need to specify the selector according to what platform your *client* machine is running. Hope this helps, Brian "pravesh" <pravesh@us.ibm-dot-com.no-spam.invalid> wrote in message news:fgnl0d$e3k$1@localhost.localdomain... I'm attempting to import some code from ClearCase using Jazz Views for |
Still no luck.
My client machine is Windows, I used the format <stream name>@\<pvob tag> in the import wizard. Furthermore, I copied the "Selector" value from the stream properites in Project Explorer which is the actual value in the correct format (so no typos) The command "ct lsstream -invob \<pvob tag>" does succussfully return a list of streams, so the pvob tag does appear to be correct. Any other suggestions? Edit: If I intentionally change the stream name or pvob tag to something incorrect, say by appending a "1" to either, I get an error message which indicates the stream could not be found. This leads me to believe the problem might be elsewhere. |
Do you have ClearCase installed on the same machine as Rational Team
Concert? I was assuming you did, but it's best to be sure. Look in the local share you specified in the wizard; do you see a view that starts with the text you specified, and then has a bunch of extra characters? I'm pretty sure you would have gotten a different error if the view wasn't created, but again best to be sure (I'm trying to eliminate obvious things). One last thing: are your views/VOBs started and mounted on your local machine? Oh, and the format for entering the paths on the last page of the wizard is: <vob>\<folder>\<project folder> So don't include a drive letter, or the view name in the path. Start with the VOB and work your way down until you get to a folder that contains an Eclipse project. I've seen a number of different errors while we're developing the code, but this is a new one to me. Brian "pravesh" <pravesh@us.ibm-dot-com.no-spam.invalid> wrote in message news:fgnsk4$ii6$1@localhost.localdomain... Still no luck. |
Do you have ClearCase installed on the same machine as Rational Team
Concert? I was assuming you did, but it's best to be sure. Look in the local share you specified in the wizard; do you see a view that starts with the text you specified, and then has a bunch of extra characters? I'm pretty sure you would have gotten a different error if the view wasn't created, but again best to be sure (I'm trying to eliminate obvious things). One last thing: are your views/VOBs started and mounted on your local machine? We have a work item to autostart things, but right now the user has to manually start everything after rebooting your machine. Oh, and the format for entering the paths on the last page of the wizard is: <vob>\<folder>\<project folder> So don't include a drive letter, or the view name in the path. Start with the VOB and work your way down until you get to a folder that contains an Eclipse project. I've seen a number of different errors while we're developing the code, but this is a new one to me. Brian "pravesh" <pravesh@us.ibm-dot-com.no-spam.invalid> wrote in message news:fgnsk4$ii6$1@localhost.localdomain... Still no luck. |
I do have the Clear Case installed on the same machine as RTC.
On the first page of the wizard, I specify the stream selector as: pravesh_Okemo_InterimFix@\WBI_Projects and the local share as: \\Qainstall\clearcaseShare\ I copied the stream selector value directly Properties of the Stream which shows: Selector: stream:pravesh_Okemo_InterimFix@\WBI_Projects When I look in the local share (\\Qainstall\clearcaseShare\), I see a view named: pravesh_Okemo_InterimFix.vws No "extra characters" According to the CC Explorer, the view pravesh_Okemo_InterimFix is started. Any other suggestions? I'm still stuck. |
Your stream selector looks good. Sounds like that's not the problem.
However, I'm guessing the view you see is one you created, correct? When we create a view it has a bunch of extra characters at the end. For example, here's a view I created myself: nelson_bjn_prj_testing.vws And here's the one the interop code created for me (for it's private use): nelson_bjn_prj_testing_4563faa0-3ae8-4da0-8cd1-9f9b13a07f74.vws This second view gets created in the share you specify on the first page of the wizard. If it can't create one, that's obviously a problem. I'm guessing that's the problem you're running into here. On that share, make sure that Everyone has Read permission, and then give yourself Full Control. Also, make sure your VOBs are mounted. If you create all your VOBs and VIEWs in the same share, you can run the following bat file to start everything (this is what I use): for /d %%V in (*.vws) do cleartool startview %%~nV for /d %%V in (*.vbs) do cleartool mount \%%~nV In any case, make sure the VOB that contains the code you're trying to import is mounted. Like I said, we don't automount yet, and your original post indicated that the code couldn't find the VOB UUID. The higher level operation it was trying to perform was to look up the stream you specified in the wizard in the PVOB. I'm not sure if the PVOB has to be mounted too, but it couldn't hurt to make sure that's mounted as well. I'd clear out your Error Log in Eclipse, and then try creating the interop stream again. Please post all errors/stack traces you see in there. Brian "pravesh" <pravesh@us.ibm-dot-com.no-spam.invalid> wrote in message news:fhf897$ni3$1@localhost.localdomain... I do have the Clear Case installed on the same machine as RTC. |
I ran into this problem in M3, and never did solve it. I'm about to try again in M4. However, I do have a theory.
I discovered later that the user who was attempting to create the connectors had neither scm.personal_component nor scm.repository_workspace permissions. Check to make sure those are selected. Find the user in a Team Area, right-click and select Properties. |
What you say below is absolutely true, but I don't believe it's involved in
this problem. In this case, it's taking the string you entered for the stream selector and looking it up in the PVOB to make a stream object out of it. For some reason, it's unable to do this lookup. I think it's because the view couldn't be created, I'm not sure why. Hopefully one of the suggestions I posted previously will help. Another thing to try is to run the following command from the command line and see if you can create a view: cleartool mkview -stream <stream> -tag <tag> -tmode insert_cr <local share entered on first page of wizard>/<tag>.vws For example, I did: cleartool mkview -stream nelson_bjn_prj_testing@\bjn_interop_pvob -tag Created view. Host-local path: <mymachine>:C:\teststg\nelson_view_foo.vws Global path: \\<mymachine>\teststg\nelson_view_foo.vws Attached view to stream "nelson_bjn_prj_testing". Brian "cjulbric" <cjulbric@us.ibm-dot-com.no-spam.invalid> wrote in message news:fhi7pc$vk0$2@localhost.localdomain... I ran into this problem in M3, and never did solve it. I'm about to |
"Brian Nelson" <bjnelson@us.ibm.com> wrote in message
news:fhij89$4nf$1@localhost.localdomain... I think it's because the view couldn't be created, I'm not sure why. one common reason for this is that the share does not have adequate permissions for the user creating the view (you need Full Control) Richard O. Curtis Senior Information Developer IBM Rational Software 20 Maguire Rd. Lexington, MA 02421-3112 781-676-2691 //voice rocurtis@us.ibm.com //inet |
Geoffrey Clemm (30.1k●3●30●35)
| answered Nov 18 '07, 3:28 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In case an unwriteable share was the problem, I've created workitem
36864 to look into improving the error messages in this case. Cheers, Geoff Richard O. Curtis wrote: "Brian Nelson" <bjnelson@us.ibm.com> wrote in message |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.