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 48802 - <netbeans-install-directory>/bin/netbeans hangs
Summary: <netbeans-install-directory>/bin/netbeans hangs
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: Other Solaris
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-09 20:35 UTC by tomee
Modified: 2008-12-22 19:44 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomee 2004-09-09 20:35:21 UTC
As workaround for bug 48633, tried downloading and
extracting netbeans-4_0-beta.tar.gz.
Running /netbeans-install-directory/bin/netbeans
as directed in README.html hung at the final
"eval" in the script with the netbeans_jdkhome
variable unset.  It worked when I set
netbeans_jdkhome on the command line:

; cd NetBeans4.0b/netbeans/bin
; netbeans_jdkhome=/usr/java ./netbeans

I clicked No when asked if I wanted to import
settings from previous 3.6 installation.

My system is an Opteron running Solaris 10 (build
2004-08-05) and java version 1.5.0-beta3-b57.
Comment 1 Marian Mirilovic 2004-09-14 08:59:13 UTC
Could you provide thread-dump 
( http://qa.netbeans.org/bugzilla/generating-thread-dumps.html )
 , when IDE hangs ?

Thanks in advance.
Comment 2 tomee 2004-09-14 23:26:02 UTC
I followed the instructions to generate a thread dump.  Ctrl-\ returns
me to the command prompt but does not generate a file in the current
directory.  Should I look for it somewhere else?  I restarted
./netbeans and from another terminal tried "ps -ef | grep java" and
found that while the first terminal is hung, there is no java process
on my system.  Sorry if I missed something.
Comment 3 Jan Chalupa 2004-11-08 21:24:28 UTC
Is this still reproducible with a recent NB 4.0 build (or Beta 2) 
and the JDK 5.0 final?
Comment 4 mslama 2004-11-09 08:59:05 UTC
If it hangs in startup script add -x to it:
bin/netbeans
and eventualy 
platform4/lib/nbexec
Change line 
#!/bin/sh
to
#!/bin/sh -x
Comment 5 tomee 2004-11-30 23:28:07 UTC
Thanks Marek.  And sorry, Jan, for taking so long to get back to this.
 Unfortunately I can no longer download anything but the .bin
installer from the netbeans.org site, which doesn't work because of
bug 48633.  I'm trying unsuccessfully to install the 4.0 RC1 version
on build 71 of Solaris (running 32-bit kernel) with the following java
version:

: tomee@cabochon[25]; java -version
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b05)
Java HotSpot(TM) Server VM (build 1.5.0_01-b05, mixed mode)
Comment 6 mslama 2004-12-01 09:20:13 UTC
See issue #48633 for workaround and more details. Simply use command
line option -is:javahome <path to JDK 1.5.0>
Comment 7 madbrit 2005-02-01 15:48:56 UTC
./netbeans-4_1-ea2-solaris-sparc.bin -is:javahome
InstallShield Wizard

Initializing InstallShield Wizard...

Searching for Java(tm) Virtual Machine...
...............The wizard cannot continue because of the following
error: could not load wizard tree specified in /wizard.inf (106)
Comment 8 blueser 2005-04-26 14:57:40 UTC
I am experiencing this here, too, with a newly installed 4.1rc1. It seems to
work with some specific configurations:

- JDK 1.5_02 : it works just fine (both as regular user and root). Tested only
with Linux kernel 2.6.11-1.14_FC3smp (Fedora Core 3)
- J2SDK 1.4.2_08 as regular user: it hangs on "Recreating cache of installed
objects of modules". Tested only with kernel 2.4.28 (Fedora Core 1)
- J2SDK 1.4.2_08 as root : it works (kernel 2.4.28, FC1)

I will try to reproduce above JDK 1.5 results on FC1 as well later on, but I
hope this info helps you guys spot the problem.
Comment 9 mslama 2005-04-26 15:15:30 UTC
People are mixing problem with installer and problem with IDE deadlock here.
User sfitch if you have problem with NB installer please file separate issue.
(It looks like your problem is the same as in issue #48633. If it is so you need
not file new issue. It would be waste of time. Either update Solaris or just
update JDK 1.4.2 to latest version available. See issue #48633 for more details.
Thanks.)

To get relevant info about IDE deadlock we need thread dump. Use Ctrl-\ from
console where you started IDE.
Comment 10 mslama 2005-04-26 15:17:26 UTC
Getting thread dump is possible when Java is already running. If IDE startup
hangs before Java starts you must investigate shell scripts as I described
above. Without such info we cannot do anything.
Comment 11 Marian Mirilovic 2005-10-31 13:06:18 UTC
Without new informations for long time (6 months). Closing as worksforme. If you
get to the same problem again, please generate thread-dump :
http://qa.netbeans.org/bugzilla/generating-thread-dumps.html
reopen this issue and attach the thread dump.

Thanks in advance.