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 53678 - Status messages of CVS commands not in deterministic order
Summary: Status messages of CVS commands not in deterministic order
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-01-19 13:01 UTC by Jiri Skrivanek
Modified: 2006-03-24 13:00 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 Jiri Skrivanek 2005-01-19 13:01:06 UTC
Sometimes it happens that messages in IDE status
bar are in reverse order. For example "Command xx
is finished." precedes "Command xx is running.".
Possibly it can be caused by the fact that setting
status text is unnecessarily posted to request
processor in method

org.netbeans.modules.vcscore.commands.CommandProcessor#commandStarted
Comment 1 Martin Entlicher 2005-01-19 13:32:20 UTC
Starting to work on this. It makes commit validation suit to fail
randomly.

The problem is, that the RequestProcessor.getDefault() is
multi-threaded request processor and therefore requests can be
processed in parallel with undefined order.
Comment 2 Martin Entlicher 2005-01-19 14:31:50 UTC
The RequestProcessor was there because of issue #14160. That deadlock
should be already obsolete, that behavior should not occur any more.
Therefore it's hopefully safe to remove the post to RequestProcessor
just because of display of status text.

Fixed in trunk:

/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/CommandProcessor.java,v
 <--  CommandProcessor.java
new revision: 1.27; previous revision: 1.26
Comment 3 Jiri Skrivanek 2005-01-21 13:34:44 UTC
Seems it helps. I haven't seen any failure so far.