Cannot Run Program Cleartool Createprocess Error=2
- 15th for workshops, presentations and all things Jenkins Learn more Export Tools JenkinsJENKINS-2891FATAL: Cannot run program "cleartool" (in directory "M:\ADKLCL1_default_view\ADKLCL1_default_view")Log In ExportXMLWordPrintable Details Type: Bug Status: Closed Priority: Major Resolution: Incomplete Component/s: clearcase-plugin Labels: None Environment: Platform: All, OS: Windows XP Similar Issues: Show Description with the following configuration, it is not possible to use an existing CC dynamic view to build the project: run program "cleartool": java.io.IOException: error=2, No such file or directory Summary: java.io.IOException: Cannot run program "cleartool": java.io.IOException: err... Status: CLOSED FIXED Product: versioncontrol Classification: Unclassified Component: ClearCase Version: 6.x Hardware: All All Priority: P3 (vote) TargetMilestone: 6.x Assigned To: issues@versioncontrol QA Contact: issues@versioncontrol URL: http://statistics.netbeans.org/except... Whiteboard: EXCEPTIONS_REPORT Keywords: Duplicates: 158719 (view as bug list) Depends on: Blocks: Show dependency tree /graph Reported: 2008-02-16 23:04 UTC by Marian Mirilovic Modified: 2009-02-18 13:28 UTC (History) CC List: 0 users See Also: Issue Type: DEFECT Exception Report : Attachments stacktrace (1.85 KB, text/plain) 2008-02-16 23:04 UTC, https://issues.jenkins-ci.org/browse/JENKINS-2891 Marian Mirilovic Details View All Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Marian Mirilovic 2008-02-16 23:04:12 UTC Build: NetBeans IDE Dev (Build 200802140010) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Linux, 2.6.12-10-686, i386 User Comments: I don't have installed CC. Pushed main CC menu Update Comment 1 Marian Mirilovic 2008-02-16 23:04:19 UTC https://netbeans.org/bugzilla/show_bug.cgi?id=127565 Created attachment 56780 [details] stacktrace Comment 2 Marian Mirilovic 2008-02-16 23:09:28 UTC The same exception for : Browse History Browse Version Tree Show Properties These menus should be disabled or at least show dialog and ask for location of cleartool. Comment 3 Tomas Stupka 2008-02-17 15:16:06 UTC where does your CC plugin come from - a NB update center or did you build it from sources? Comment 4 Maros Sandor 2008-02-18 08:53:03 UTC I have fixed this recently so that users without CC are not bothered with exceptions at all. Please verify in latest builds. 25eb07eab643 Comment 5 Tomas Stupka 2008-02-18 10:00:30 UTC Browse History Browse Version Tree Show Properties still throws exception diff should be disabled Comment 6 Maros Sandor 2008-02-18 11:24:30 UTC 916677805251 Comment 7 Marian Mirilovic 2008-06-18 11:16:19 UTC verified Comment 8 Ondrej Vrabec 2009-02-18 13:28:04 UTC *** Issue 158719 has been marked as a duplicate of this issue. *** Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. SiteMap About Us Contact Legal & Licences By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by for Eclipse Discussion Clearcase plugin https://sourceforge.net/p/eclipse-ccase/discussion/167189/thread/1fdcd312/ for Eclipse Eclipse plugin for VCS ClearCase - sponsored by ALMtoolbox Brought to you by: achim66, eraonel Summary http://stackoverflow.com/questions/18654164/change-working-directory-in-process-builder Files Reviews Support Wiki Mailing Lists Tickets ▾ Bugs Patches Feature Requests News Discussion Code Create Topic Stats cannot run Graph Forums Help 259 Help Formatting Help Eclipse Juno + ClearCase 7.1.2.02: An internal error occurred during: "Refreshing ClearCase Resource States". Forum: Help Creator: Zak Taccardi Created: 2013-07-16 Updated: 2013-08-14 1 2 > >> (Page 1 of cannot run program 2) Zak Taccardi - 2013-07-16 Hi - I'd love to by able to use eclipse Juno with clearcase, but the plugin seems to have some issues for me. Any help is greatly appreciated. Link of Import and Screencast http://screencast.com/t/CRxn7dngK On refreshing states: eclipse.buildId=M20130204-1200 java.version=1.7.0_25 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product Error Tue Jul 16 14:26:42 EDT 2013 An internal error occurred during: "Refreshing ClearCase Resource States". java.lang.NullPointerException at net.sourceforge.clearcase.commandline.SingleProcessCommandLauncher.execute(SingleProcessCommandLauncher.java:443) at net.sourceforge.clearcase.ClearCaseCLIImpl.launch(ClearCaseCLIImpl.java:1363) at net.sourceforge.clearcase.ClearCaseCLIImpl.buildAndExecuteCommand(ClearCaseCLIImpl.java:650) at net.sourceforge.clearcase.ClearCaseCLIImpl.buildAndExecuteCommand(ClearCaseCLIImpl.java:639) at net.sourceforge.clearcase.ClearCaseCLIImpl.ccOperation(ClearCaseCLIImpl.java:614) at net.sourceforge.clearcase.ClearCaseCLIImpl.getElementStates(ClearCaseCLIImpl.java:872) at net.sourceforge.clearcase.ClearCaseCLIImpl.getElementState(ClearCaseCLIImpl.java:843) at net.sourceforge.eclipseccase.StateCache.doUpdate(StateCache.java:265) at net.sourceforge.eclipseccase.StateCache.doUpdate(StateCache.java:158) at net.sourceforge.eclipseccase.StateCache.doUpdate(StateCache.java:146) at net.sourceforge.eclipseccase.StateCacheJob.execute(StateCacheJob.java:121) at net.sourceforge.eclipseccase.StateCacheJobQueue.executePendingJobs(StateCacheJobQueue.java:179) at net.sourceforge.eclipseccase.StateC here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Change working directory in process builder up vote 0 down vote favorite I am trying to run a command using ProcessBuilder as below. String[] cmdList = {"cmd.exe","/C","M:", "cd Test_SrcCd_Dev_Dyn","cleartool lsactivity -l TestActivity@My_PVOB"}; ProcessBuilder builder = new ProcessBuilder(cmdList); From a command perspective I am basically want to asking process builder to do this. 1.Open cmd.exe 2 Open M: 3 cd Test_SrcCd_Dev_Dyn 4 Run my command i.e. cleartool lsactivity -l TestActivity@My_PVOB My code returns null. Can someone please suggest the right way of creating the process builder to achieve the same. Thanks in advance. java processbuilder share|improve this question asked Sep 6 '13 at 9:15 user2732988 1615 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Did you checked documentation for process builder? public ProcessBuilder directory(File directory) this methods sets working directory for new process. Just start new process for cleartool lsactivity -l TestActivity@My_PVOB command and set its working directory to builder.setDirectory(new File("m:\Test_SrcCd_Dev_Dyn")); It is possible that you will have to set absolute path for your cleartool share|improve this answer answered Sep 6 '13 at 9:16 Antoniossss 5,80911031 Hi @Antoniossss..I got the below error when i tried this. Cannot run program "cleartool.exe lsactivity -l TestActivity@My_PVOB" (in directory "M:\Test_SrcCd_Dev_Dyn"): CreateProcess error=2, The system cannot find the file specified. –user2732988 Sep 6 '13 at 11:46 Like I wrote before in last line, you probably has to sp