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 151461 - "Start" context menu item is always disabled after stopping of a server
Summary: "Start" context menu item is always disabled after stopping of a server
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-10-27 13:34 UTC by Roman Mostyka
Modified: 2008-10-29 13:52 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 Roman Mostyka 2008-10-27 13:34:53 UTC
1. Register MySQL server with admin properties.
2. Start MySQL server.
3. Rightclick MySQL server's node and choose "Stop".
4. During stopping, rightclick MySQL server's node and wait until MySQL server will be stopped.

Result: "Start" context menu item is disabled during stopping, but unfortunately it stays the same after stopping. So
there is no way to start MySQL server from IDE.
Workaround: Restart NetBeans.
Comment 1 David Vancouvering 2008-10-27 18:01:55 UTC
That's funny, Start is enabled for me.  Currently the Start action is disabled only if (a) the server is currently
connected or (b) we're in the middle of running Start already.

It shouldn't be disabled even when Stop is running (I mean, maybe it "should" but right now the code isn't doing that,
so it shouldn't be happening when you run the Stop action).

Can you please provide more information, as I am not able to reproduce...
Comment 2 Roman Mostyka 2008-10-27 18:41:01 UTC
Unfortunately I can't provide more information.
I did testing with RC2 on Windows XP and I rightclicked MySQL server's node and "Start" context menu item was disabled.
I didn't do anything till MySQL server is stopped and only after this I select some other node and context menu disappears.
But when I invoked it again "Start" item was disabled.
Try to invoke context menu several times during stopping, probably on one of the times you'll be successful. And after
this don't do anything, just wait when MySQL will be stopped and then try to look at context menu again.
Comment 3 David Vancouvering 2008-10-28 05:22:38 UTC
Can you repeat this every time?  If not, please set this to RANDOM, and I believe it should be a P3, unless you can make
it happen *every* time.  I sure can't...
Comment 4 Roman Mostyka 2008-10-28 10:32:06 UTC
Actually it seems to me that I was able to reproduce this issue only with RC2 build, but not with trunk.
I'll investigate more and update this issue with more information.
Comment 5 David Vancouvering 2008-10-28 20:43:49 UTC
Awaiting more information from Roman, so we can see what's going on and how it might be fixed.
Comment 6 Roman Mostyka 2008-10-29 13:52:35 UTC
I definitely was able to reproduce this issue. Probably it was some problem in settings.
But now I'm not фиджу to reproduce anymore. I tried with RC2 and nightly build, but without success.
I'll close this issue as FIXED, but if I reproduce it again and have more details (like exact steps), I'll reopen this
issue and details.
Comment 7 Roman Mostyka 2008-10-29 13:52:56 UTC
Verified.