java.io.IOException: CreateProcess: 1\bin\java.exe -version error=2

Oracle Community | 807581 | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Installation Error

    Oracle Community | 10 years ago | 807581
    java.io.IOException: CreateProcess: 1\bin\java.exe -version error=2
  2. 0

    I am just starting to set up Hudson to work with ClearCase and I am getting the following console output when I build: Started by user anonymous [IFC] $ cleartool startview tla_vu [IFC] $ cleartool catcs -tag tla_vu element * CHECKEDOUT element * .../tla_dev/LATEST element * /main/LATEST -mkbranch tla_dev [tla_vu] cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt '\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -nco M:\tla_vu\files FATAL: CreateProcess: cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files error=267 java.io.IOException: CreateProcess : cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files error=267 at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) at hudson.Proc$LocalProc.<init>(Proc.java:132) at hudson.Proc$LocalProc.<init>(Proc.java:110) at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:359) at hudson.Launcher$LocalLauncher.launch(Launcher.java:342) at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:66) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:64) at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:57) at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:43) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:274) at hudson.model.AbstractProject.checkout(AbstractProject.java:808) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:899) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) I'm not sure what the problem is, but I noticed that the format passed with the "-fmt" tag is enclosed with single quotes (') on the output line that start with [tla_vu] and double quotes (") on the two error lines. If I copy and paste the lshistory command with the double quotes into a cmd window, the command runs properly. If I use the command with the single quotes, I get the following error: cleartool: Error: Unable to access ""%u"": Filename too long. cleartool: Error: Unable to access ""%En"": Filename too long. cleartool: Error: Unable to access ""%Vn"": Filename too long. cleartool: Error: Unable to access ""%e"": Filename too long. cleartool: Error: Unable to access ""%o"": Filename too long. cleartool: Error: Unable to access "\n%c\n'": ClearCase object not found. cleartool: Error: Unable to access "-nco": No such file or directory I am having the same problem with versions 0.8.1 and 0.8.2 of the plugin. Thanks for making such a great (and free) tool. Any help would be appreciated. Thanks. -Stuart

    Jenkins JIRA | 8 years ago | tla612
    java.io.IOException: CreateProcess : cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files error=267
  3. 0

    If the cleartool command is empty (or doesnt exist) then a fatal error should be shown and not an exception. Creating a snapshot clear tool [workspace] $ mkview -snapshot -tag hudson_server_view hudson_server_view FATAL: CreateProcess: mkview -snapshot -tag hudson_server_view hudson_server_view error=2 java.io.IOException: CreateProcess: mkview -snapshot -tag hudson_server_view hudson_server_view error=2 at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) at hudson.Proc$LocalProc.<init>(Proc.java:80) at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:290) at hudson.Launcher$LocalLauncher.launch(Launcher.java:281) at hudson.plugins.clearcase.ClearCaseSCM$ClearToolLauncherImpl.run(ClearCaseSCM.java:266) at hudson.plugins.clearcase.ClearToolSnapshot.mkview(ClearToolSnapshot.java:38) at hudson.plugins.clearcase.ClearCaseSCM.checkout(ClearCaseSCM.java:145) at hudson.model.AbstractProject.checkout(AbstractProject.java:529) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:223) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:189) at hudson.model.Run.run(Run.java:646) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62)

    Jenkins JIRA | 9 years ago | redsolo
    java.io.IOException: CreateProcess: mkview -snapshot -tag hudson_server_view hudson_server_view error=2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HUDSON DOESN'T PERFORMS CHECKOUT WHEN HUDSON IS RUNNING ON APACHE TOMCAT SERVICES, WHEREAS IT PERFORMS WELL WHEN RUN FROM bin\tomcat5.exe . THE ERROR IT SHOWS WHEN EXECUTED FROM APACHE TOMCAT SERVICES IS AS :- FATAL: CreateProcess: cvs -Q -z3 -d :pserver:XXXX:YYYY@XXX.XX.X.XXX/usr/local/cvsroot co -P -r XXXXXXXX -d XXXXXXX XXXXX error=2 java.io.IOException: CreateProcess: cvs -Q -z3 -d :pserver:XXXXXXX:XXXXXXX@XXX.XXX.X.XX/usr/local/cvsroot co -P -r XXXX -d XXXXX XXXXXX error=2 at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) at hudson.Proc$LocalProc.<init>(Proc.java:132) at hudson.Proc$LocalProc.<init>(Proc.java:110) at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:359) at hudson.Launcher$LocalLauncher.launch(Launcher.java:342) at hudson.Launcher.launch(Launcher.java:175) at hudson.Launcher.launch(Launcher.java:127) at hudson.scm.CVSSCM.run(CVSSCM.java:948) at hudson.scm.CVSSCM.run(CVSSCM.java:956) at hudson.scm.CVSSCM.checkout(CVSSCM.java:413) at hudson.scm.CVSSCM.checkout(CVSSCM.java:346) at hudson.model.AbstractProject.checkout(AbstractProject.java:805) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:897) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119)

    Jenkins JIRA | 8 years ago | ssriramka
    java.io.IOException: CreateProcess: cvs -Q -z3 -d :pserver:XXXXXXX:XXXXXXX@XXX.XXX.X.XX/usr/local/cvsroot co -P -r XXXX -d XXXXX XXXXXX error=2

  1. rp 1 times, last 2 months ago
  2. michallos 1 times, last 3 months ago
  3. eti22 1 times, last 4 months ago
  4. asdasd 24 times, last 5 months ago
  5. rexgreenza 8 times, last 5 months ago
2 more registered users
93 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    CreateProcess: 1\bin\java.exe -version error=2

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:30)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
    4 frames