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 55290 - Deadlock when breakpoint is reached on AppServer
Summary: Deadlock when breakpoint is reached on AppServer
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: _ ludo
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2005-02-21 13:00 UTC by Jiri Skrivanek
Modified: 2006-03-24 13:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (14.28 KB, text/plain)
2005-02-21 13:01 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2005-02-21 13:00:24 UTC
Deadlock appears when you try to do something with
AppServer instace while debugger stays at breakpoint:

- add AppServer instance in runtime view
- create new web project
- add breakpoint to index.jsp
- start debugging (F5) and wait until debugger
stops at breakpoint
- show runtime view and right click on AppServer
instance node. Then IDE freezes.

Build 20050217-1739, JDK1.5.0_01, Linux.
Comment 1 Jiri Skrivanek 2005-02-21 13:01:50 UTC
Created attachment 20434 [details]
Thread dump
Comment 2 Jiri Skrivanek 2005-02-21 14:05:00 UTC
The same happens when you debug servlet.
Comment 3 Libor Kotouc 2005-02-21 14:24:15 UTC
It works on Windows. It doesn't work on Linux.
Comment 4 Petr Jiricka 2005-02-21 17:09:08 UTC
Is there a workaround?
Comment 5 _ ludo 2005-02-22 04:40:22 UTC
We used the same test as the tomcat plugin to detect if we are in
debug more and stopped... This tst is done inside the getTargets()
call from the threads dumps.

Either the tomcat way to testing this changed, or this is another
mystery on how netbeans works.
Bottom line: it is hard to communicate with Servers you are also
debugging via applications deployed to them...
It works on Windows, as a non politically correct workaround.
Write once, debug everywhere...
Comment 6 _ ludo 2005-02-22 22:25:58 UTC
Fixed in the plugin side.
Comment 7 zikmund 2005-02-24 08:03:37 UTC
BTW: Part of 4.1 Beta release notes.
Comment 8 Jiri Skrivanek 2005-03-01 10:36:55 UTC
Verified in build 20050301-0836.
Comment 9 athompson 2005-04-05 21:48:36 UTC
the release notes for RC1 still say this isn't fixed:

http://www.netbeans.org/community/releases/41/relnotes.html
Comment 10 zikmund 2005-04-06 08:59:50 UTC
Mentioned release notes are from Beta not from RC1 (it will come in 2-3 weeks).
Newly created RC1 or FCS release notes will document only issues with RELNOTE
keyword - this one issue will be removed then since it has no such keyword anymore.
Comment 11 athompson 2005-04-06 15:20:29 UTC
in that case the RC1 build links to the wrong release notes. i got there by
selecting Help-->Release Notes in the RC1 build.
Comment 12 athompson 2005-04-06 15:24:53 UTC
ahh...i guess the 5 april build was rebranded as RC1 but is not the official
release candidate?
Comment 13 zikmund 2005-04-06 15:26:09 UTC
This page will be updated to contain latest (RC1/FCS) release notes. You can see
it in the URL - it has no '41beta' or '41rc', only '41' in the link name.

BTW: as I said, RC1 is not finished yet. I suppose you saw RC1 splash screen in
latest daily builds - it could be there by mistake. Thanks for report.
Comment 14 zikmund 2005-04-06 15:38:14 UTC
aaaah - you're right. problem is that 4.1 daily build(s) from 6th April should
not be publicly downloadable - we are going to remove them from download site
ASAP. Thanks for the catch!