[Mono-bugs] [Bug 30256][Wis] New - DESCore.SetKey throws NullRefEx (DES.cs)
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
12 Sep 2002 17:03:21 -0000
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 duncan@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=30256
--- shadow/30256 Thu Sep 12 13:03:21 2002
+++ shadow/30256.tmp.21542 Thu Sep 12 13:03:21 2002
@@ -0,0 +1,34 @@
+Bug#: 30256
+Product: Mono/Class Libraries
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: duncan@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DESCore.SetKey throws NullRefEx (DES.cs)
+
+This exception is thrown when we try to run fileencrypt.cs from the
+quickstart tutorials.
+
+duncan:~/src/testing/Cryptography $ mono fileencrypt.exe
+Enter Some Text to be stored in encrypted file:
+This is a test
+
+Unhandled Exception: System.NullReferenceException: A null value was found
+where an object instance was required
+in <0x000e5> 00 System.Security.Cryptography.DESCore:SetKey (byte[])
+in <0x001cc> 00 System.Security.Cryptography.DESTransformBase:.ctor
+(Mode,byte[],byte[])
+in <0x00018> 00 System.Security.Cryptography.DESEncryptor:.ctor (byte[],byte[])
+in <0x0002c> 00
+System.Security.Cryptography.DESCryptoServiceProvider:CreateEncryptor ()
+in <0x00128> 00 .FileEncrypt:Main ()