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

Summary: NoRouteToHost exception during start up
Product: platform Reporter: _ pkuzel <pkuzel>
Component: -- Other --Assignee: _ pkuzel <pkuzel>
Status: CLOSED WONTFIX    
Severity: blocker CC: jtulach
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 10350    
Bug Blocks:    

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.