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.

  • When starting a new project we noticed we cannot get it to build. It appears that the logic that is finding the components is broken when it goes and tries to find the root_dir. In our example our foundation baseline contains 3 components. The logic of the plugin seems to have no problem in finding the the names of the three components. Its when the plugin tries to find the root_dir that we run into an issue where two of the three components are found and the last one somehow gets changed from a valid value into NULL. A log of the output: FailedConsole Output View as plain text 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[found_bls]p\n stream:RavenPlatMain_Int@/vobs/tlv_pvob 13:12:42 RAVENPLAT_MAIN_04-DEC-08_1815 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[latest_bls]p\n stream:RavenPlatMain_Int@/vobs/tlv_pvob 13:12:42 RAVENPLATMAIN_31-AUG-10_1000.2095 RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51 RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51.6197 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_31-AUG-10_1000.2095@/vobs/tlv_pvob 13:12:42 Raven3p 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51@/vobs/tlv_pvob 13:12:42 tlv_comp 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51.6197@/vobs/tlv_pvob 13:12:42 RavenPlat 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:Raven3p@/vobs/tlv_pvob 13:12:42 /vobs/Raven3p 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:tlv_comp@/vobs/tlv_pvob 13:12:42 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob 13:12:42 cleartoolFATAL: UCM ClearCase failed. exit code=1 13:12:42 java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob", actual exit code=1 13:12:42 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:107) 13:12:42 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:70) 13:12:42 at hudson.plugins.clearcase.ClearToolExec.describe(ClearToolExec.java:88) 13:12:42 at hudson.plugins.clearcase.ucm.UcmCommon.generateLoadRulesFromBaselines(UcmCommon.java:63) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.getViewPaths(ClearCaseUcmSCM.java:262) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.createRevisionState(ClearCaseUcmSCM.java:173) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.calcRevisionsFromBuild(ClearCaseUcmSCM.java:159) 13:12:42 at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:457) 13:12:42 at hudson.model.AbstractProject.checkout(AbstractProject.java:1082) 13:12:42 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) 13:12:42 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) 13:12:42 at hudson.model.Run.run(Run.java:1280) 13:12:42 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 13:12:42 at hudson.model.ResourceController.execute(ResourceController.java:88) 13:12:42 at hudson.model.Executor.run(Executor.java:140) 13:12:42 : Error: component not found: "null".
    via by peterkline,
  • When starting a new project we noticed we cannot get it to build. It appears that the logic that is finding the components is broken when it goes and tries to find the root_dir. In our example our foundation baseline contains 3 components. The logic of the plugin seems to have no problem in finding the the names of the three components. Its when the plugin tries to find the root_dir that we run into an issue where two of the three components are found and the last one somehow gets changed from a valid value into NULL. A log of the output: FailedConsole Output View as plain text 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[found_bls]p\n stream:RavenPlatMain_Int@/vobs/tlv_pvob 13:12:42 RAVENPLAT_MAIN_04-DEC-08_1815 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[latest_bls]p\n stream:RavenPlatMain_Int@/vobs/tlv_pvob 13:12:42 RAVENPLATMAIN_31-AUG-10_1000.2095 RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51 RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51.6197 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_31-AUG-10_1000.2095@/vobs/tlv_pvob 13:12:42 Raven3p 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51@/vobs/tlv_pvob 13:12:42 tlv_comp 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51.6197@/vobs/tlv_pvob 13:12:42 RavenPlat 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:Raven3p@/vobs/tlv_pvob 13:12:42 /vobs/Raven3p 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:tlv_comp@/vobs/tlv_pvob 13:12:42 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob 13:12:42 cleartoolFATAL: UCM ClearCase failed. exit code=1 13:12:42 java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob", actual exit code=1 13:12:42 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:107) 13:12:42 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:70) 13:12:42 at hudson.plugins.clearcase.ClearToolExec.describe(ClearToolExec.java:88) 13:12:42 at hudson.plugins.clearcase.ucm.UcmCommon.generateLoadRulesFromBaselines(UcmCommon.java:63) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.getViewPaths(ClearCaseUcmSCM.java:262) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.createRevisionState(ClearCaseUcmSCM.java:173) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.calcRevisionsFromBuild(ClearCaseUcmSCM.java:159) 13:12:42 at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:457) 13:12:42 at hudson.model.AbstractProject.checkout(AbstractProject.java:1082) 13:12:42 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) 13:12:42 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) 13:12:42 at hudson.model.Run.run(Run.java:1280) 13:12:42 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 13:12:42 at hudson.model.ResourceController.execute(ResourceController.java:88) 13:12:42 at hudson.model.Executor.run(Executor.java:140) 13:12:42 : Error: component not found: "null".
    via by peterkline,
  • Re: Base Clearcase issues
    via by BEvans,
  • Clearcase plugin (configure UCM clearcase)
    via by francois b.,
  • 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,
  • 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,
    • java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:107) at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:70) at hudson.plugins.clearcase.ClearToolExec.describe(ClearToolExec.java:88) at hudson.plugins.clearcase.ucm.UcmCommon.generateLoadRulesFromBaselines(UcmCommon.java:63) at hudson.plugins.clearcase.ClearCaseUcmSCM.getViewPaths(ClearCaseUcmSCM.java:262) at hudson.plugins.clearcase.ClearCaseUcmSCM.createRevisionState(ClearCaseUcmSCM.java:173) at hudson.plugins.clearcase.ClearCaseUcmSCM.calcRevisionsFromBuild(ClearCaseUcmSCM.java:159) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:457) at hudson.model.AbstractProject.checkout(AbstractProject.java:1082) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) at hudson.model.Run.run(Run.java:1280) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140)
    No Bugmate found.