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 23427 - Encounter BindException when switching between editors.
Summary: Encounter BindException when switching between editors.
Status: RESOLVED DUPLICATE of bug 23049
Alias: None
Product: obsolete
Classification: Unclassified
Component: externaleditor (show other bugs)
Version: -FFJ-
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-13 21:50 UTC by Sherry Zhou
Modified: 2002-07-19 15:19 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 Sherry Zhou 2002-05-13 21:50:54 UTC
ide version:  orion rc1

 Seems there's a problem in race condition ...

  . start IDE fresh, with default editor being the
choice.
  . in Explorer, open a file => editor is
NB/built-in
  . close NB/built-in editor window
  . in main, Tools->Setup Wizard, select Gvim
  . in Explorer, open a file => editor is Gvim
  . close Gvim editor window
  . in main, Tools->Setup Wizard, select Xemacs
  . in Explorer, open a file => editor is Xemacs
  . close Xemacs editor window
  . in main, Tools->Setup Wizard, select
NB/built-in
  . in Explorer, open a file => editor is
NB/built-in

  Repeat the above sequence in a variety of orders
and soon enough, the 
  following exception occurs:

     java.net.BindException: Address already in
use
        at
java.net.PlainSocketImpl.socketBind(Native Method)
        at
java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321)
        at
java.net.ServerSocket.bind(ServerSocket.java:308)
        at
java.net.ServerSocket.bind(ServerSocket.java:266)
        at
java.net.ServerSocket.<init>(ServerSocket.java:182)
        at
java.net.ServerSocket.<init>(ServerSocket.java:94)
        at 
org.netbeans.modules.externaleditor.ExtEdConnection$2.run(ExtEdConnection.java:1
13)
        at java.lang.Thread.run(Thread.java:536)

  at which point, the whole IDE session also
freeze!
Comment 1 David Weatherford 2002-05-13 21:56:52 UTC
Accepted.

Freeze is related to issue 23049.
Comment 2 Melih Ovadya 2002-05-13 22:00:15 UTC
It is the duplicate of issue 23049. I am closing this one.

*** This issue has been marked as a duplicate of 23049 ***