[Mono-bugs] [Bug 58632][Blo] New - XSP Crashes with NullReferenceException

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 18 May 2004 01:56:37 -0400 (EDT)


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 breiter@wolfereiter.com.

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

--- shadow/58632	2004-05-18 01:56:37.000000000 -0400
+++ shadow/58632.tmp.18932	2004-05-18 01:56:37.000000000 -0400
@@ -0,0 +1,145 @@
+Bug#: 58632
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Windows XP SP1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: breiter@wolfereiter.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: XSP Crashes with NullReferenceException
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Clean install of Mono 0.91 w/ no other version of mono present
+2. Compile XPS-0.13 on Windows XP w/ Mono 0.91
+3. Run XSP w/ any ASP.NET code including the bundled test
+
+
+Actual Results:
+XSP crashes with a NullReferenceException and a message that my Mono 
+installation may be broken.
+
+This application has requested the Runtime to terminate it in an unusual 
+way.
+Please contact the application's support team for more information.
+
+Expected Results:
+Execution of ASPX pages should return HTML to a browser on 
+http://localhost:8080
+
+How often does this happen? 
+Always.
+
+Additional Information:
+
+>cd xsp-0.13\test
+
+>mono d:\xsp-0.13\server\xsp.exe
+Listening on port: 8080
+Listening on address: 0.0.0.0
+Root directory: D:\xsp-0.13\test
+Hit Return to stop the server.
+
+** (d:\xsp-0.13\server\xsp.exe:6692): WARNING **: cant resolve internal 
+call to "System.Environment::GetOSVersionString(
+)" (tested without signature also)
+
+Your mono runtime and class libraries are out of sync.
+The out of sync library is: C:\Program Files\Mono-0.91\lib\mscorlib.dll
+
+When you update one from cvs you need to update, compile and install
+the other too.
+Do not report this as a bug unless you're sure you have updated correctly:
+you probably have a broken mono install.
+If you see other errors or faults after this message they are probably 
+related
+and you need to fix your mono install first.
+
+** (d:\xsp-0.13\server\xsp.exe:6692): WARNING **: cant resolve internal 
+call to "System.Environment::GetOSVersionString(
+)" (tested without signature also)
+
+Your mono runtime and class libraries are out of sync.
+The out of sync library is: C:\Program Files\Mono-0.91\lib\mscorlib.dll
+
+When you update one from cvs you need to update, compile and install
+the other too.
+Do not report this as a bug unless you're sure you have updated correctly:
+you probably have a broken mono install.
+If you see other errors or faults after this message they are probably 
+related
+and you need to fix your mono install first.
+System.Reflection.TargetInvocationException: Exception has been thrown by 
+the target of an invocation.
+
+Server stack trace:
+in <0x000b3> System.Reflection.MonoCMethod:Invoke 
+(object,System.Reflection.BindingFlags,System.Reflection.Binder,object
+[],System.Globalization.CultureInfo)
+in <0x00021> System.Reflection.MethodBase:Invoke (object,object[])
+in <0x001de> System.Runtime.Serialization.ObjectRecord:LoadData 
+(System.Runtime.Serialization.ObjectManager,System.Runti
+me.Serialization.ISurrogateSelector,System.Runtime.Serialization.Streaming
+Context)
+in <0x000ef> System.Runtime.Serialization.ObjectManager:DoFixups ()
+in <0x00028> 
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNextObject
+ (System.IO.BinaryReader)
+in <0x000ac> 
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectGrap
+h (System.IO.BinaryReader,bool,ob
+ject&,System.Runtime.Remoting.Messaging.Header[]&)
+in <0x0014f> 
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
+ (System.IO.Stream,System.Runtime
+.Remoting.Messaging.HeaderHandler)
+in <0x00013> 
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
+ (System.IO.Stream)
+in <0x0004f> 
+System.Runtime.Remoting.Channels.CADSerializer:DeserializeObject 
+(System.IO.MemoryStream)
+in <0x0003e> 
+System.Runtime.Remoting.Messaging.CADMethodReturnMessage:GetArguments ()
+in <0x0006a> System.Runtime.Remoting.Messaging.MethodResponse:.ctor 
+(System.Runtime.Remoting.Messaging.IMethodCallMessag
+e,System.Runtime.Remoting.Messaging.CADMethodReturnMessage)
+in <0x003c4> 
+System.Runtime.Remoting.Channels.CrossAppDomainSink:SyncProcessMessage 
+(System.Runtime.Remoting.Messaging.I
+Message)
+
+
+Exception rethrown at [0]:
+ ---> System.NullReferenceException: Object reference not set to an 
+instance of an object
+in <0x0005d> System.MissingMemberException:.ctor 
+(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serializ
+ation.StreamingContext)
+in <0x0001d> System.MissingMethodException:.ctor 
+(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serializ
+ation.StreamingContext)
+in (unmanaged) (wrapper managed-to-native) 
+System.Reflection.MonoCMethod:InternalInvoke (object,object[])
+in <0x00004> (wrapper managed-to-native) 
+System.Reflection.MonoCMethod:InternalInvoke (object,object[])
+in <0x00077> System.Reflection.MonoCMethod:Invoke 
+(object,System.Reflection.BindingFlags,System.Reflection.Binder,object
+[],System.Globalization.CultureInfo)
+--- End of inner exception stack trace ---
+
+in <0x001c0> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke 
+(System.Runtime.Remoting.Proxies.RealProxy,System.R
+untime.Remoting.Messaging.IMessage,System.Exception&,object[]&)