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 30395 - DEADLOCK after fix of Display problem in VCS Output Window
Summary: DEADLOCK after fix of Display problem in VCS Output Window
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2003-01-27 17:13 UTC by Martin Entlicher
Modified: 2003-02-04 13:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
FTD (17.13 KB, text/plain)
2003-01-29 12:05 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2003-01-27 17:13:09 UTC
The output in VCS Output Window is sometimes empty
(usually when Open action in the Runtime tab is
triggered), but when you drag a mouse (while
holding the left-mouse button) accross the window
it's correct content is shown.

The tabbed pane is in an inconsistent state
(resizing the component deletes the content
again).

I didn't find this submitted (although I think it
was already reported), so I'm filling this new
issue so that the problem will be recorded.
Comment 1 Martin Entlicher 2003-01-27 17:19:12 UTC
Fixed in the main trunk.
It seems, that JTabbedPane.setComponentAt(.., ..) does not work
reliably when called multiple times before the component is actually
made visible. So the fix is a little hack.
A slightly better performance should occur as a side-effect of this
fix.

/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/CommandOutputCollector.java,v 
<--  CommandOutputCollector.java
new revision: 1.10; previous revision: 1.9
/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/CommandOutputPanel.java,v 
<--  CommandOutputPanel.java
new revision: 1.17; previous revision: 1.16
Comment 2 dmladek 2003-01-29 12:03:18 UTC
Martin, I'm not finding your fix as ver successfull:-(

I caousing deadlock when you wish invoke output of command from
Command history for JavaCVS FS ...

...attaching  FTD

and I'm increasing the priority 'cause it is DEADLOCK
Comment 3 dmladek 2003-01-29 12:05:52 UTC
Created attachment 8717 [details]
FTD
Comment 4 dmladek 2003-01-29 12:09:27 UTC
Also it is breaking automatical tests , thus adding the keyword

And I forgot to mention on which build it happening this regresion:
  Product Version       = NetBeans IDE Dev (Build 200301290100)
  IDE Versioning        = IDE/1 spec=3.34 impl=200301290100
  Operating System      = Linux version 2.4.18 running on i386
  Java; VM; Vendor      = 1.4.1_01; Java HotSpot(TM) Client VM
1.4.1_01-b01; Sun Microsystems Inc.
  Java Home             = /usr/java/j2sdk1.4/sun/jdk1.4.1_01/jre
  System Locale; Encod. = cs_CZ; ISO-8859-2
  Home Dir; Current Dir = /home.local/danielm;
/DISKS/storage3/forte/NBdev-last/netbeans/bin
Comment 5 Martin Entlicher 2003-01-29 13:32:56 UTC
Fixed for javacvs in the main trunk:

/cvs/javacvs/src/org/netbeans/modules/cvsclient/commands/JavaCvsRuntimeCommand.java,v 
<--  JavaCvsRuntimeCommand.java
new revision: 1.23; previous revision: 1.22
Comment 6 dmladek 2003-01-31 10:21:40 UTC
Yap:-) Verifiing on  NetBeans IDE Dev (Build 200301300100)