[Mono-bugs] [Bug 682619] New: ERROR building certificate chain: System.NullReferenceException: Object reference not set to an instance of an object

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 25 07:21:13 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=682619

https://bugzilla.novell.com/show_bug.cgi?id=682619#c0


           Summary: ERROR building certificate chain:
                    System.NullReferenceException: Object reference not
                    set to an instance of an object
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: refic at psimerion.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20100101
Firefox/4.0

When running the application MJ12node (http://www.majestic12.co.uk) I sometimes
get the following error. It says to report it to the Mono team so here it goes,
not sure if you can make anything out of it though:

ERROR building certificate chain: System.NullReferenceException: Object
reference not set to an instance of an object
  at Mono.Security.Cryptography.PKCS1.Encode_v15
(System.Security.Cryptography.HashAlgorithm hash, System.Byte[] hashValue,
Int32 emLength) [0x00000] in <filename unknown>:0 
  at Mono.Security.Cryptography.PKCS1.Verify_v15
(System.Security.Cryptography.RSA rsa,
System.Security.Cryptography.HashAlgorithm hash, System.Byte[] hashValue,
System.Byte[] signature, Boolean tryNonStandardEncoding) [0x00000] in <filename
unknown>:0 
  at Mono.Security.Cryptography.PKCS1.Verify_v15
(System.Security.Cryptography.RSA rsa,
System.Security.Cryptography.HashAlgorithm hash, System.Byte[] hashValue,
System.Byte[] signature) [0x00000] in <filename unknown>:0 
  at System.Security.Cryptography.RSAPKCS1SignatureDeformatter.VerifySignature
(System.Byte[] rgbHash, System.Byte[] rgbSignature) [0x00000] in <filename
unknown>:0 
  at Mono.Security.X509.X509Certificate.VerifySignature
(System.Security.Cryptography.RSA rsa) [0x00000] in <filename unknown>:0 
  at Mono.Security.X509.X509Certificate.VerifySignature
(System.Security.Cryptography.AsymmetricAlgorithm aa) [0x00000] in <filename
unknown>:0 
  at System.Security.Cryptography.X509Certificates.X509Chain.IsSignedWith
(System.Security.Cryptography.X509Certificates.X509Certificate2 signed,
System.Security.Cryptography.AsymmetricAlgorithm pubkey) [0x00000] in <filename
unknown>:0 
  at System.Security.Cryptography.X509Certificates.X509Chain.Process (Int32 n)
[0x00000] in <filename unknown>:0 
  at System.Security.Cryptography.X509Certificates.X509Chain.ValidateChain
(X509ChainStatusFlags flag) [0x00000] in <filename unknown>:0 
  at System.Security.Cryptography.X509Certificates.X509Chain.Build
(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate)
[0x00000] in <filename unknown>:0 
  at System.Net.ServicePointManager+ChainValidationHelper.ValidateChain
(Mono.Security.X509.X509CertificateCollection certs) [0x00000] in <filename
unknown>:0 
Please, report this problem to the Mono team

---

It seems that we started to get these after we enabled crawling of https
sites..

Reproducible: Sometimes

Steps to Reproduce:
1. Run the application MJ12node
2. Let it run until you spot the error
Actual Results:  
-

Expected Results:  
-

Mono version used (from Mono daily builds): Mono JIT compiler version 20110322
(tarball Wed Mar 23 10:44:07 EET 2011)

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


More information about the mono-bugs mailing list