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.checkPermission()3648

AccessController.checkPermission() has thrown an AccessControlException

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

SecureClassLoader.defineClass() has thrown an UnsupportedClassVersionError

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

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

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

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

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

SecureClassLoader.defineClass() has thrown an UnsupportedClassVersionError

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

AccessController.doPrivileged() has thrown a NoClassDefFoundError

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

SecureClassLoader.defineClass() has thrown an UnsupportedClassVersionError

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

SecureClassLoader.defineClass() has thrown a ClassFormatError

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

SecureClassLoader.defineClass() has thrown an IncompatibleClassChangeError

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

AccessController.doPrivileged() has thrown an IOException

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

AccessController.doPrivileged() has thrown a NoClassDefFoundError

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

AccessController.doPrivileged() has thrown an UnsupportedClassVersionError

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

AccessController.doPrivileged() has thrown a NoClassDefFoundError

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

SecureClassLoader.defineClass() has thrown a VerifyError

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

AccessController.doPrivileged() has thrown an IOException

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

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

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

AccessController.doPrivileged() has thrown a NoClassDefFoundError

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

AccessController.doPrivileged() has thrown an UnsatisfiedLinkError

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

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

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

AccessController.doPrivileged() has thrown a VerifyError

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

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

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

SecureClassLoader.defineClass() has thrown a SecurityException

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

SecureClassLoader.defineClass() has thrown a ClassFormatError

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

SecureClassLoader.defineClass() has thrown an OutOfMemoryError

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

SecureClassLoader.defineClass() has thrown a LinkageError

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

AccessController.doPrivileged() has thrown an IOException

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

SecureClassLoader.defineClass() has thrown a ClassFormatError

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

AccessController.doPrivileged() has thrown a ClassNotFoundException

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

SecureClassLoader.defineClass() has thrown an IncompatibleClassChangeError

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

AccessControlContext.checkPermission() has thrown an ExceptionInInitializerError

java.lang.ExceptionInInitializerError
java.security.AccessControlContext.checkPermission
118Web pages
ExceptionInInitializerErrorAccessControlContext.checkPermission()118

AccessController.checkPermission() has thrown an ExceptionInInitializerError

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

AccessController.checkPermission() has thrown an AccessControlException

java.security.AccessControlException
java.security.AccessController.checkPermission
111Web pages
AccessControlExceptionAccessController.checkPermission()111

AccessController.doPrivileged() has thrown a PrivilegedActionException

java.security.PrivilegedActionException
java.security.AccessController.doPrivileged
105Web pages
PrivilegedActionExceptionAccessController.doPrivileged()105

SecureClassLoader.defineClass() has thrown an OutOfMemoryError

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

KeyStore.load() has thrown an IOException

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

AccessController.doPrivileged() has thrown a StackOverflowError

java.lang.StackOverflowError
java.security.AccessController.doPrivileged
92Web pages
StackOverflowErrorAccessController.doPrivileged()92

AccessController.doPrivileged() has thrown a BeanCreationException

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

SecureClassLoader.defineClass() has thrown an IllegalAccessError

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

SecureClassLoader.defineClass() has thrown a VerifyError

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

AccessController.doPrivileged() has thrown an UnsatisfiedLinkError

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

SecureClassLoader.defineClass() has thrown a Throwable

java.lang.Throwable
java.security.SecureClassLoader.defineClass
68Web pages
ThrowableSecureClassLoader.defineClass()68

AccessController.doPrivileged() has thrown a BeanCreationException

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

AccessController.doPrivileged() has thrown an IncompatibleClassChangeError

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

AccessController.doPrivileged() has thrown a Throwable

java.lang.Throwable
java.security.AccessController.doPrivileged
63Web pages
ThrowableAccessController.doPrivileged()63

AccessController.doPrivileged() has thrown a LoginException

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

Security.getImpl() has thrown a NoSuchAlgorithmException

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

AccessController.doPrivileged() has thrown an InternalError

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

AccessController.doPrivileged() has thrown an OutOfMemoryError

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

SecureClassLoader.defineClass() has thrown a NoClassDefFoundError

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