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 143292 - Search for Java is toooo long
Summary: Search for Java is toooo long
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Solaris
: P2 blocker (vote)
Assignee: dlipin
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-08-08 13:56 UTC by Egor Ushakov
Modified: 2008-08-09 03:44 UTC (History)
0 users

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 Egor Ushakov 2008-08-08 13:56:47 UTC
on opensolaris b94

./netbeans-trunk-nightly-200808080201-javase-solaris-x86.sh
It looks like installer hangs on 94%.
In log I see that it is searching for java:
[2008-08-08 16:45:18.150]:     investigating java home candidate: /export/sybase
[2008-08-08 16:52:33.691]:         executing command: chmod ugo+x nbi-cleaner9591.sh, in directory: /tmp

I killed it after 7 minutes of waiting.
Next run was ok and java search took only ~40 seconds.
Comment 1 dlipin 2008-08-08 14:04:24 UTC
Could you please attach the installation logs available at ~/.nbi/log ?

could you please explain why is it P2?

do you have any automounts (nfs, home, ...) ?
Comment 2 dlipin 2008-08-08 14:07:03 UTC
does "ls -la /export/sybase" and "ls -la /export" execute fast?
Comment 3 dlipin 2008-08-08 14:10:41 UTC
could you please also try to get the thread dump when the installer is hanging?
http://wiki.netbeans.org/GenerateThreadDump

thanks,
dmitry
Comment 4 Egor Ushakov 2008-08-08 14:31:52 UTC
you're right:
ls -la /export/sybase
hangs (or I'm not patient enough to wait for so long:)
Comment 5 Egor Ushakov 2008-08-08 14:33:51 UTC
I think this is P2, because it looks like installer hanged and does not work.
(probably it should be P1, but it worked second time I run it)
Comment 6 dlipin 2008-08-08 14:58:45 UTC
Hm.. I don`t have this folder in my opensolaris installation.
Nevermind.. to workaround the issue I`ll just prohibit installer to search in that folder.

Anyway let me advise you to contact OpenSolaris guys so that they check what`s going wrong with the system..
Comment 7 dlipin 2008-08-08 15:32:42 UTC
workarounded.
http://hg.netbeans.org/main/rev/cd783770af5c
Comment 8 Quality Engineering 2008-08-09 03:44:18 UTC
Integrated into 'main-golden', available in build *200808090201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/cd783770af5c
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #143292 Search for Java is toooo long (workarounding...)