java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • With latest Snapshot build (082) of clearcase plugin there seams to be a problem when creating a new job: At first build I get the following error "started [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool" rmview -force Test cleartool: Error: Unable to open file "Test\.view": No such file or directory. cleartool: Error: SIMSTest isn't a view: No such file or directory cleartool: Error: Unable to remove view "Test". FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="rmview - force Test", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="rmview -force Test", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher.java:76) at hudson.plugins.clearcase.ClearToolSnapshot.rmview (ClearToolSnapshot.java:72) at hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout (UcmSnapshotCheckoutAction.java:52) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout (AbstractClearCaseScm.java:251) at hudson.model.AbstractProject.checkout(AbstractProject.java:681) at hudson.model.AbstractBuild$AbstractRunner.checkout (AbstractBuild.java:264) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:238) at hudson.model.Run.run(Run.java:842) at hudson.model.Build.run(Build.java:88) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:90) " Workarround: In the configuration check "Use Update" does create and loads the files correctly.
    via by heikof,
  • With latest Snapshot build (082) of clearcase plugin there seams to be a problem when creating a new job: At first build I get the following error "started [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool" rmview -force Test cleartool: Error: Unable to open file "Test\.view": No such file or directory. cleartool: Error: SIMSTest isn't a view: No such file or directory cleartool: Error: Unable to remove view "Test". FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="rmview - force Test", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="rmview -force Test", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher.java:76) at hudson.plugins.clearcase.ClearToolSnapshot.rmview (ClearToolSnapshot.java:72) at hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout (UcmSnapshotCheckoutAction.java:52) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout (AbstractClearCaseScm.java:251) at hudson.model.AbstractProject.checkout(AbstractProject.java:681) at hudson.model.AbstractBuild$AbstractRunner.checkout (AbstractBuild.java:264) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:238) at hudson.model.Run.run(Run.java:842) at hudson.model.Build.run(Build.java:88) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:90) " Workarround: In the configuration check "Use Update" does create and loads the files correctly.
    via by heikof,
  • Re: Base Clearcase issues
    via by BEvans,
  • Clearcase plugin (configure UCM clearcase)
    via by francois b.,
  • Hi, I've noticed that the current version 0.5 of the clearcase plugin attempts to use the 'cleartool setview' command. This command is supported on unix environments, but however not on windows.. The example error is generated: started [workspace] $ cleartool setview ms3357_build_t4_int_2_dyn cleartool: Error: Unrecognized command: "setview" FATAL: Base ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="cleartool setview ms3357_build_t4_int_2_dyn", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="cleartool setview ms3357_build_t4_int_2_dyn", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher.java:64) at hudson.plugins.clearcase.ClearToolDynamic.setView (ClearToolDynamic.java:53) at hudson.plugins.clearcase.action.DynamicCheckoutAction.checkout (DynamicCheckoutAction.java:28) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout (AbstractClearCaseScm.java:133) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout (AbstractClearCaseScm.java:113) at hudson.model.AbstractProject.checkout(AbstractProject.java:566) at hudson.model.AbstractBuild$AbstractRunner.checkout (AbstractBuild.java:244) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:218) at hudson.model.Run.run(Run.java:751) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71)
    via by markschulze,
  • I am getting the below exception message when creating a view in my Unix machine. I was told that the command contains "$ cleartool setcs ..\configspec19173.txt" backslash which was not supported by unix and was asked to modify the command to "$ cleartool setcs ../configspec19173.txt". I believe this is something that clearcase plugin excecutes this command and I have no idea how to change this command during runtime. If clearcase plugin takes control, it should handle this case irrespective of the platform it is being run. By the by, I am using clearcase plugin version 0.6 and hudson ver 1.279. started Building remotely on qa-release303.qa [ws] $ cleartool catcs -tag crp2 element * CHECKEDOUT element * /main/LATEST [ws] $ cleartool rmview -force crp2 [ws] $ cleartool mkview -snapshot -tag crp2 - vws /home/automan/hudson/ViewStore/crp2.vws -tmode insert_cr crp2 Created view. Host-local path: qa-release303:/home/automan/hudson/ViewStore/crp2.vws Global path: /home/automan/hudson/ViewStore/crp2.vws It has the following rights: User : automan : rwx Group: automan : rwx Other: : r-x Created snapshot view directory "crp2". [crp2] $ cleartool setcs ..\configspec19173.txt cleartool: Error: Unable to open file "..\configspec19173.txt": No such file or directory. cleartool: Error: Unable to change configuration specification: error detected by ClearCase subsystem. FATAL: Base ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="setcs ..\configspec19173.txt", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="setcs ..\configspec19173.txt", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher.java:72) at hudson.plugins.clearcase.ClearToolSnapshot.setcs (ClearToolSnapshot.java:34) at hudson.plugins.clearcase.action.SnapshotCheckoutAction.checkout (SnapshotCheckoutAction.java:48) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout (AbstractClearCaseScm.java:217) at hudson.model.AbstractProject..checkout(AbstractProject.java:693) at hudson.model.AbstractBuild$AbstractRunner.checkout (AbstractBuild.java:266) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:239) at hudson.model.Run.run(Run.java:842) at hudson.model.Build.run(Build.java:88) at hudson..model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:90) started Building remotely on qa-release303.qa [ws] $ cleartool catcs -tag crp2 element * CHECKEDOUT element * /main/LATEST [ws] $ cleartool rmview -force crp2 [ws] $ cleartool mkview -snapshot -tag crp2 - vws /home/automan/hudson/ViewStore/crp2.vws -tmode insert_cr crp2 Created view. Host-local path: qa-release303:/home/automan/hudson/ViewStore/crp2.vws Global path: /home/automan/hudson/ViewStore/crp2.vws It has the following rights: User : automan : rwx Group: automan : rwx Other: : r-x Created snapshot view directory "crp2". [crp2] $ cleartool setcs ..\configspec19173.txt cleartool: Error: Unable to open file "..\configspec19173.txt": No such file or directory. cleartool: Error: Unable to change configuration specification: error detected by ClearCase subsystem. FATAL: Base ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="setcs ..\configspec19173.txt", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="setcs ..\configspec19173.txt", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher..java:72) at hudson.plugins.clearcase.ClearToolSnapshot.setcs (ClearToolSnapshot.java:34) at hudson.plugins.clearcase.action.SnapshotCheckoutAction.checkout (SnapshotCheckoutAction.java:48) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout (AbstractClearCaseScm.java:217) at hudson.model.AbstractProject.checkout(AbstractProject.java:693) at hudson.model.AbstractBuild$AbstractRunner.checkout (AbstractBuild.java:266) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:239) at hudson.model.Run.run(Run.java:842) at hudson.model.Build.run(Build.java:88) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:90)
    via by skrishnapradeep,
    • java.io.IOException: cleartool did not return the expected exit code. Command line="rmview -force Test", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:76) at hudson.plugins.clearcase.ClearToolSnapshot.rmview(ClearToolSnapshot.java:72) at hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout(UcmSnapshotCheckoutAction.java:52) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:251) at hudson.model.AbstractProject.checkout(AbstractProject.java:681) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:264) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:238) at hudson.model.Run.run(Run.java:842) at hudson.model.Build.run(Build.java:88) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:90)
    No Bugmate found.