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 267786 - "initializing tools collection " hangs
Summary: "initializing tools collection " hangs
Status: RESOLVED DUPLICATE of bug 262104
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-30 15:21 UTC by pbeerli
Modified: 2016-09-14 19:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (37.03 KB, text/plain)
2016-08-30 15:21 UTC, pbeerli
Details
NetBeans 8.1 on OS X Thread Dump for hanging Initializing Tool Collections... (21.62 KB, text/plain)
2016-09-13 09:48 UTC, frijj2k
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pbeerli 2016-08-30 15:21:17 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Mac OS X version 10.11.6 running on x86_64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens every time

STEPS:
first open netbeans on mac
cannot creat project because "initalization tools collection on localhost" hangs
ACTUAL:
  nothing happens

EXPECTED:
  finish initializatio
Comment 1 pbeerli 2016-08-30 15:21:20 UTC
Created attachment 161826 [details]
IDE log
Comment 2 Alexander Simon 2016-08-30 16:02:11 UTC
Please attach thread dump (http://wiki.netbeans.org/GenerateThreadDump)
Comment 3 frijj2k 2016-09-13 09:47:24 UTC
Exact same problem here...  I have tied uninstalling and fully removing all traces of NetBeans and reinstalling but the same problem persists.

I have attached my thread dump for you...
Comment 4 frijj2k 2016-09-13 09:48:10 UTC
Created attachment 162023 [details]
NetBeans 8.1 on OS X Thread Dump for hanging Initializing Tool Collections...
Comment 5 Alexander Simon 2016-09-13 10:44:40 UTC
It duplicate of the bug #262104.
Please verify that your problem was fixed in NetBeans development version (http://bits.netbeans.org/dev/nightly/latest/).

*** This bug has been marked as a duplicate of bug 262104 ***
Comment 6 frijj2k 2016-09-14 18:24:43 UTC
Yes its fixed in latest dev build... Thank you!
Comment 7 frijj2k 2016-09-14 18:25:04 UTC
Yes its fixed in latest dev build... Thank you!
Comment 8 Alexander Simon 2016-09-14 18:42:59 UTC
(In reply to frijj2k from comment #7)
> Yes its fixed in latest dev build... Thank you!
Hi frijj2k,

The root cause of the issue is an unexpected output in stderr stream of an utility that gather host information. Could you help us to understand what is wrong in the utility? Please provide us an output of the command:
#sh ${NETBEANS_INSTALL_DIR}/ide/bin/nativeexecution/hostinfo.sh
For security reason replace sensitive strings in the output on HOST and USER strings.
Comment 9 frijj2k 2016-09-14 19:28:09 UTC
Hi Alex,

The output is...

BITNESS=64
CPUFAMILY=x86
CPUNUM=8
CPUTYPE=i386
HOSTNAME=Daves-MacBook-Pro.local
OSNAME=MacOSX
OSBUILD=Darwin Kernel Version 15.6.0
OSFAMILY=MACOSX
USER=dave
SH=/bin/bash
USERDIRBASE=/Users/dave
TMPDIRBASE=/var/tmp/dlight_dave/
DATETIME=2016-09-14 19:27:22
ENVFILE=/var/tmp/dlight_dave//env
ID=uid=501(dave) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),33(_appstore),100(_lpoperator),204(_developer),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh)

Hope this helps...

Cheers!