1. Explore
  2. »
  3. Java Runtime
  4. »
  5. java.security

java.security errorsJava Runtime

Top patterns

  1. SecurityManager permission too restrictive or unable to find policy file

    If you have correctly set a policy file, check that the permissions in the policy file are not too restrictive for the operation you are trying to perform. If you are unsure as to how to correctly set a policy file, then check this answer

  2. AccessController.checkPermission() has thrown an AccessControlException
    No solution
  3. SecureClassLoader.defineClass() has thrown an UnsupportedClassVersionError
    No solution
Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

SecurityManager permission too restrictive or unable to find policy file

java.security.AccessControlException
java.security.AccessControlContext.checkPermission
3648Web pages
1Solution
AccessControlExceptionAccessControlContext.checkPermission3648

AccessController.checkPermission() has thrown an AccessControlException

java.security.AccessControlException
1 frames hidden
java.security.AccessController.checkPermission
3495Web pages
AccessControlExceptionAccessController.checkPermission3495

SecureClassLoader.defineClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
2 frames hidden
java.security.SecureClassLoader.defineClass
1792Web pages
UnsupportedClassVersionErrorSecureClassLoader.defineClass1792

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
2 frames hidden
java.security.SecureClassLoader.defineClass
1408Web pages
NoClassDefFoundErrorSecureClassLoader.defineClass1408

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
2 frames hidden
java.security.SecureClassLoader.defineClass
1054Web pages
NoClassDefFoundErrorSecureClassLoader.defineClass1054

SecureClassLoader.defineClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
3 frames hidden
java.security.SecureClassLoader.defineClass
904Web pages
UnsupportedClassVersionErrorSecureClassLoader.defineClass904

AccessController.doPrivileged() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
6 frames hidden
java.security.AccessController.doPrivileged
694Web pages
NoClassDefFoundErrorAccessController.doPrivileged694

SecureClassLoader.defineClass() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
2 frames hidden
java.security.SecureClassLoader.defineClass
577Web pages
UnsupportedClassVersionErrorSecureClassLoader.defineClass577

SecureClassLoader.defineClass() has thrown a ClassFormatError

java.lang.ClassFormatError
2 frames hidden
java.security.SecureClassLoader.defineClass
492Web pages
ClassFormatErrorSecureClassLoader.defineClass492

SecureClassLoader.defineClass() has thrown an IncompatibleClassChangeError

java.lang.IncompatibleClassChangeError
2 frames hidden
java.security.SecureClassLoader.defineClass
471Web pages
IncompatibleClassChangeErrorSecureClassLoader.defineClass471

AccessController.doPrivileged() has thrown an IOException

java.io.IOException
3 frames hidden
java.security.AccessController.doPrivileged
430Web pages
IOExceptionAccessController.doPrivileged430

AccessController.doPrivileged() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
7 frames hidden
java.security.AccessController.doPrivileged
417Web pages
NoClassDefFoundErrorAccessController.doPrivileged417

AccessController.doPrivileged() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
6 frames hidden
java.security.AccessController.doPrivileged
412Web pages
UnsupportedClassVersionErrorAccessController.doPrivileged412

AccessController.doPrivileged() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
6 frames hidden
java.security.AccessController.doPrivileged
343Web pages
NoClassDefFoundErrorAccessController.doPrivileged343

SecureClassLoader.defineClass() has thrown a VerifyError

java.lang.VerifyError
2 frames hidden
java.security.SecureClassLoader.defineClass
324Web pages
VerifyErrorSecureClassLoader.defineClass324

AccessController.doPrivileged() has thrown an IOException

java.io.IOException
4 frames hidden
java.security.AccessController.doPrivileged
320Web pages
IOExceptionAccessController.doPrivileged320

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
9 frames hidden
java.security.SecureClassLoader.defineClass
311Web pages
NoClassDefFoundErrorSecureClassLoader.defineClass311

AccessController.doPrivileged() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
6 frames hidden
java.security.AccessController.doPrivileged
279Web pages
NoClassDefFoundErrorAccessController.doPrivileged279

AccessController.doPrivileged() has thrown an UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError
6 frames hidden
java.security.AccessController.doPrivileged
277Web pages
UnsatisfiedLinkErrorAccessController.doPrivileged277

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
3 frames hidden
java.security.SecureClassLoader.defineClass
250Web pages
NoClassDefFoundErrorSecureClassLoader.defineClass250

AccessController.doPrivileged() has thrown a VerifyError

java.lang.VerifyError
7 frames hidden
java.security.AccessController.doPrivileged
229Web pages
VerifyErrorAccessController.doPrivileged229

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
5 frames hidden
java.security.SecureClassLoader.defineClass
217Web pages
NoClassDefFoundErrorSecureClassLoader.defineClass217

SecureClassLoader.defineClass() has thrown a SecurityException

java.lang.SecurityException
3 frames hidden
java.security.SecureClassLoader.defineClass
212Web pages
SecurityExceptionSecureClassLoader.defineClass212

SecureClassLoader.defineClass() has thrown a ClassFormatError

java.lang.ClassFormatError
2 frames hidden
java.security.SecureClassLoader.defineClass
203Web pages
ClassFormatErrorSecureClassLoader.defineClass203

SecureClassLoader.defineClass() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
2 frames hidden
java.security.SecureClassLoader.defineClass
189Web pages
OutOfMemoryErrorSecureClassLoader.defineClass189

SecureClassLoader.defineClass() has thrown a LinkageError

java.lang.LinkageError
2 frames hidden
java.security.SecureClassLoader.defineClass
172Web pages
LinkageErrorSecureClassLoader.defineClass172

AccessController.doPrivileged() has thrown an IOException

java.io.IOException
3 frames hidden
java.security.AccessController.doPrivileged
166Web pages
IOExceptionAccessController.doPrivileged166

SecureClassLoader.defineClass() has thrown a ClassFormatError

java.lang.ClassFormatError
3 frames hidden
java.security.SecureClassLoader.defineClass
163Web pages
ClassFormatErrorSecureClassLoader.defineClass163

AccessController.doPrivileged() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
java.security.AccessController.doPrivileged
155Web pages
ClassNotFoundExceptionAccessController.doPrivileged155

SecureClassLoader.defineClass() has thrown an IncompatibleClassChangeError

java.lang.IncompatibleClassChangeError
3 frames hidden
java.security.SecureClassLoader.defineClass
129Web pages
IncompatibleClassChangeErrorSecureClassLoader.defineClass129

AccessControlContext.checkPermission() has thrown an ExceptionInInitializerError

java.lang.ExceptionInInitializerError
java.security.AccessControlContext.checkPermission
118Web pages
ExceptionInInitializerErrorAccessControlContext.checkPermission118

AccessController.checkPermission() has thrown an ExceptionInInitializerError

java.lang.ExceptionInInitializerError
1 frames hidden
java.security.AccessController.checkPermission
116Web pages
ExceptionInInitializerErrorAccessController.checkPermission116

AccessController.checkPermission() has thrown an AccessControlException

java.security.AccessControlException
java.security.AccessController.checkPermission
111Web pages
AccessControlExceptionAccessController.checkPermission111

AccessController.doPrivileged() has thrown a PrivilegedActionException

java.security.PrivilegedActionException
java.security.AccessController.doPrivileged
105Web pages
PrivilegedActionExceptionAccessController.doPrivileged105

SecureClassLoader.defineClass() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
3 frames hidden
java.security.SecureClassLoader.defineClass
98Web pages
OutOfMemoryErrorSecureClassLoader.defineClass98

KeyStore.load() has thrown an IOException

java.io.IOException
2 frames hidden
java.security.KeyStore.load
94Web pages
IOExceptionKeyStore.load94

AccessController.doPrivileged() has thrown a StackOverflowError

java.lang.StackOverflowError
java.security.AccessController.doPrivileged
92Web pages
StackOverflowErrorAccessController.doPrivileged92

AccessController.doPrivileged() has thrown a BeanCreationException

org.springframework.beans.factory.BeanCreationException
3 frames hidden
java.security.AccessController.doPrivileged
91Web pages
BeanCreationExceptionAccessController.doPrivileged91

SecureClassLoader.defineClass() has thrown an IllegalAccessError

java.lang.IllegalAccessError
2 frames hidden
java.security.SecureClassLoader.defineClass
78Web pages
IllegalAccessErrorSecureClassLoader.defineClass78

SecureClassLoader.defineClass() has thrown a VerifyError

java.lang.VerifyError
3 frames hidden
java.security.SecureClassLoader.defineClass
78Web pages
VerifyErrorSecureClassLoader.defineClass78

AccessController.doPrivileged() has thrown an UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError
11 frames hidden
java.security.AccessController.doPrivileged
70Web pages
UnsatisfiedLinkErrorAccessController.doPrivileged70

SecureClassLoader.defineClass() has thrown a Throwable

java.lang.Throwable
java.security.SecureClassLoader.defineClass
68Web pages
ThrowableSecureClassLoader.defineClass68

AccessController.doPrivileged() has thrown a BeanCreationException

org.springframework.beans.factory.BeanCreationException
2 frames hidden
java.security.AccessController.doPrivileged
67Web pages
BeanCreationExceptionAccessController.doPrivileged67

AccessController.doPrivileged() has thrown an IncompatibleClassChangeError

java.lang.IncompatibleClassChangeError
7 frames hidden
java.security.AccessController.doPrivileged
65Web pages
IncompatibleClassChangeErrorAccessController.doPrivileged65

AccessController.doPrivileged() has thrown a Throwable

java.lang.Throwable
java.security.AccessController.doPrivileged
63Web pages
ThrowableAccessController.doPrivileged63

AccessController.doPrivileged() has thrown a LoginException

javax.security.auth.login.LoginException
3 frames hidden
java.security.AccessController.doPrivileged
62Web pages
LoginExceptionAccessController.doPrivileged62

Security.getImpl() has thrown a NoSuchAlgorithmException

java.security.NoSuchAlgorithmException
1 frames hidden
java.security.Security.getImpl
58Web pages
NoSuchAlgorithmExceptionSecurity.getImpl58

AccessController.doPrivileged() has thrown an InternalError

java.lang.InternalError
3 frames hidden
java.security.AccessController.doPrivileged
58Web pages
InternalErrorAccessController.doPrivileged58

AccessController.doPrivileged() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
7 frames hidden
java.security.AccessController.doPrivileged
56Web pages
OutOfMemoryErrorAccessController.doPrivileged56

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
4 frames hidden
java.security.SecureClassLoader.defineClass
56Web pages
NoClassDefFoundErrorSecureClassLoader.defineClass56
Nothing to list here.
Nothing to list here.
Nothing to list here.