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 104385 - IOException when starting IDE
Summary: IOException when starting IDE
Status: RESOLVED DUPLICATE of bug 108252
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
: 107651 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-21 08:19 UTC by Petr Chytil
Modified: 2007-07-03 14:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full stacktrace (1.25 KB, text/plain)
2007-05-21 08:20 UTC, Petr Chytil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Chytil 2007-05-21 08:19:59 UTC
NetBeans IDE Dev (Build 070518)
1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
SunOS version 5.10 running on x86
cs_CZ (nb); UTF-8

I get this IOException every time I start IDE (even with clean userdir). It is
unzipped bigide.

java.io.IOException: could not run [/bin/chmod, u+rx, _jrubycleanup.bat,
_jrubysetcp.bat, _jrubyvars.bat, gem, gem.bat, gem_mirror, gem_mirror.bat,
gem_server, gem_server.bat, gemlock, gemri, gemwhich, gemwhich.bat,
generate_yaml_index.rb, index_gem_repository.rb, jirb, jirb.bat, jruby,
jruby.bat, jruby.rb, jrubyc, jrubycli, jrubyd.bat, jrubysrv, jrubyw.bat, testrb,
update_rubygems, rake, rdoc, rails]
        at
org.netbeans.api.ruby.platform.RubyInstallation.ensureExecutable(RubyInstallation.java:750)
        at
org.netbeans.modules.ruby.rubyproject.RubyProjectModuleInstaller.restored(RubyProjectModuleInstaller.java:40)
Comment 1 Petr Chytil 2007-05-21 08:20:58 UTC
Created attachment 42585 [details]
full stacktrace
Comment 2 Tomas Danek 2007-05-21 16:03:57 UTC
Petre, can you investigate where is located chmod on your SOL 10  machine? It
may help Tor, thanks..
can you run /bin/chmod manually?
Comment 3 Torbjorn Norbye 2007-05-22 01:35:54 UTC
I've modified the error message such that the process exit code from chmod is included in the message. 
Perhaps the exit code will tell us why chmod is unhappy.
Comment 4 skaar 2007-06-22 15:36:49 UTC
This will happen in particular in the case where the netbeans installation is owned by root, but you are running
netbeans as a non-root user. This wouldn't be Solaris specific. Maybe RubyInstallation.ensureExecutable should check if
you do 
have permission to modify the files.
Comment 5 Jana Maleckova 2007-06-26 15:23:19 UTC
*** Issue 107651 has been marked as a duplicate of this issue. ***
Comment 6 Torbjorn Norbye 2007-06-27 18:34:49 UTC
Closing as a duplicate of 108252, which is now partially fixed.

*** This issue has been marked as a duplicate of 108252 ***
Comment 7 Jiri Kovalsky 2007-07-03 14:11:15 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 8 Jiri Kovalsky 2007-07-03 14:42:35 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.