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.
I installed the netbeans-6.0m9-full-linux.sh release in my home directory successfully and everything worked ok using the "/h/jkerich/netbeans-6.0m9/bin/netbeans --jdkhome /opt/jdk1.6.0 &" on the command line. The admin then installed netbeans in the /opt directory so everyone could use it. I then deleted all the netbean directories that I could find in my home directory (there seams to be no uninstall option with netbeans-6.0m9-full-linux.sh) and then tried to start up the /opt/netbeans using "/opt/netbeans-6.0m9/bin/netbeans --jdkhome /opt/jdk1.6.0 &" on the command line in my home directory. The following exception happened as it was starting: java.io.IOException: could not run [/bin/chmod, u+rx, gem_server, jrubyc, index_gem_repository.rb, rails, rake, update_rubygems, gemri, gem, generate_yaml_index.rb, rdoc, testrb, jruby, jirb, gemlock, jruby.rb, gemwhich, gem_mirror] at org.netbeans.api.ruby.platform.RubyInstallation.ensureExecutable(RubyInstallation.java:746) at org.netbeans.modules.ruby.rubyproject.RubyProjectModuleInstaller.restored(RubyProjectModuleInstaller.java:40) at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:354) at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:273) at org.netbeans.ModuleManager.enable(ModuleManager.java:903) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:380) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:316) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:260) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:149) at org.netbeans.core.startup.Main.start(Main.java:300) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:88) [catch] at java.lang.Thread.run(Thread.java:619) java.lang.IllegalArgumentException: port out of range:-3894 at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) at org.netbeans.modules.j2ee.sun.ide.j2ee.ui.DomainCreator.isPortAvaibale(DomainCreator.java:239) at org.netbeans.modules.j2ee.sun.ide.j2ee.ui.DomainCreator.createPersonalDomain(DomainCreator.java:163) at org.netbeans.modules.j2ee.sun.ide.j2ee.ui.DomainCreator.createPersonalDefaultDomain(DomainCreator.java:101) at org.netbeans.modules.j2ee.sun.ide.Installer.createDomainAndRecord(Installer.java:80) at org.netbeans.modules.j2ee.sun.ide.Installer.access$100(Installer.java:32) at org.netbeans.modules.j2ee.sun.ide.Installer$PrepareEnvironment.run(Installer.java:70) [catch] at org.netbeans.core.windows.WindowManagerImpl$Exclusive.run(WindowManagerImpl.java:1252) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) There was a note saying the following: A java.lang.IllegalArgumentException exception has occurred. However, the system should continue working without further problems. Click Show Details for the stack trace It looks like there might be a ownership problem on one of the directories but I don't see what the chmod is being done on or whether this is a path problem. Any idea?
Checking in DomainCreator.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/DomainCreator.java,v <-- DomainCreator.java new revision: 1.3; previous revision: 1.2 done
*** Issue 114049 has been marked as a duplicate of this issue. ***