Bug #70282 MySQL Notifier opens and gives an error message "High Severity Error"
Submitted: 9 Sep 2013 23:38 Modified: 11 Oct 2013 6:09
Reporter: Jacqy Ley Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL for Windows: MySQL Notifier Severity:S3 (Non-critical)
Version:1.1.4 OS:Windows (Windows 7 Home Premium)
Assigned to: CPU Architecture:Any
Tags: error, high, install, object, reference, Severity

[9 Sep 2013 23:38] Jacqy Ley
Description:
I downloaded the MySQL Community Server v5.6.13 (Generally Available). I clicked the "MySQL Installer 5.6 for Windows; 64-bit; MSI; Offline (about 191.6 MB)".

The following is a copied message from my post on the forum (http://forums.mysql.com/read.php?173,593879,593879#msg-593879).

====
When i start up Windows, MySQL Notifier pops up and displays,

"High Severity Error"
"Object reference not set to an instance of an object."

And when i click "Show Details", it shows,

at MySQL.Utility.IniFile.HasKey(String section, String keyToFind)
at MySql.Notifier.MySQLService.GetStartupParameters()
at MySql.Notifier.MySQLService.FindMatchingWBConnections()
at MySql.Notifier.MySQLService.SetServiceParameters(Boolean doNotFetchInstanceIfOffline)
at MySql.Notifier.Machine.LoadServiceParameters(MySQLService service, ChangeType changeType)
at MySql.Notifier.Machine.ChangeService(MySQLService service, ChangeType changeType)
at MySql.Notifier.Machine.LoadServicesParameters(Boolean setupWMIEventsOnly)
at MySql.Notifier.MachinesList.LoadMachinesServices()
at MySql.Notifier.Notifier..ctor()
at MySql.Notifier.NotifierApplicationContext..ctor()
at MySql.Notifier.Program.Main(String[] args)

I followed somebody's suggestion and deleted config file in User\AppData\Oracle\ and now it shows a little different details,

at MySQL.Utility.IniFile.HasKey(String section, String keyToFind)
at MySql.Notifier.MySQLService.GetStartupParameters()
at MySql.Notifier.MySQLService.FindMatchingWBConnections()
at MySql.Notifier.MySQLService.SetServiceParameters(Boolean doNotFetchInstanceIfOffline)
at MySql.Notifier.MachinesList.AutoAddLocalServices()
at MySql.Notifier.MachinesList.InitialLoad()
at MySql.Notifier.MachinesList..ctor()
at MySql.Notifier.Notifier..ctor()
at MySql.Notifier.NotifierApplicationContext..ctor()
at MySql.Notifier.Program.Main(String[] args)

I am taking a database mgmt class for the first time in my life and i have no related knowledge of whatsoever when it comes to MySQL. What i can tell you is a detailed account of my initial installation of MySQL.

(1) I downloaded the MySQL Installer for "All Windows", which seems like MySQL Community Server in a package.
(2) It was an offline version, and i chose "Development Default".
(3) I guess it installed Server components, then Client components as well. (I realized this Client/Server choice after 5 reinstallations)
(4) The "missing" plug-ins, "Visual C++ 2010 x86 Redistributable" and "Visual .NET Framework 4 Client Profile" were downloaded and installed. The only plug-in i didn't complete was Visual Studio 2008/2010/2012.
(5) After Server component was installed, it did some configurations, as i could see the messages on the icons tray.
(6) After some time, i realized i didn't need Server components, so i uninstalled the whole MySQL applications and reinstalled a couple of times.
(7) Bottom line is that i deleted the folder that was separately created during my initial installation (that Server component), i uninstalled everything completely, checked the program folder to make sure no loose ends were left on the hard drive.

====
Brief copied messages from the replies:

Right after the installation, the MySQL Notifier pops up automatically, stating "High Severity Error". I didn't find any INI files, but rather a *.config file, in which i deleted. The Notifier created a new config file, but still displays the error message.

====
I reinstalled the MySQL Notifier, but it still gives the same error with these details:

at MySQL.Utility.IniFile.HasKey(String section, String keyToFind)
at MySql.Notifier.MySQLService.GetStartupParameters()
at MySql.Notifier.MySQLService.FindMatchingWBConnections()
at MySql.Notifier.MySQLService.SetServiceParameters(Boolean doNotFetchInstanceIfOffline)
at MySql.Notifier.MachinesList.AutoAddLocalServices()
at MySql.Notifier.MachinesList.InitialLoad()
at MySql.Notifier.MachinesList..ctor()
at MySql.Notifier.Notifier..ctor()
at MySql.Notifier.NotifierApplicationContext..ctor()
at MySql.Notifier.Program.Main(String[] args) 

====
Since i didn't install Server product this time, i didn't see it on the list of uninstall, so i'm not sure if any Server product files are left in my computer. However, i opened the Windows services and found MySQL-NetworkID, and for some reason, i cannot remove it. Disabling the service did not affect the error given by MySQL Notifier. 

====
Im suspecting something went wrong with my initial installtion of Server product, maybe the anti-virus program and firewall are having conflicts, or something to do with Visual Studio plug-in not installed.

====
(END OF DESCRIPTION)

How to repeat:
(1) Download MySQL Community Server v5.6.13 (Generally Available);
(2) When selecting download, choose "MySQL Installer 5.6 for Windows; 64-bit; MSI; Offline (about 191.6 MB);".
(3) During installation, choose "Development Default".
(4) During installation, DO NOT check for latest updates.
(5) This may not be repeatable if you already have plug-ins installed before installation; Download and install "Visual C++ 2010 x86 Redistributable" and "Visual .NET Framework 4 Client Profile" through the button and link provided by the installer.
(6) After installing all components, continue with the default configurations.

My belief is that the error window should pop up at this point, since it showed up to me right after the installation. You may have to run Workbench at least once to see the effect.
====
(END OF DESCRIPTION)
[9 Sep 2013 23:44] Jacqy Ley
Grammar correction; Synopsis;
[10 Sep 2013 1:12] MySQL Verification Team
Notifier error

Attachment: notifier_error.png (image/png, text), 89.33 KiB.

[10 Sep 2013 1:13] MySQL Verification Team
Thank you for the bug report.
[2 Oct 2013 11:31] MySQL Verification Team
http://bugs.mysql.com/bug.php?id=70485 duplicte of this one.
[3 Oct 2013 21:09] Javier Rivera Zavala
Posted by developer:
 
Patch submitted on rev.217
[9 Oct 2013 2:53] Trevor Black
Hi,

I just tried to install MySQL 5.6 on my Windows 8 computer. I received the same error notifications, and the MySQL server won't run. I'm attaching a text file with the error messages as well as the logs from the installation.

Regards,
Trevor
[9 Oct 2013 2:57] Trevor Black
Error message and log files from Windows 8 MySQL installer attempt

Attachment: mysql log.txt (text/plain), 454.06 KiB.

[11 Oct 2013 6:09] Philip Olson
Fixed as of the upcoming MySQL Notifier 1.1.5, and here's the changelog entry:

        A "High Severity Error" would be generated at startup if the MySQL 
        Installer attempted to install the MySQL Server and MySQL Notifier, and
        failed to install the MySQL Server.

Thank you for the bug report!
[17 Oct 2013 7:46] Javier TreviƱo
Posted by developer:
 
Switching the status back to QA Review since this has not been tested yet by QA.