Menu

#324 The type initializer for 'sun.security.jca.Providers' threw an exception

v1.0 (example)
open
UDF (1)
5
2019-05-30
2019-05-30
LOW KAH YAW
No

Hi,

I refer a dll converted from jar in a function, then call by the UDF. But, hit error

Msg 6522, Level 16, State 1, Line 1
A .NET Framework error occurred during execution of user-defined routine or aggregate "GetCustomer":
System.TypeInitializationException: The type initializer for 'sun.security.jca.Providers' threw an exception. ---> java.lang.NullPointerException:
java.lang.NullPointerException:
at java.security.AccessController.doPrivileged(Object , AccessControlContext , CallerID )
at java.security.AccessController.doPrivileged(PrivilegedAction action, CallerID )
at sun.security.jca.ProviderList.fromSecurityProperties()
at sun.security.jca.Providers..cctor()
System.TypeInitializationException:

.

May I know what is the possible cause and solution?

Discussion


Log in to post a comment.