[Mono-list] xsp more than one app failure

Chris Turchin chris@turchin.net
Sun, 27 Jun 2004 20:06:10 -0700 (PDT)


i got a copy of the bug changes via cc - looks good. i had mailed gonzalo a=
bout
this lasat tuesday, but not heard back and figured it was  just me having t=
he
prob... i added  anohther comment to the  bug too.

--chris
x
On Sun, 27 Jun 2004, Tomasz Soroka wrote:

> I've reopened this bug:
>
> look at:
> http://bugzilla.ximian.com/show_bug.cgi?id=3D55978
>
> for comment and test cases
>
> best
> Tomek
>
> W li=C5=9Bcie z nie, 27-06-2004, godz. 13:17, Tomasz Soroka pisze:
> > So I will add it to bugzilla, because it seems to be still a problem.
> >
> > regards
> > Tomek
> >
> > W li=C5=9Bcie z nie, 27-06-2004, godz. 10:59, Chris Turchin pisze:
> > > hi,
> > >
> > > i am experiencing this as well with mod_mono - i had submimtted it to=
 bugzilla
> > > a while back and it was working again but since thursdsay or so i hav=
e seen
> > > regression  (usinig anon cvs).
> > >
> > > http://bugzilla.ximian.com/show_bug.cgi?id=3D55978
> > >
> > > in my report, i thought it had more to do with a specific control, bu=
t now it
> > > appears indeed to have more to do with multiple webapps.
> > >
> > > regards,
> > > --chris
> > >
> > >
> > >
> > > ps: stack trace:
> > >
> > > Server error in '/blogx' application
> > > Description: Error processing request.
> > >
> > > Error Message: HTTP 500.
> > >
> > > Stack Trace:
> > >
> > > System.NullReferenceException: Object reference not set to an instanc=
e of an
> > > object
> > > in <0x0000f> System.Int32:FindSign
> > > (int&,string,System.Globalization.NumberFormatInfo,bool&,bool&)
> > > in <0x00427> System.Int32:Parse
> > > (string,System.Globalization.NumberStyles,System.IFormatProvider)
> > > in <0x00013> System.Int32:Parse (string,System.IFormatProvider)
> > > in <0x00019> System.Convert:ToInt32 (string,System.IFormatProvider)
> > > in <0x0000e> System.String:System.IConvertible.ToInt32 (System.IForma=
tProvider)
> > > in <0x00473> System.Convert:ToType (object,System.Type,System.IFormat=
Provider)
> > > in <0x00069> System.Convert:ChangeType (object,System.Type)
> > > in <0x0020d>
> > > System.Web.Compilation.TemplateControlCompiler:GetExpressionFromStrin=
g
> > > (System.Type,string)
> > > in <0x000e9>
> > > System.Web.Compilation.TemplateControlCompiler:AddCodeForPropertyOrFi=
eld
> > > (System.Web.UI.ControlBuilder,System.Type,string,string,bool)
> > > in <0x001e3>
> > > System.Web.Compilation.TemplateControlCompiler:ProcessPropertiesAndFi=
elds
> > > (System.Web.UI.ControlBuilder,System.Reflection.MemberInfo,string,str=
ing)
> > > in <0x003e0>
> > > System.Web.Compilation.TemplateControlCompiler:CreateAssignStatements=
FromAttributes
> > > (System.Web.UI.ControlBuilder)
> > > in <0x0014b> System.Web.Compilation.TemplateControlCompiler:CreateCon=
trolTree
> > > (System.Web.UI.ControlBuilder,bool,bool)
> > > in <0x00494> System.Web.Compilation.TemplateControlCompiler:CreateCon=
trolTree
> > > (System.Web.UI.ControlBuilder,bool,bool)
> > > in <0x00494> System.Web.Compilation.TemplateControlCompiler:CreateCon=
trolTree
> > > (System.Web.UI.ControlBuilder,bool,bool)
> > > in <0x00494> System.Web.Compilation.TemplateControlCompiler:CreateCon=
trolTree
> > > (System.Web.UI.ControlBuilder,bool,bool)
> > > in <0x00050> System.Web.Compilation.TemplateControlCompiler:CreateMet=
hods ()
> > > in <0x0000a> System.Web.Compilation.PageCompiler:CreateMethods ()
> > > in <0x00148> System.Web.Compilation.BaseCompiler:GetCompiledType ()
> > > in <0x00251> System.Web.Compilation.AspGenerator:GetCompiledType ()
> > > in <0x00036> System.Web.UI.PageParser:CompileIntoType ()
> > > in <0x00018> System.Web.UI.TemplateControlParser:GetCompiledInstance =
()
> > > in <0x00050> System.Web.UI.PageParser:GetCompiledPageInstance
> > > (string,string,System.Web.HttpContext)
> > > in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler
> > > (System.Web.HttpContext,string,string,string)
> > > in <0x00337> System.Web.HttpApplication:CreateHttpHandler
> > > (System.Web.HttpContext,string,string,string)
> > > in <0x0011f> CreateHandlerState:Execute ()
> > > in <0x00084> StateMachine:ExecuteState
> > > (System.Web.HttpApplication/IStateHandler,bool&)
> > >
> > >
> > > On Sun, 27 Jun 2004, Tomasz Soroka wrote:
> > >
> > > > I have problem with xsp since beta 3
> > > >
> > > > it's also in rc1, so look at this:
> > > >
> > > > All apps work properly, when I run them as standalone - for example=
:
> > > >
> > > >  mono /usr/bin/xsp.exe  --root . --applications /www:possibleWWW
> > > >
> > > >
> > > > Problem is when I try run more than one app with xsp
> > > >
> > > >  mono /usr/bin/xsp.exe  --root . --applications
> > > > /www:possibleWWW,/test:t1/
> > > >
> > > > first app is my homepage and second is a xsp testing pages - from x=
sp
> > > > installation. My homepage is written with using vs.net and compiled=
 with
> > > > mono.It uses firebird .net assembly compiled also with mono.
> > > >
> > > > when I first call /test 1 in browser
> > > >
> > > > http://localhost:8080/test
> > > >
> > > > it load properly next when i try call /www
> > > >
> > > > http://localhost:8080/www
> > > >
> > > > i get stacktrace (this app standaolne works perfectly)
> > > >
> > > >
> > > > Description: Error processing request.
> > > >
> > > > Error Message: HTTP 500.
> > > >
> > > > Stack Trace:
> > > > System.NullReferenceException: Object reference not set to an insta=
nce of an object
> > > > in <0x0000f> System.Int32:FindSign (int&,string,System.Globalizatio=
n.NumberFormatInfo,bool&,bool&)
> > > > in <0x00427> System.Int32:Parse (string,System.Globalization.Number=
Styles,System.IFormatProvider)
> > > > in <0x00013> System.Int32:Parse (string,System.IFormatProvider)
> > > > in <0x00019> System.Convert:ToInt32 (string,System.IFormatProvider)
> > > > in <0x0000e> System.String:System.IConvertible.ToInt32 (System.IFor=
matProvider)
> > > > in <0x00473> System.Convert:ToType (object,System.Type,System.IForm=
atProvider)
> > > > in <0x00069> System.Convert:ChangeType (object,System.Type)
> > > > in <0x0020d> System.Web.Compilation.TemplateControlCompiler:GetExpr=
essionFromString (System.Type,string)
> > > > in <0x000e9> System.Web.Compilation.TemplateControlCompiler:AddCode=
ForPropertyOrField (System.Web.UI.ControlBuilder,System.Type,string,string,=
bool)
> > > > in <0x001e3> System.Web.Compilation.TemplateControlCompiler:Process=
PropertiesAndFields (System.Web.UI.ControlBuilder,System.Reflection.MemberI=
nfo,string,string)
> > > > in <0x003e0> System.Web.Compilation.TemplateControlCompiler:CreateA=
ssignStatementsFromAttributes (System.Web.UI.ControlBuilder)
> > > > in <0x0014b> System.Web.Compilation.TemplateControlCompiler:CreateC=
ontrolTree (System.Web.UI.ControlBuilder,bool,bool)
> > > > in <0x00494> System.Web.Compilation.TemplateControlCompiler:CreateC=
ontrolTree (System.Web.UI.ControlBuilder,bool,bool)
> > > > in <0x00494> System.Web.Compilation.TemplateControlCompiler:CreateC=
ontrolTree (System.Web.UI.ControlBuilder,bool,bool)
> > > > in <0x00050> System.Web.Compilation.TemplateControlCompiler:CreateM=
ethods ()
> > > > in <0x0000a> System.Web.Compilation.PageCompiler:CreateMethods ()
> > > > in <0x00148> System.Web.Compilation.BaseCompiler:GetCompiledType ()
> > > > in <0x00251> System.Web.Compilation.AspGenerator:GetCompiledType ()
> > > > in <0x00036> System.Web.UI.PageParser:CompileIntoType ()
> > > > in <0x00018> System.Web.UI.TemplateControlParser:GetCompiledInstanc=
e ()
> > > > in <0x00050> System.Web.UI.PageParser:GetCompiledPageInstance (stri=
ng,string,System.Web.HttpContext)
> > > > in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler (System.We=
b.HttpContext,string,string,string)
> > > > in <0x00337> System.Web.HttpApplication:CreateHttpHandler (System.W=
eb.HttpContext,string,string,string)
> > > > in <0x0011f> CreateHandlerState:Execute ()
> > > > in <0x00084> StateMachine:ExecuteState (System.Web.HttpApplication/=
IStateHandler,bool&)
> > > >
> > > >
> > > > Interesting is that when after run xsp
> > > >
> > > > I first run /www app and then i will call /test app both works prop=
erly!
> > > >
> > > >
> > > > ---
> > > >
> > > > Second situation is more strange. It happens when I try run two my =
own
> > > > apps. Every app work perfectly standalone, but when i run them as:
> > > >
> > > >  mono /usr/bin/xsp.exe  --root . --applications
> > > > /www:possibleWWW,/dev:possibleDev/
> > > >
> > > >
> > > > when I first call /www it loads perfectly, but when after that i tr=
y run
> > > > second app (/dev) i got error:
> > > >
> > > > Server error in '/dev' application
> > > >
> > > > ___________________________________________________________________=
_____
> > > > Description: Error processing request.
> > > >
> > > > Error Message: HTTP 500.
> > > >
> > > > Stack Trace:
> > > > System.Reflection.TargetInvocationException: Exception has been thr=
own by the target of an invocation. ---> System.FormatException: Error pars=
ing 200px
> > > > in <0x0026c> System.Web.UI.WebControls.Unit:.ctor (string,System.Gl=
obalization.CultureInfo,System.Web.UI.WebControls.UnitType)
> > > > in <0x00015> System.Web.UI.WebControls.Unit:.ctor (string,System.Gl=
obalization.CultureInfo)
> > > > in <0x00023> System.Web.UI.WebControls.Unit:.ctor (string)
> > > > in <0x0005b> possibleDev.Ctrls.DevLanguages:.ctor ()
> > > > in <0x00021> possibleDev.WebForm1:.ctor ()
> > > > in <0x0000a> ASP.index_aspx:.ctor ()
> > > > in (unmanaged) (wrapper managed-to-native) System.Reflection.MonoCM=
ethod:InternalInvoke (object,object[])
> > > > in <0x00004> (wrapper managed-to-native) System.Reflection.MonoCMet=
hod:InternalInvoke (object,object[])
> > > > in <0x00097> System.Reflection.MonoCMethod:Invoke (object,System.Re=
flection.BindingFlags,System.Reflection.Binder,object[],System.Globalizatio=
n.CultureInfo)
> > > > --- End of inner exception stack trace ---
> > > >
> > > > in <0x000fb> System.Reflection.MonoCMethod:Invoke (object,System.Re=
flection.BindingFlags,System.Reflection.Binder,object[],System.Globalizatio=
n.CultureInfo)
> > > > in <0x0001d> System.Reflection.MonoCMethod:Invoke (System.Reflectio=
n.BindingFlags,System.Reflection.Binder,object[],System.Globalization.Cultu=
reInfo)
> > > > in <0x00044> System.Reflection.ConstructorInfo:Invoke (object[])
> > > > in <0x00153> System.Activator:CreateInstance (System.Type,bool)
> > > > in <0x00010> System.Activator:CreateInstance (System.Type)
> > > > in <0x0002e> System.Web.UI.TemplateControlParser:GetCompiledInstanc=
e ()
> > > > in <0x00050> System.Web.UI.PageParser:GetCompiledPageInstance (stri=
ng,string,System.Web.HttpContext)
> > > > in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler (System.We=
b.HttpContext,string,string,string)
> > > > in <0x00337> System.Web.HttpApplication:CreateHttpHandler (System.W=
eb.HttpContext,string,string,string)
> > > > in <0x0011f> CreateHandlerState:Execute ()
> > > >
> > > >
> > > > When after run xsp I first call /dev app it loads and works perfect=
ly,
> > > > but when i try run second app (/www) i got error:
> > > >
> > > >
> > > > Server error in '/www' application
> > > >
> > > > ___________________________________________________________________=
_____
> > > > Description: Error processing request.
> > > >
> > > > Error Message: HTTP 500.
> > > >
> > > > Stack Trace:
> > > > System.NullReferenceException: Object reference not set to an insta=
nce of an object
> > > > in <0x0000f> System.Int32:FindSign (int&,string,System.Globalizatio=
n.NumberFormatInfo,bool&,bool&)
> > > > in <0x00427> System.Int32:Parse (string,System.Globalization.Number=
Styles,System.IFormatProvider)
> > > > in <0x00013> System.Int32:Parse (string,System.IFormatProvider)
> > > > in <0x00019> System.Convert:ToInt32 (string,System.IFormatProvider)
> > > > in <0x0000e> System.String:System.IConvertible.ToInt32 (System.IFor=
matProvider)
> > > > in <0x00473> System.Convert:ToType (object,System.Type,System.IForm=
atProvider)
> > > > in <0x00069> System.Convert:ChangeType (object,System.Type)
> > > > in <0x0020d> System.Web.Compilation.TemplateControlCompiler:GetExpr=
essionFromString (System.Type,string)
> > > > in <0x000e9> System.Web.Compilation.TemplateControlCompiler:AddCode=
ForPropertyOrField (System.Web.UI.ControlBuilder,System.Type,string,string,=
bool)
> > > > in <0x001e3> System.Web.Compilation.TemplateControlCompiler:Process=
PropertiesAndFields (System.Web.UI.ControlBuilder,System.Reflection.MemberI=
nfo,string,string)
> > > > in <0x003e0> System.Web.Compilation.TemplateControlCompiler:CreateA=
ssignStatementsFromAttributes (System.Web.UI.ControlBuilder)
> > > > in <0x0014b> System.Web.Compilation.TemplateControlCompiler:CreateC=
ontrolTree (System.Web.UI.ControlBuilder,bool,bool)
> > > > in <0x00494> System.Web.Compilation.TemplateControlCompiler:CreateC=
ontrolTree (System.Web.UI.ControlBuilder,bool,bool)
> > > > in <0x00494> System.Web.Compilation.TemplateControlCompiler:CreateC=
ontrolTree (System.Web.UI.ControlBuilder,bool,bool)
> > > > in <0x00050> System.Web.Compilation.TemplateControlCompiler:CreateM=
ethods ()
> > > > in <0x0000a> System.Web.Compilation.PageCompiler:CreateMethods ()
> > > > in <0x00148> System.Web.Compilation.BaseCompiler:GetCompiledType ()
> > > > in <0x00251> System.Web.Compilation.AspGenerator:GetCompiledType ()
> > > > in <0x00036> System.Web.UI.PageParser:CompileIntoType ()
> > > > in <0x00018> System.Web.UI.TemplateControlParser:GetCompiledInstanc=
e ()
> > > > in <0x00050> System.Web.UI.PageParser:GetCompiledPageInstance (stri=
ng,string,System.Web.HttpContext)
> > > > in <0x00011> System.Web.UI.PageHandlerFactory:GetHandler (System.We=
b.HttpContext,string,string,string)
> > > > in <0x00337> System.Web.HttpApplication:CreateHttpHandler (System.W=
eb.HttpContext,string,string,string)
> > > > in <0x0011f> CreateHandlerState:Execute ()
> > > > in <0x00084> StateMachine:ExecuteState (System.Web.HttpApplication/=
IStateHandler,bool&)
> > > >
> > > >
> > > > ___________________________________________________________________=
_____
> > > >
> > > > As I mentioned before both apps works very vell with xsp standalone=
=2E
> > > >
> > > > I have no Idea what's wrong, but this error wasn't before mono beta=
 3.
> > > >
> > > > regards
> > > > Tomek
> > > >
> > > >
> > > > _______________________________________________
> > > > Mono-list maillist  -  Mono-list@lists.ximian.com
> > > > http://lists.ximian.com/mailman/listinfo/mono-list
> > > >
> > > _______________________________________________
> > > Mono-list maillist  -  Mono-list@lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
>
>