зеркало из https://github.com/mono/mail-archives.git
138 строки
4.6 KiB
HTML
138 строки
4.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 39331][Wis] New - Attempt to create second application host generated error.
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="004157.html">
|
|
<LINK REL="Next" HREF="004159.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 39331][Wis] New - Attempt to create second application host generated error.
|
|
</H1>
|
|
<B>bugzilla-daemon@rocky.ximian.com
|
|
</B>
|
|
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 39331][Wis] New - Attempt to create second application host generated error.">bugzilla-daemon@rocky.ximian.com
|
|
</A><BR>
|
|
<I>Fri, 7 Mar 2003 14:05:34 -0500 (EST)</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="004157.html">[Mono-bugs] [Bug 39280][Nor] Changed - StreamReader.Peek () should throw when base stream is closed
|
|
</A></li>
|
|
<LI> Next message: <A HREF="004159.html">[Mono-bugs] he hit me
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4158">[ date ]</a>
|
|
<a href="thread.html#4158">[ thread ]</a>
|
|
<a href="subject.html#4158">[ subject ]</a>
|
|
<a href="author.html#4158">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>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 <A HREF="mailto:ztashev@openlinksw.co.uk.">ztashev@openlinksw.co.uk.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=39331">http://bugzilla.ximian.com/show_bug.cgi?id=39331</A>
|
|
|
|
--- shadow/39331 Fri Mar 7 14:05:34 2003
|
|
+++ shadow/39331.tmp.32561 Fri Mar 7 14:05:34 2003
|
|
@@ -0,0 +1,74 @@
|
|
+Bug#: 39331
|
|
+Product: Mono/Class Libraries
|
|
+Version: unspecified
|
|
+OS: Red Hat 7.2
|
|
+OS Details:
|
|
+Status: NEW
|
|
+Resolution:
|
|
+Severity:
|
|
+Priority: Wishlist
|
|
+Component: System.Web
|
|
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+ReportedBy: <A HREF="mailto:ztashev@openlinksw.co.uk">ztashev@openlinksw.co.uk</A>
|
|
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+TargetMilestone: ---
|
|
+URL:
|
|
+Cc:
|
|
+Summary: Attempt to create second application host generated error.
|
|
+
|
|
+Please fill in this template when reporting a bug, unless you know what
|
|
+you are doing.
|
|
+Description of Problem:
|
|
+
|
|
+Attempt to create second application host generated error.
|
|
+
|
|
+Steps to reproduce the problem:
|
|
+1. Play attached diff against server.cs (xsp).
|
|
+2.
|
|
+3.
|
|
+
|
|
+Actual Results:
|
|
+On startup is generated error:
|
|
+Unhandled Exception: System.NullReferenceException: A null value was found
|
|
+where n object instance was required
|
|
+
|
|
+Expected Results:
|
|
+Some code on Windows (scs) work fine.
|
|
+
|
|
+How often does this happen?
|
|
+Every time.
|
|
+
|
|
+Additional Information:
|
|
+Boot created domains is not worked property.
|
|
+
|
|
+The diff:
|
|
+Index: server.cs
|
|
+===================================================================
|
|
+RCS file: /mono/xsp/server/server.cs,v
|
|
+retrieving revision 1.7
|
|
+diff -u -r1.7 server.cs
|
|
+--- server.cs 17 Feb 2003 21:03:24 -0000 1.7
|
|
++++ server.cs 7 Mar 2003 18:29:30 -0000
|
|
+@@ -12,6 +12,10 @@
|
|
+ using System.Diagnostics;
|
|
+ using System.IO;
|
|
+ using System.Web.Hosting;
|
|
++using System.Reflection;
|
|
++using System.Runtime.CompilerServices;
|
|
++
|
|
++[assembly: AssemblyKeyFile(@"test.snk")]
|
|
+
|
|
+ namespace Mono.ASPNET
|
|
+ {
|
|
+@@ -87,7 +91,9 @@
|
|
+
|
|
+ Type type = typeof (XSPApplicationHost);
|
|
+ XSPApplicationHost host;
|
|
++ XSPApplicationHost host2;
|
|
+ host = (XSPApplicationHost)
|
|
+ApplicationHost.CreateApplicationHost (type, virtualDir, rootDir);
|
|
++ host2 = (XSPApplicationHost)
|
|
+ApplicationHost.CreateApplicationHost (type, "/virtdir2", rootDir);
|
|
+ host.SetListenAddress (port);
|
|
+
|
|
+ Console.WriteLine ("Listening on port: {0}", port);
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="004157.html">[Mono-bugs] [Bug 39280][Nor] Changed - StreamReader.Peek () should throw when base stream is closed
|
|
</A></li>
|
|
<LI> Next message: <A HREF="004159.html">[Mono-bugs] he hit me
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4158">[ date ]</a>
|
|
<a href="thread.html#4158">[ thread ]</a>
|
|
<a href="subject.html#4158">[ subject ]</a>
|
|
<a href="author.html#4158">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|