[Mono-list] Mono Culture problem (XSP 0.8)

Stanislav Neuberger stas@okean.de
Wed, 10 Dec 2003 18:33:34 +0100


Hi,

If I add " Culture="ru-RU" UICulture="ru-RU" arguments to my Page
declaration I receive following error message in my aspx page response:

Description: Error processing request. 
Error Message: 

Stack Trace: System.NullReferenceException: A null value was found where an
object instance was required
in <0x000db> ByteFX.Data.Common.MultiHostStream:ProcessHosts
(string,int,int)
in <0x00073> (wrapper remoting-invoke-with-check)
ByteFX.Data.Common.MultiHostStream:ProcessHosts (string,int,int)
in <0x0002b> ByteFX.Data.Common.MultiHostStream:.ctor (string,int,int,int)
in <0x00016> ByteFX.Data.MySqlClient.MySqlStream:.ctor (string,int,int,int)
in <0x00081> (wrapper remoting-invoke-with-check)
ByteFX.Data.MySqlClient.MySqlStream:.ctor (string,int,int,int)
in <0x0007c> ByteFX.Data.MySqlClient.Driver:Open
(ByteFX.Data.MySqlClient.MySqlConnectionString)
in <0x0003f> ByteFX.Data.MySqlClient.MySqlInternalConnection:Open ()
in <0x000fa> ByteFX.Data.MySqlClient.MySqlPool:CreateNewPooledConnection ()
in <0x00230> ByteFX.Data.MySqlClient.MySqlPool:GetPooledConnection ()
in <0x00054> ByteFX.Data.MySqlClient.MySqlPool:GetConnection ()
in <0x0011b> ByteFX.Data.MySqlClient.MySqlPoolManager:GetConnection
(ByteFX.Data.MySqlClient.MySqlConnectionString)
in <0x00077> ByteFX.Data.MySqlClient.MySqlConnection:Open ()
in <0x00070> System.Data.Common.DbDataAdapter:Fill
(System.Data.DataSet,int,int,string,System.Data.IDbCommand,System.Data.Comma
ndBehavior)
in <0x0004b> System.Data.Common.DbDataAdapter:Fill
(System.Data.DataSet,string)
in <0x0006b> (wrapper remoting-invoke-with-check)
System.Data.Common.DbDataAdapter:Fill (System.Data.DataSet,string)
in <0x00108> Okean.Orders:GetOrders ()
in <0x00016> ASP.test_aspx:Page_Load (object,System.EventArgs)
in <0x0005a> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
in <0x00090> System.Web.UI.Control:OnLoad (System.EventArgs)
in <0x00031> System.Web.UI.Control:LoadRecursive ()
in <0x00091> System.Web.UI.Page:InternalProcessRequest ()
in <0x0007a> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x00191> .ExecuteHandlerState:Execute ()
in <0x0007d> .StateMachine:ExecuteState
(System.Web.HttpApplication/IStateHandler,bool&)

Page header:
<%@ Page Inherits="Okean.Orders" Language="c#" Debug="true" Culture="ru-RU"
UICulture="ru-RU" %>
<%@ import Namespace="System.Globalization" %>

If I remove culture attributes everything is working. ICU is installed in
version 2.6.1 and mono is compiled with ICU support. There are also no error
or warning messages in the web servers console. The same script is working
fine on windows machine with (Win XP Pro .NET 1.1)

Bug?

Greetings,
Stas