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 10134 - NoRouteToHost exception during start up
Summary: NoRouteToHost exception during start up
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ pkuzel
URL:
Keywords:
: 10173 (view as bug list)
Depends on: 10350
Blocks:
  Show dependency tree
 
Reported: 2001-03-09 17:35 UTC by _ pkuzel
Modified: 2008-12-22 17:36 UTC (History)
1 user (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 _ pkuzel 2001-03-09 17:35:50 UTC
There was spotted the exception at toolbars initialization code if a few modules
installed.
Seems to be a race-condition that I can not reproduce.
Comment 1 Jan Chalupa 2001-03-12 12:07:30 UTC
Version: 'Dev' -> 3.2
Comment 2 _ pkuzel 2001-03-12 15:27:53 UTC
*** Issue 10173 has been marked as a duplicate of this issue. ***
Comment 3 _ pkuzel 2001-03-15 10:50:56 UTC
I fixed my part of problem by registering EntityCatalog implementations
directly at "Services/Hidden".
However there can still be race conditions in Lookup. Two consequences may
occure:
 * NoRouteToHost or UnknownHostException, if Lookup does not return registered 
   EntityCatalog instances.
 * deadlock in Lookup, if Lookup is called from the same thread as it uses
   for registration recognition purposes
The time will prove whether it was eliminated.

Comment 4 _ pkuzel 2001-03-21 14:00:18 UTC
It is said by Dusan that if few modules are installed then it will often occure.
I guess that problem is at the Lookup implementation.

[workaround if a fix is really impossible]
Let toolbars use its own EntityResolver.
Comment 5 Jaroslav Tulach 2001-03-21 14:53:46 UTC
I have just found out that I forgot to apply patch 10350 into 3.2 branch. IMHO
race condition should disappear.
Comment 6 Lukas Hasik 2002-01-10 15:13:59 UTC
looks like issue is gone... for long time. 
reopen if problem reappears.