[Mono-bugs] [Bug 76569][Nor] New - Compilation breaks because of accessing properties

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Oct 27 12:04:26 EDT 2005


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 jwezel at compumaster.de.

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

--- shadow/76569	2005-10-27 12:04:26.000000000 -0400
+++ shadow/76569.tmp.6901	2005-10-27 12:04:26.000000000 -0400
@@ -0,0 +1,150 @@
+Bug#: 76569
+Product: Mono: Compilers
+Version: 1.1
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Basic
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: jwezel at compumaster.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Compilation breaks because of accessing properties
+
+Description of Problem:
+Compilation breaks down for this web page
+Server Error in '/' Application
+
+---------------------------------------------------------------------------
+-----
+
+Compilation Error
+Description: Error compiling a resource required to service this request. 
+Review your source file and modify it to fix this error. 
+Error message: /tmp/root-temp-aspnet-0/128f04f9/40757.0.vb(76,13) : error 
+BC30524: Property 'TraceModeValue' lacks a 'set' accesor /tmp/root-temp-
+aspnet-0/128f04f9/40757.0.vb(55,27) : error BC30524: Property 'Context' 
+lacks a 'get' accesor 
+
+File name: /mono-dev/wwwroot/73884.aspx
+
+Source File: /tmp/root-temp-aspnet-0/128f04f9/40757.0.vb 
+
+Line 1: ' -----------------------------------------------------------------
+-------------
+Line 2: '  <autogenerated>
+Line 3: '      This code was generated by a tool.
+Line 4: '      Mono Runtime Version: 1.1.4322.573
+Line 5: ' 
+Line 6: '      Changes to this file may cause incorrect behavior and will 
+be lost if 
+Line 7: '      the code is regenerated.
+Line 8: '  </autogenerated>
+Line 9: ' -----------------------------------------------------------------
+-------------
+Line 10: 
+Line 11: Option Explicit Off
+Line 12: Option Strict Off
+Line 13: 
+Line 14: Imports System
+Line 15: Imports System.Collections
+Line 16: Imports System.Collections.Specialized
+Line 17: Imports System.Configuration
+Line 18: Imports System.Text
+Line 19: Imports System.Text.RegularExpressions
+Line 20: Imports System.Web
+Line 21: Imports System.Web.Caching
+Line 22: Imports System.Web.Security
+Line 23: Imports System.Web.SessionState
+Line 24: Imports System.Web.UI
+Line 25: Imports System.Web.UI.WebControls
+Line 26: Imports System.Web.UI.HtmlControls
+Line 27: 
+Line 28: Namespace ASP
+Line 29:     Public Class _73884_aspx
+Line 30:         Inherits System.Web.UI.Page
+Line 31:         Implements System.Web.SessionState.IRequiresSessionState
+Line 32:         
+Line 33:         Private Shared __intialized As Boolean = false
+Line 34:         
+Line 35:         Private Shared __autoHandlers As Integer
+Line 36:         
+Line 37:         Public Sub New()
+Line 38:             MyBase.New()
+Line 39:             If ((ASP._73884_aspx.__intialized = false)) Then
+Line 40:                 ASP._73884_aspx.__intialized = true
+Line 41:             End If
+Line 42:         End Sub
+Line 43:         
+Line 44:         Protected Overrides Property AutoHandlers As Integer
+Line 45:             Get
+Line 46:                 Return ASP._73884_aspx.__autoHandlers
+Line 47:             End Get
+Line 48:             Set
+Line 49:                 ASP._73884_aspx.__autoHandlers = Value
+Line 50:             End Set
+Line 51:         End Property
+Line 52:         
+Line 53:         Protected ReadOnly Property ApplicationInstance As 
+System.Web.HttpApplication
+Line 54:             Get
+Line 55:                 Return CType(Me.Context.ApplicationInstance, 
+System.Web.HttpApplication)
+Line 56:             End Get
+Line 57:         End Property
+Line 58:         
+Line 59:         Public Overrides ReadOnly Property 
+TemplateSourceDirectory As String
+Line 60:             Get
+Line 61:                 Return "/"
+Line 62:             End Get
+Line 63:         End Property
+Line 64:         
+Line 65:         Private Sub __RenderTree(ByVal __output As 
+System.Web.UI.HtmlTextWriter, ByVal parameterContainer As 
+System.Web.UI.Control)
+Line 66:             __output.Write("test=")
+Line 67:             __output.Write( Request("test") )
+Line 68:             __output.Write(""&Microsoft.VisualBasic.ChrW(10))
+Line 69:         End Sub
+Line 70:         
+Line 71:         Private Sub __BuildControlTree(ByVal __ctrl As 
+System.Web.UI.Control)
+Line 72:             __ctrl.SetRenderMethodDelegate(AddressOf 
+Me.__RenderTree)
+Line 73:         End Sub
+Line 74:         
+Line 75:         Protected Overrides Sub FrameworkInitialize()
+Line 76:             Me.TraceModeValue = System.Web.TraceMode.SortByTime
+Line 77:             Me.__BuildControlTree(Me)
+Line 78:         End Sub
+Line 79:         
+Line 80:         Public Overrides Function GetTypeHashCode() As Integer
+Line 81:             Return 757301856
+Line 82:         End Function
+Line 83:     End Class
+Line 84: End Namespace
+
+This is the simple content of my ASP page:
+[root at lwezel wwwroot]# cat 73884.aspx
+test=<%= Request("test") %>
+[root at lwezel wwwroot]# 
+
+Steps to reproduce the problem:
+1. Open that page with XSP
+
+Actual Results:
+compilation fails
+
+Expected Results:
+compilation should run fine
+
+How often does this happen? 
+always
+
+Additional Information:


More information about the mono-bugs mailing list