[Mono-bugs] [Bug 78990][Cri] New - DNS Class Fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 1 12:59:16 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by david_garcia at logitech.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78990

--- shadow/78990	2006-08-01 12:59:16.000000000 -0400
+++ shadow/78990.tmp.11569	2006-08-01 12:59:16.000000000 -0400
@@ -0,0 +1,91 @@
+Bug#: 78990
+Product: Mono: Class Libraries
+Version: 1.0
+OS: Solaris 8
+OS Details: Sparc
+Status: NEW   
+Resolution: 
+Severity: 040 One week
+Priority: Critical
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: david_garcia at logitech.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DNS Class Fails
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+MySQL lib for mono fails on Solaris 8 on Sparc when trying to connect to 
+database. The problem stems from a failure of the DNS class to resolve. If 
+you have the source code the bug can be tracked down to the StreamCreator 
+Class in MySQL Source. the GetStream Function fails because DNS."anything" 
+fails to resolve. I tried several different dns member functions but they 
+all fail.
+
+Failure: MySql.Data.MySqlClient.MySqlException: Unable to connect to any 
+of the specified MySQL hosts ---> System.TypeInitializationException: An 
+exception was thrown by the type initializer for System.Net.Dns ---> 
+System.NullReferenceException: Object reference not set to an instance of 
+an object
+  at System.Configuration.SectionInfo..ctor () [0x00000]
+  at System.Configuration.SectionGroupInfo.ReadConfig 
+(System.Configuration.Configuration cfg, System.String streamName, 
+System.Xml.XmlTextReader reader) [0x00000]
+  at System.Configuration.Configuration.ReadConfigFile 
+(System.Xml.XmlTextReader reader, System.String fileName) [0x00000]
+  at System.Configuration.Configuration.Load () [0x00000]
+  at System.Configuration.Configuration.Init (IConfigSystem system, 
+System.String configPath, System.Configuration.Configuration parent) 
+[0x00000]
+  at System.Configuration.Configuration..ctor 
+(System.Configuration.InternalConfigurationSystem system, System.String 
+locationSubPath) [0x00000]
+  at System.Configuration.Configuration..ctor 
+(System.Configuration.InternalConfigurationSystem system, System.String 
+locationSubPath) [0x00000]
+  at System.Configuration.Configuration..ctor 
+(System.Configuration.InternalConfigurationSystem system, System.String 
+locationSubPath) [0x00000]
+  at System.Configuration.Configuration..ctor 
+(System.Configuration.InternalConfigurationSystem system, System.String 
+locationSubPath) [0x00000]
+  at System.Configuration.InternalConfigurationFactory.Create (System.Type 
+typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000]
+  at 
+System.Configuration.ConfigurationManager.OpenExeConfigurationInternal 
+(ConfigurationUserLevel userLevel, System.Reflection.Assembly 
+calling_assembly, System.String exePath) [0x00000]
+  at 
+System.Configuration.ClientConfigurationSystem.System.Configuration.Interna
+l.IInternalConfigSystem.GetSection (System.String configKey) [0x00000]
+  at System.Configuration.ConfigurationManager.GetSection (System.String 
+sectionName) [0x00000]
+  at System.Net.Sockets.Socket.CheckProtocolSupport () [0x00000]
+  at System.Net.Dns..cctor () [0x00000] 
+
+
+
+--- End of inner exception stack trace ---
+
+  at <0x00000> <unknown method>
+  at MySql.Data.Common.StreamCreator.GetStream (Int32 timeOut) [0x00000]
+  at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] --- End of 
+inner exception stack trace ---
+
+  at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000]
+  at MySql.Data.MySqlClient.Driver.Create 
+(MySql.Data.MySqlClient.MySqlConnectionString settings) [0x00000]
+  at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection () 
+[0x00000]
+  at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection () [0x00000]
+  at MySql.Data.MySqlClient.MySqlPool.GetConnection () [0x00000]
+  at MySql.Data.MySqlClient.MySqlPoolManager.GetConnection 
+(MySql.Data.MySqlClient.MySqlConnectionString settings) [0x00000]
+  at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000]
+->Failure: An exception was thrown by the type initializer for 
+System.Net.Dns


More information about the mono-bugs mailing list