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.
Occasionally a command is not executed until some next command is put into the wait queue. This happens for commands, which have defined a pre-command. It looks like a problem in CommandProcessor and can be caused by the fix of issue #45464. I'm not sure yet whether issue #47249 is also caused by this, but it might be related.
How to reproduce: Run Import & Checkout on a newly created project. Sometimes the project is only imported and renamed to _orig. The checkout is executed after you run another command.
Fixed in trunk: The starter loop in CommandProcessor is notified after all command listeners are processed, so that canRun() implementations can rely on the listener and update its state before starter loop asks again. UserCommandTask now spawns pre-commands synchronously and wait for their finish via CommandListenerso that we're notified sooner. /cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/UserCommandTask.java,v <-- UserCommandTask.java new revision: 1.27; previous revision: 1.26 /cvs/vcscore/src/org/netbeans/modules/vcscore/commands/CommandProcessor.java,v <-- CommandProcessor.java new revision: 1.23; previous revision: 1.22