[Mono-bugs] [Bug 81876][Nor] New - ASP.NET pages suffer ArgumentNullException with OutputCache

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 14 19:28:52 EDT 2007


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 brian.nickel at gmail.com.

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

--- shadow/81876	2007-06-14 19:28:52.000000000 -0400
+++ shadow/81876.tmp.10555	2007-06-14 19:28:52.000000000 -0400
@@ -0,0 +1,81 @@
+Bug#: 81876
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com                            
+ReportedBy: brian.nickel at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ASP.NET pages suffer ArgumentNullException with OutputCache
+
+<%@OutputCache Duration="60" VaryByParam="none" %>
+
+C# pages compile fine, VB pages get an argument null exception and return a
+status of 500:
+
+System.ArgumentNullException: Argument cannot be null.
+Parameter name: Value cannot be null.
+  at System.CodeDom.Compiler.CodeGenerator.GenerateExpression
+(System.CodeDom.CodeExpression e) [0x00000] 
+  at
+Microsoft.VisualBasic.VBCodeGenerator.GenerateMethodReferenceExpression
+(System.CodeDom.CodeMethodReferenceExpression expression) [0x00000] 
+  at Microsoft.VisualBasic.VBCodeGenerator.GenerateMethodInvokeExpression
+(System.CodeDom.CodeMethodInvokeExpression expression) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateExpression
+(System.CodeDom.CodeExpression e) [0x00000] 
+  at Microsoft.VisualBasic.VBCodeGenerator.GenerateExpressionStatement
+(System.CodeDom.CodeExpressionStatement statement) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateStatement
+(System.CodeDom.CodeStatement s) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateStatements
+(System.CodeDom.CodeStatementCollection c) [0x00000] 
+  at Microsoft.VisualBasic.VBCodeGenerator.GenerateMethod
+(System.CodeDom.CodeMemberMethod method, System.CodeDom.CodeTypeDeclaration
+declaration) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateType
+(System.CodeDom.CodeTypeDeclaration type) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateTypes
+(System.CodeDom.CodeNamespace e) [0x00000] 
+  at Microsoft.VisualBasic.VBCodeGenerator.GenerateNamespace
+(System.CodeDom.CodeNamespace ns) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateNamespaces
+(System.CodeDom.CodeCompileUnit e) [0x00000] 
+  at Microsoft.VisualBasic.VBCodeGenerator.GenerateCompileUnit
+(System.CodeDom.CodeCompileUnit compileUnit) [0x00000] 
+  at
+System.CodeDom.Compiler.CodeGenerator.System.CodeDom.Compiler.ICodeGenerator.GenerateCodeFromCompileUnit
+(System.CodeDom.CodeCompileUnit compileUnit, System.IO.TextWriter output,
+System.CodeDom.Compiler.CodeGeneratorOptions options) [0x00000] 
+  at Microsoft.VisualBasic.VBCodeCompiler.CompileFromDomBatch
+(System.CodeDom.Compiler.CompilerParameters options,
+System.CodeDom.CodeCompileUnit[] ea) [0x00000] 
+  at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromDomBatch
+(System.CodeDom.Compiler.CompilerParameters options,
+System.CodeDom.CodeCompileUnit[] ea) [0x00000] 
+  at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromDom
+(System.CodeDom.Compiler.CompilerParameters options,
+System.CodeDom.CodeCompileUnit e) [0x00000] 
+  at System.Web.Compilation.CachingCompiler.Compile
+(System.Web.Compilation.BaseCompiler compiler) [0x00000] 
+  at System.Web.Compilation.BaseCompiler.GetCompiledType () [0x00000] 
+  at System.Web.Compilation.AspGenerator.GetCompiledType () [0x00000] 
+  at System.Web.UI.PageParser.CompileIntoType () [0x00000] 
+  at System.Web.UI.TemplateControlParser.GetCompiledInstance () [0x00000] 
+  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
+virtualPath, System.String inputFile, System.Web.HttpContext context)
+[0x00000] 
+  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext
+context, System.String requestType, System.String url, System.String path)
+[0x00000] 
+  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context)
+[0x00000] 
+  at System.Web.HttpApplication+<>c__CompilerGenerated1.MoveNext () [0x00000]


More information about the mono-bugs mailing list