[Mono-dev] mysql-connector ArgumentNullException
lth3726381
lth3726381 at gmail.com
Thu Dec 6 13:48:47 UTC 2012
Hi :
When i use the original package mono and mysql in ubuntu 11.04 ,everything
is ok;
but after i compiled the new mono source and run the program again,i got an
exception:
System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Resources.ResourceManager.InternalGetResourceSet
(System.Globalization.CultureInfo culture, Boolean createIfNotExists,
Boolean tryParents) [0x0023c] in
/home/l/桌面/mono_src/mcs/class/corlib/System.Resources/ResourceManager.cs:439
at System.Resources.ResourceManager.InternalGetResourceSet
(System.Globalization.CultureInfo culture, Boolean createIfNotExists,
Boolean tryParents) [0x00209] in
/home/l/桌面/mono_src/mcs/class/corlib/System.Resources/ResourceManager.cs:430
at System.Resources.ResourceManager.InternalGetResourceSet
(System.Globalization.CultureInfo culture, Boolean createIfNotExists,
Boolean tryParents) [0x00209] in
/home/l/桌面/mono_src/mcs/class/corlib/System.Resources/ResourceManager.cs:430
at System.Resources.ResourceManager.GetString (System.String name,
System.Globalization.CultureInfo culture) [0x0002e] in
/home/l/桌面/mono_src/mcs/class/corlib/System.Resources/ResourceManager.cs:252
at MySql.Data.MySqlClient.Properties.Resources.get_AuthenticationFailed ()
[0x00000] in <filename unknown>:0
at
MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed
(System.Exception ex) [0x00000] in <filename unknown>:0
at
MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket
() [0x00000] in <filename unknown>:0
at
MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate
(Boolean reset) [0x00000] in <filename unknown>:0
at MySql.Data.MySqlClient.NativeDriver.Authenticate (System.String
authMethod, Boolean reset) [0x00000] in <filename unknown>:0
at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] in <filename
unknown>:0
at MySql.Data.MySqlClient.Driver.Open () [0x00000] in <filename unknown>:0
at MySql.Data.MySqlClient.Driver.Create
(MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x00000] in
<filename unknown>:0
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection () [0x00000]
in <filename unknown>:0
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection () [0x00000] in
<filename unknown>:0
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x00000] in
<filename unknown>:0
How to solve it ? Is this a bug?
sorry 4 my bad English.
lth
--
View this message in context: http://mono.1490590.n4.nabble.com/mysql-connector-ArgumentNullException-tp4657666.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list