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 49341 - Debugging in automated tests fails with message "Address already in use"
Summary: Debugging in automated tests fails with message "Address already in use"
Status: CLOSED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: RANDOM, T9Y
Depends on:
Blocks:
 
Reported: 2004-09-21 11:10 UTC by Jiri Skrivanek
Modified: 2006-03-24 10:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot (30.02 KB, image/png)
2004-09-21 11:10 UTC, Jiri Skrivanek
Details
IDE log (17.24 KB, text/plain)
2004-11-15 14:06 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2004-09-21 11:10:34 UTC
Debugging in the commit validation suite sometimes
fails because "Address already in use" error. The
test runs debug-single target on a simple source.
Status text in the main window contains the
following sequence:

"Save All finished."
"Building SampleProject (debug-single)..."
"Finished building SampleProject (debug-single)."
"Listening on 48190"
"Address already in use"

A fragment of output window can be seen at
attached screen shot.

Build 20040921-0824, JDK1.4.2_03, Solaris8.
Comment 1 Jiri Skrivanek 2004-09-21 11:10:54 UTC
Created attachment 17784 [details]
Screen shot
Comment 2 Jan Jancura 2004-10-13 10:26:07 UTC
May be related to:
http://www.netbeans.org/issues/show_bug.cgi?id=48170

Comment 3 Jiri Skrivanek 2004-10-13 10:39:33 UTC
Maybe, but this is happening on Solaris and the error mesagges are
little bit different. IMO "Address already in use" is important in
this case. Would it be possible to try a different address when first
attempt fails?
Comment 4 Jan Jancura 2004-10-13 10:56:25 UTC
We use address generated by JDI. It should be random and unique. I am
not sure now where is the problem, be we are working on it.
Comment 5 Jan Jancura 2004-11-10 11:46:54 UTC
I can not reproduce it in user mode.
Event tests works OK for me (but several of them failes on different
error).
Thats why I am decreasing priority on P3. I will try to create special
test for this issue.
Comment 6 Jan Jancura 2004-11-15 09:51:41 UTC
Attached screenshot does not corresponds to the issue description. It
contains "No transports initialized" message in place of "Address
already in use" one. Is it mistake?

Can you attach real output form failing test, or some other relevant
information? 

Can you point me to sources of failing tests in CVS?

Can you remove failing tests from suite until we fix them, please?

Thanks, 
Hanz
Comment 7 Jiri Skrivanek 2004-11-15 14:06:17 UTC
As stated in description a message "Address already in use" appears in
status bar. I will attach IDE log where this message appeared as well.
 I don't have any other output except already attached screen shot.

Source (look at method testDebugging):
http://ide.netbeans.org/source/browse/ide/test/qa-functional/src/validation/IDEValidation.java

testDebugging test was removed from the suite.
Comment 8 Jiri Skrivanek 2004-11-15 14:06:45 UTC
Created attachment 18897 [details]
IDE log
Comment 9 Roman Ondruska 2005-03-31 12:58:45 UTC
Not reproducible with recent builds.
Comment 10 Jiri Skrivanek 2005-03-31 13:02:25 UTC
Verified.