[Mono-bugs] [Bug 491490] [verifier] throw a MethodAccessException on http://89.149.57.186/ecportalgis/

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 20 19:01:35 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=491490

User rkumpera at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=491490#c1


Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|misc                        |plugin
         AssignedTo|rkumpera at novell.com         |spouliot at novell.com
            Product|Mono: Runtime               |Moonlight
   Target Milestone|---                         |SVN
          QAContact|mono-bugs at lists.ximian.com  |moonlight-bugs at lists.ximian
                   |                            |.com




--- Comment #1 from Rodrigo Kumpera <rkumpera at novell.com>  2009-04-20 17:01:33 MDT ---
The current error I'm having is:

Error while Launching an Application from a xap file:
System.MethodAccessException: Constructor
System.Xml.XmlDictionaryReaderQuotas:.ctor () not visible from
System.ServiceModel.BasicHttpBinding:.ctor
(System.ServiceModel.BasicHttpSecurityMode) at 0x0024


This issue is that System.ServiceModel.dll is not well tunned. Running it under
pedump gives me:

In method: Mono.CodeGeneration.CodeBlock::.ctor()
Not Verifiable: Constructor System.Collections.ArrayList:.ctor () not visible
from Mono.CodeGeneration.CodeBlock:.ctor () at 0x0001
In method: Mono.CodeGeneration.CodeBlock::Add(CodeItem)
Not Verifiable: Method System.Collections.ArrayList:Add (object) is not
accessible at 0x0007
In method: Mono.CodeGeneration.CodeBlock::Generate(ILGenerator)
Not Verifiable: Method System.Collections.ArrayList:GetEnumerator () is not
accessible at 0x0006
In method: Mono.CodeGeneration.CodeBlock::PrintCode(CodeWriter)
Not Verifiable: Method System.Collections.ArrayList:GetEnumerator () is not
accessible at 0x0006
In method: Mono.CodeGeneration.CodeBuilder::.ctor(CodeClass)
Not Verifiable: Constructor System.Collections.ArrayList:.ctor () not visible
from Mono.CodeGeneration.CodeBuilder:.ctor (Mono.CodeGeneration.CodeClass) at
0x000c
Not Verifiable: Constructor System.Collections.Stack:.ctor () not visible from
Mono.CodeGeneration.CodeBuilder:.ctor (Mono.CodeGeneration.CodeClass) at 0x0001
In method:
Mono.CodeGeneration.CodeClass::.ctor(ModuleBuilder,string,TypeAttributes,Type,Type[])
Not Verifiable: Constructor System.Collections.Hashtable:.ctor () not visible
from Mono.CodeGeneration.CodeClass:.ctor
(System.Reflection.Emit.ModuleBuilder,string,System.Reflection.TypeAttributes,System.Type,System.Type[])
at 0x002d
Not Verifiable: Constructor System.Collections.ArrayList:.ctor () not visible
from Mono.CodeGeneration.CodeClass:.ctor
(System.Reflection.Emit.ModuleBuilder,string,System.Reflection.TypeAttributes,System.Type,System.Type[])
at 0x0022
Not Verifiable: Constructor System.Collections.ArrayList:.ctor () not visible
from Mono.CodeGeneration.CodeClass:.ctor
(System.Reflection.Emit.ModuleBuilder,string,System.Reflection.TypeAttributes,System.Type,System.Type[])
at 0x0017
Not Verifiable: Constructor System.Collections.ArrayList:.ctor () not visible
from Mono.CodeGeneration.CodeClass:.ctor
(System.Reflection.Emit.ModuleBuilder,string,System.Reflection.TypeAttributes,System.Type,System.Type[])
at 0x000c
Not Verifiable: Constructor System.Collections.ArrayList:.ctor () not visible
from Mono.CodeGeneration.CodeClass:.ctor
(System.Reflection.Emit.ModuleBuilder,string,System.Reflection.TypeAttributes,System.Type,System.Type[])
at 0x0001
In method:
Mono.CodeGeneration.CodeClass::CreateConstructor(MethodAttributes,Type[])
Not Verifiable: Method System.Collections.ArrayList:Add (object) is not
accessible at 0x002c
In method: Mono.CodeGeneration.CodeClass::ImplementMethod(Type,MethodInfo)
Not Verifiable: Method System.Collections.ArrayList:Add (object) is not
accessible at 0x005e
In method: Mono.CodeGeneration.CodeClass::CreateType()
Not Verifiable: Method System.Collections.ArrayList:GetEnumerator () is not
accessible at 0x010a
Not Verifiable: Method System.Collections.ArrayList:GetEnumerator () is not
accessible at 0x00ba
Not Verifiable: Method System.Collections.ArrayList:GetEnumerator () is not
accessible at 0x0065
Not Verifiable: Method System.Collections.ArrayList:GetEnumerator () is not
accessible at 0x001d
In method:
Mono.CodeGeneration.CodeMethod::.ctor(CodeClass,string,MethodAttributes,Type,Type[])
Not Verifiable: Constructor System.Collections.ArrayList:.ctor () not visible
from Mono.CodeGeneration.CodeMethod:.ctor
(Mono.CodeGeneration.CodeClass,string,System.Reflection.MethodAttributes,System.Type,System.Type[])
at 0x0001
In method:
Mono.CodeGeneration.CodeMethod::.ctor(CodeClass,MethodAttributes,Type[])
Not Verifiable: Constructor System.Collections.ArrayList:.ctor () not visible
from Mono.CodeGeneration.CodeMethod:.ctor
(Mono.CodeGeneration.CodeClass,System.Reflection.MethodAttributes,System.Type[])
at 0x0001
In method: Mono.CodeGeneration.CodeMethod::PrintCode(CodeWriter)
Not Verifiable: Method System.Collections.ArrayList:GetEnumerator () is not
accessible at 0x000d
In method: Mono.CodeGeneration.CodeProperty::UpdatePropertyInfo(Type)
Not Verifiable: Method System.Type:GetProperty (string,System.Type[]) is not
accessible at 0x0013
In method: System.ServiceModel.BasicHttpBinding::.ctor(BasicHttpSecurityMode)
Not Verifiable: Constructor System.Xml.XmlDictionaryReaderQuotas:.ctor () not
visible from System.ServiceModel.BasicHttpBinding:.ctor
(System.ServiceModel.BasicHttpSecurityMode) at 0x0024
In method:
System.ServiceModel.Channels.AddressHeader/DefaultAddressHeader::.ctor(string,string,object,XmlObjectSerializer)
Not Verifiable: Constructor
System.Runtime.Serialization.NetDataContractSerializer:.ctor () not visible
from System.ServiceModel.Channels.AddressHeader/DefaultAddressHeader:.ctor
(string,string,object,System.Runtime.Serialization.XmlObjectSerializer) at
0x0013
In method:
System.ServiceModel.Channels.HttpRequestChannel/HttpChannelRequestAsyncResult::WaitEnd()
Not Verifiable: Method System.Threading.WaitHandle:WaitOne
(System.TimeSpan,bool) is not accessible at 0x001f
In method: System.ServiceModel.Channels.MessageBuffer::WriteMessage(Stream)
Not Verifiable: Method System.Xml.XmlDictionaryWriter:CreateBinaryWriter
(System.IO.Stream) is not accessible at 0x0012
In method:
System.ServiceModel.Channels.TextMessageEncodingBindingElement::.ctor(MessageVersion,Encoding)
Not Verifiable: Constructor System.Xml.XmlDictionaryReaderQuotas:.ctor () not
visible from
System.ServiceModel.Channels.TextMessageEncodingBindingElement:.ctor
(System.ServiceModel.Channels.MessageVersion,System.Text.Encoding) at 0x001c
In method:
System.ServiceModel.Channels.TextMessageEncodingBindingElement::.ctor(TextMessageEncodingBindingElement)
Not Verifiable: Method System.Xml.XmlDictionaryReaderQuotas:CopyTo
(System.Xml.XmlDictionaryReaderQuotas) is not accessible at 0x0073
Not Verifiable: Constructor System.Xml.XmlDictionaryReaderQuotas:.ctor () not
visible from
System.ServiceModel.Channels.TextMessageEncodingBindingElement:.ctor
(System.ServiceModel.Channels.TextMessageEncodingBindingElement) at 0x005d
Not Verifiable: Constructor System.Xml.XmlDictionaryReaderQuotas:.ctor () not
visible from
System.ServiceModel.Channels.TextMessageEncodingBindingElement:.ctor
(System.ServiceModel.Channels.TextMessageEncodingBindingElement) at 0x001c
In method:
System.ServiceModel.Channels.TransportBindingElement::GetProperty(BindingContext)
Not Verifiable: Method
System.Xml.XmlDictionaryReaderQuotas:set_MaxStringContentLength (int) is not
accessible at 0x0036
Not Verifiable: Constructor System.Xml.XmlDictionaryReaderQuotas:.ctor () not
visible from System.ServiceModel.Channels.TransportBindingElement:GetProperty
(System.ServiceModel.Channels.BindingContext) at 0x0028
Not Verifiable: Argument type Complex not valid for brtrue/brfalse at 0x0008
In method: System.ServiceModel.ClientBase`1::.cctor()
Not Verifiable: Method System.AppDomain:GetAssemblies () is not accessible at
0x0010
In method:
System.ServiceModel.ClientRuntimeChannel/DelegatingWaitHandle::WaitOne(int,bool)
Not Verifiable: Method System.Threading.WaitHandle:WaitAll
(System.Threading.WaitHandle[],int,bool) is not accessible at 0x0008
In method:
System.ServiceModel.ClientRuntimeChannel/DelegatingWaitHandle::WaitOne(TimeSpan,bool)
Not Verifiable: Method System.Threading.WaitHandle:WaitAll
(System.Threading.WaitHandle[],System.TimeSpan,bool) is not accessible at
0x0008
In method: System.ServiceModel.OperationContext::get_Current()
Not Verifiable: Method System.Threading.Thread:GetData
(System.LocalDataStoreSlot) is not accessible at 0x000a
Not Verifiable: Method System.Threading.Thread:GetNamedDataSlot (string) is not
accessible at 0x0005
In method: System.ServiceModel.OperationContext::set_Current(OperationContext)
Not Verifiable: Method System.Threading.Thread:SetData
(System.LocalDataStoreSlot,object) is not accessible at 0x000b
Not Verifiable: Method System.Threading.Thread:GetNamedDataSlot (string) is not
accessible at 0x0005


Good luck guys.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list