Bug #95242 | NULL reference exception on open() method of MySql.Data.MySqlClient.MySqlConnect | ||
---|---|---|---|
Submitted: | 3 May 2019 16:26 | Modified: | 7 May 2019 15:54 |
Reporter: | Frantz ROCHARD | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 8.0.16 | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[3 May 2019 16:26]
Frantz ROCHARD
[7 May 2019 13:53]
MySQL Verification Team
Please provide a console test case file showing the issue?.
[7 May 2019 15:15]
Frantz ROCHARD
Call stack when crash… mscorlib.dll!System.Attribute.GetCustomAttributes(System.Reflection.Assembly element, System.Type attributeType, bool inherit) mscorlib.dll!System.Attribute.GetCustomAttribute(System.Reflection.Assembly element, System.Type attributeType, bool inherit) mscorlib.dll!System.Reflection.CustomAttributeExtensions.GetCustomAttribute<System.Runtime.Versioning.TargetFrameworkAttribute>(System.Reflection.Assembly element) MySql.Data.dll!MySql.Data.MySqlClient.MySqlConnectAttrs.InitFramework() MySql.Data.dll!MySql.Data.MySqlClient.MySqlConnectAttrs.MySqlConnectAttrs() [Transition Natif à Managé] Frame annoté [Transition Managé à Natif] Frame annoté MySql.Data.dll!MySql.Data.MySqlClient.NativeDriver.SetConnectAttrs() MySql.Data.dll!MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset) MySql.Data.dll!MySql.Data.MySqlClient.NativeDriver.Authenticate(string authMethod, bool reset) MySql.Data.dll!MySql.Data.MySqlClient.NativeDriver.Open() MySql.Data.dll!MySql.Data.MySqlClient.Driver.Open() MySql.Data.dll!MySql.Data.MySqlClient.Driver.Create(MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) MySql.Data.dll!MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() MySql.Data.dll!MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() MySql.Data.dll!MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() MySql.Data.dll!MySql.Data.MySqlClient.MySqlPool.GetConnection() MySql.Data.dll!MySql.Data.MySqlClient.MySqlConnection.Open()
[7 May 2019 15:34]
Frantz ROCHARD
Sorry… the description isn't exact The first call of MySqlConnection.Open() threw null reference exception (at MySqlConnectAttrs.InitFramework()) , but the connection is opened correctly and works…
[7 May 2019 15:54]
Frantz ROCHARD
Sorry … Visual studio intecept the exception, but this exception has no impact to the excecution… Can close the subject.