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.
Once I trying to build, run, clear or Generate RDoc on fresh Ruby project I have an exception: java.lang.IllegalArgumentException > at java.lang.ProcessImpl.<init>(ProcessImpl.java:69) > at java.lang.ProcessImpl.start(ProcessImpl.java:30) > at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) > at > org.netbeans.modules.ruby.rubyproject.execution.ExecutionService$2.run(ExecutionService.java:310) > > [catch] at > org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:129) I use a 200704161800 build of NetBeans and 985 build of Ruby
I can't reproduce this. From the stacktrace and looking at the implementation of java.lang.ProcessImpl on Windows, it looks like there's an issue with something in your PATH; perhaps we're not escaping it properly. Does your installation directories contain spaces and quotes? What is the full paths to (1) the IDE, (2) the user directory, and (3) the Ruby interpreter (if you have changed it from the default) ?
Also, is your $CLASSPATH environment variable set to anything?
Full Path to my IDE is E:\Program Files\netbeans-6.0 Full Path to userdir is E:\Documents and Settings\Administrator\.netbeans and $CLASSPATH set to: E:\PROGRA~1\Exceed.nt\hcljrcsv.zip;E:\PROGRA~1\Exceed.nt;E:\PROGRA~1\JavaNCSS\lib
If you unset CLASSPATH before starting NetBeans, does the exception go away? (I checked in a fix for this today, where $CLASSPATH is no longer consulted when launching JRuby - either using a current build or unsetting CLASSPATH would confirm is this is the cause of your bug)
I clear classpath and the exception is no more throws.
Great, then this bug should be fixed as of version 0.57 of the ruby projects module.
*** Issue 100861 has been marked as a duplicate of this issue. ***
Reassigning this issue to newly created 'ruby' component.
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.
Verified in build 200709140000