Skip to content

Unhandled exception. System.ArgumentNullException: Value cannot be null #45

Description

@EngALAlfy

اثناء التوقيع بال cmd

بتظهر لنا المشكله دي

Unhandled exception. System.ArgumentNullException: Value cannot be null.

وتفاصيلها

Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'ptr')
at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr ptr, Type t)
at Net.Pkcs11Interop.Common.UnmanagedLibrary.GetDelegateForFunctionPointer[T](IntPtr functionPointer)
at Net.Pkcs11Interop.LowLevelAPI41.Delegates.Initialize(CK_FUNCTION_LIST ckFunctionList)
at Net.Pkcs11Interop.LowLevelAPI41.Delegates.InitializeWithGetFunctionList(IntPtr libraryHandle)
at Net.Pkcs11Interop.LowLevelAPI41.Delegates..ctor(IntPtr libraryHandle, Boolean useGetFunctionList)
at Net.Pkcs11Interop.LowLevelAPI41.Pkcs11Library..ctor(String libraryPath)
at Net.Pkcs11Interop.HighLevelAPI41.Pkcs11Library..ctor(Pkcs11InteropFactories factories, String libraryPath, AppType appType)
at Net.Pkcs11Interop.HighLevelAPI41.Factories.Pkcs11LibraryFactory.LoadPkcs11Library(Pkcs11InteropFactories factories, String libraryPath, AppType appType)
at Net.Pkcs11Interop.HighLevelAPI.Factories.Pkcs11LibraryFactory.LoadPkcs11Library(Pkcs11InteropFactories factories, String libraryPath, AppType appType)
at TokenSigner.SignWithCMS(String serializedJson) in D:\work\Workspace\EInvoicingSigner\EInvoicingSigner\Signer.cs:line 122
at TokenSigner.Main(String[] args) in D:\work\Workspace\EInvoicingSigner\EInvoicingSigner\Signer.cs:line 85

مرفع سكرين

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions