This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 156713 - java.io.IOException: Cannot run program "svn": error=2, No such file or directory
Summary: java.io.IOException: Cannot run program "svn": error=2, No such file or direc...
Status: RESOLVED INCOMPLETE
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL: http://statistics.netbeans.org/except...
Keywords:
: 160509 160569 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-13 19:20 UTC by jportway
Modified: 2009-09-18 12:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 145160


Attachments
stacktrace (6.69 KB, text/plain)
2009-01-13 19:21 UTC, jportway
Details
stacktrace (2.61 KB, text/plain)
2009-02-13 16:17 UTC, rdelaplante
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jportway 2009-01-13 19:20:55 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments:
jportway: initial checkin of project into subversion

pvdessel: during start-up

GUEST: Simply starting the app

GUEST: java.io.IOException: cleartool: not found
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
	at java.lang.ProcessImpl.start(ProcessImpl.java:91)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
	at java.lang.Runtime.exec(Runtime.java:591)
	at java.lang.Runtime.exec(Runtime.java:429)
	at java.lang.Runtime.exec(Runtime.java:326)
	at org.netbeans.modules.clearcase.client.Cleartool.createCleartoolProcess(Cleartool.java:152)
	at org.netbeans.modules.clearcase.client.Cleartool.<init>(Cleartool.java:76)
	at org.netbeans.modules.clearcase.client.ClearcaseClient.ensureCleartool(ClearcaseClient.java:371)
Caused: org.netbeans.modules.clearcase.ClearcaseUnavailableException
	at org.netbeans.modules.clearcase.client.ClearcaseClient.ensureCleartool(ClearcaseClient.java:373)
	at org.netbeans.modules.clearcase.client.ClearcaseClient.access$000(ClearcaseClient.java:73)
	at org.netbeans.modules.clearcase.client.ClearcaseClient$CommandRu

GUEST: Simply opening the program...

GUEST: opening app

GUEST: opening the program

GUEST: Restarted NetBeans IDE after installing this plugin

GUEST: I had just installed the module...

GUEST: Trying to run a Python Script after installing NBPython...

GUEST: Startup...

jportway: initial checkin of project into subversion



Stacktrace: 
java.io.IOException: Cannot run program "svn": error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at java.lang.Runtime.exec(Runtime.java:593)
        at java.lang.Runtime.exec(Runtime.java:509)
        at org.netbeans.modules.subversion.client.cli.Commandline.exec(Commandline.java:113)
        at org.netbeans.modules.subversion.client.cli.CommandlineClient.exec(CommandlineClient.java:729)
        at org.netbeans.modules.subversion.client.cli.CommandlineClient.propertyGet(CommandlineClient.java:559)
Comment 1 jportway 2009-01-13 19:21:03 UTC
Created attachment 75783 [details]
stacktrace
Comment 2 Tomas Stupka 2009-01-13 20:07:21 UTC
do other svn actions work for you? e.g update ...

thanks
Comment 3 jportway 2009-01-14 00:06:52 UTC
the action actually works fine - it just seems to throw this exception in the process
Comment 4 rdelaplante 2009-02-13 16:17:22 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) Platform, Standard Edition for Business, 1.6.0_10-b33
OS: SunOS, 5.11, x86

User Comments: 
I think this is happening when I am saving changes to open files? I am using a maven2 project on OpenSolaris 2008 11, jdk 1.6 u10

Stacktrace: 
java.io.IOException: Cannot run program "svn": error=12, Not enough space
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at java.lang.Runtime.exec(Runtime.java:593)
        at java.lang.Runtime.exec(Runtime.java:509)
        at org.netbeans.modules.subversion.client.cli.Commandline.exec(Commandline.java:113)
        at org.netbeans.modules.subversion.client.cli.CommandlineClient.exec(CommandlineClient.java:729)
        at org.netbeans.modules.subversion.client.cli.CommandlineClient.propertyGet(CommandlineClient.java:559)
Comment 5 rdelaplante 2009-02-13 16:17:33 UTC
Created attachment 76977 [details]
stacktrace
Comment 6 Ondrej Vrabec 2009-03-02 11:26:06 UTC
The exception does not show any more - see #dcfd5b899603
jportway: other svn actions work fine (no error is shown)? Like refresh, update and so on. Have you set the path to the
executable svn file? In Tools->Options->Versioning->Subversion ?

rdelaplante: does this happen often? Could you try the commandline client in shell?
Comment 7 rdelaplante 2009-03-02 13:40:41 UTC
It hasn't happened for a while.  When it starts to happen then it happens very frequently. Restarting NetBeans solved
the problem most of the time. I remember thinking the problem was related to OpenSolaris because one time I noticed that
I was unable to launch other processes such as calculator or firefox.  I ended up logging out of Gnome then back in to
solve the problem.

Comment 8 Ondrej Vrabec 2009-03-18 01:53:20 UTC
*** Issue 160509 has been marked as a duplicate of this issue. ***
Comment 9 Ondrej Vrabec 2009-03-20 15:20:40 UTC
*** Issue 160569 has been marked as a duplicate of this issue. ***
Comment 10 Peter Pis 2009-09-18 12:04:42 UTC
Any chance to switch to some latest dev build?