Java Runtime errors

Core environment and runtime library

https://java.com
Solution coverage:
Summary coverage:

Top patterns

  1. Class not found in classpath, for the class referenced in Class.forName() method
    No solution
  2. Missing jar file containing class in WEB-INF/lib directory of the project
    No solution
  3. Class.getConstructor0() has thrown a NoSuchMethodException

    Thrown when a particular method cannot be found. You are probably using a newer version of Hibernate in your application while pre-packaged hibernate jars that come with JBoss are older.


DescriptionException TypeEntry MethodWeb pages

Class not found in classpath, for the class referenced in Class.forName() method

java.lang.NoClassDefFoundError
java.lang.Class.forName0
1176Web pages
NoClassDefFoundErrorClass.forName01176

Missing jar file containing class in WEB-INF/lib directory of the project

java.lang.NoClassDefFoundError
java.lang.Class.getDeclaredConstructors0
867Web pages
NoClassDefFoundErrorClass.getDeclaredConstructors0867

Class.getConstructor0() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getConstructor0
785Web pages
1Solution
NoSuchMethodExceptionClass.getConstructor0785

Unable to load the provided class through reflection

java.lang.NoClassDefFoundError
java.lang.Class.getDeclaredMethods0
686Web pages
1Solution
NoClassDefFoundErrorClass.getDeclaredMethods0686

Unable to retrieve method from class using reflection

java.lang.NoSuchMethodException
java.lang.Class.getMethod
665Web pages
1Solution
NoSuchMethodExceptionClass.getMethod665

Class.getDeclaredField() has thrown a NoSuchFieldException

java.lang.NoSuchFieldException
java.lang.Class.getDeclaredField
422Web pages
1Solution
NoSuchFieldExceptionClass.getDeclaredField422

Class.forName0() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.Class.forName0
396Web pages
ClassNotFoundExceptionClass.forName0396

Class.newInstance0() has thrown an InstantiationException

java.lang.InstantiationException
java.lang.Class.newInstance0
387Web pages
InstantiationExceptionClass.newInstance0387

Class.cast() has thrown a ClassCastException

java.lang.ClassCastException
java.lang.Class.cast
288Web pages
ClassCastExceptionClass.cast288

Class.classForName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.Class.classForName
286Web pages
ClassNotFoundExceptionClass.classForName286

Class.getDeclaredConstructors0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.getDeclaredConstructors0
262Web pages
VerifyErrorClass.getDeclaredConstructors0262

Class.getConstructorOrMethod() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getConstructorOrMethod
242Web pages
NoSuchMethodExceptionClass.getConstructorOrMethod242

Class.newInstanceImpl() has thrown an InstantiationException

java.lang.InstantiationException
java.lang.Class.newInstanceImpl
222Web pages
InstantiationExceptionClass.newInstanceImpl222

Class.isAssignableFrom() has thrown a NullPointerException

java.lang.NullPointerException
java.lang.Class.isAssignableFrom
209Web pages
NullPointerExceptionClass.isAssignableFrom209

Class.getDeclaredMethod() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getDeclaredMethod
208Web pages
NoSuchMethodExceptionClass.getDeclaredMethod208

Class.forName0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.forName0
203Web pages
VerifyErrorClass.forName0203

Class.getDeclaredMethods0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.getDeclaredMethods0
195Web pages
VerifyErrorClass.getDeclaredMethods0195

Class.getDeclaredFields0() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.getDeclaredFields0
185Web pages
NoClassDefFoundErrorClass.getDeclaredFields0185

Class.getField() has thrown a NoSuchFieldException

java.lang.NoSuchFieldException
java.lang.Class.getField
160Web pages
NoSuchFieldExceptionClass.getField160

Class.forName0() has thrown a NullPointerException

java.lang.NullPointerException
java.lang.Class.forName0
154Web pages
NullPointerExceptionClass.forName0154

Class.newInstance0() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.newInstance0
144Web pages
NoClassDefFoundErrorClass.newInstance0144

Class.newInstance() has thrown an InstantiationException

java.lang.InstantiationException
java.lang.Class.newInstance
132Web pages
1Solution
InstantiationExceptionClass.newInstance132

Class.forName0() has thrown an ExceptionInInitializerError

java.lang.ExceptionInInitializerError
java.lang.Class.forName0
125Web pages
ExceptionInInitializerErrorClass.forName0125

Class.newInstanceImpl() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.newInstanceImpl
122Web pages
VerifyErrorClass.newInstanceImpl122

Class.asSubclass() has thrown a ClassCastException

java.lang.ClassCastException
java.lang.Class.asSubclass
113Web pages
ClassCastExceptionClass.asSubclass113

Class.forNameImpl() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.Class.forNameImpl
74Web pages
ClassNotFoundExceptionClass.forNameImpl74

Class.getMethods0() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.getMethods0
71Web pages
NoClassDefFoundErrorClass.getMethods071

Class.getDeclaredFields0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.getDeclaredFields0
67Web pages
VerifyErrorClass.getDeclaredFields067

Class.forName0() has thrown a Throwable

java.lang.Throwable
java.lang.Class.forName0
66Web pages
ThrowableClass.forName066

Class.forName() has thrown a Throwable

java.lang.Throwable
java.lang.Class.forName
66Web pages
ThrowableClass.forName66

Class.initializeClass() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.initializeClass
62Web pages
NoClassDefFoundErrorClass.initializeClass62

Class.getSimpleName() has thrown an InternalError

java.lang.InternalError
java.lang.Class.getSimpleName
57Web pages
InternalErrorClass.getSimpleName57

Class.classForName() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.classForName
53Web pages
NoClassDefFoundErrorClass.classForName53

Class.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
java.lang.Class.forName
53Web pages
ClassNotFoundExceptionClass.forName53

Class.getDeclaredMethods0() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.lang.Class.getDeclaredMethods0
53Web pages
OutOfMemoryErrorClass.getDeclaredMethods053

Class.getConstructor() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getConstructor
42Web pages
NoSuchMethodExceptionClass.getConstructor42

Class.newInstance() has thrown a BAD_OPERATION

org.omg.CORBA.BAD_OPERATION
5 frames hidden
java.lang.Class.newInstance
41Web pages
BAD_OPERATIONClass.newInstance41

Class.getMethod0() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
java.lang.Class.getMethod0
40Web pages
NoSuchMethodExceptionClass.getMethod040

Class.newInstance0() has thrown a VerifyError

java.lang.VerifyError
java.lang.Class.newInstance0
38Web pages
VerifyErrorClass.newInstance038

Class.forName0() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
3 frames hidden
java.lang.Class.forName0
38Web pages
ArrayIndexOutOfBoundsExceptionClass.forName038

Class.forName() has thrown an UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError
1 frames hidden
java.lang.Class.forName
34Web pages
UnsatisfiedLinkErrorClass.forName34

Class.privateGetDeclaredMethods() has thrown a LinkageError

java.lang.LinkageError
1 frames hidden
java.lang.Class.privateGetDeclaredMethods
32Web pages
LinkageErrorClass.privateGetDeclaredMethods32

Class.newInstance0() has thrown an IllegalAccessException

java.lang.IllegalAccessException
java.lang.Class.newInstance0
31Web pages
IllegalAccessExceptionClass.newInstance031

Class.getConstructor() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
1 frames hidden
java.lang.Class.getConstructor
30Web pages
NoSuchMethodExceptionClass.getConstructor30

Class.newInstance() has thrown a RemoteException

java.rmi.RemoteException
1 frames hidden
java.lang.Class.newInstance
28Web pages
RemoteExceptionClass.newInstance28

Class.newInstanceImpl() has thrown an ExceptionInInitializerError

java.lang.ExceptionInInitializerError
java.lang.Class.newInstanceImpl
28Web pages
ExceptionInInitializerErrorClass.newInstanceImpl28

Class.privateGetDeclaredConstructors() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
1 frames hidden
java.lang.Class.privateGetDeclaredConstructors
28Web pages
OutOfMemoryErrorClass.privateGetDeclaredConstructors28

Class.newInstance0() has thrown an UNKNOWN

org.omg.CORBA.UNKNOWN
java.lang.Class.newInstance0
27Web pages
UNKNOWNClass.newInstance027

Class.forName1() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.forName1
26Web pages
NoClassDefFoundErrorClass.forName126

Class.getDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.lang.Class.getDeclaredMethods
24Web pages
NoClassDefFoundErrorClass.getDeclaredMethods24
Package namePatterns foundSolution coverageSummary coverage
java.lang40961
java.io3903
java.awt3661
java.util.concurrent3518
java.lang.reflect3508
sun.reflect2132
java.util2082
java.net2076
javax.swing1413
java.security864
javax.naming845
java.sql697
sun.net.www.protocol.https694
sun.net.www.protocol.http692
sun.nio.ch460
java.util.zip291
sun.rmi.server288
java.nio.file270
java.util.regex261
sun.rmi.transport.tcp261
com.sun.jndi.ldap245
com.sun.org.apache.xerces.internal.impl236
com.sun.org.apache.xerces.internal.parsers225
javax.swing.plaf.basic219
sun.net.www.http217
java.util.stream189
sun.misc180
java.util.logging155
com.sun.org.apache.xerces.internal.jaxp151
java.nio149
java.util.jar144
javax.swing.text142
sun.launcher138
java.beans137
java.text133
javax.imageio130
sun.rmi.registry127
javax.net.ssl117
javax.management.remote.rmi116
javax.security.auth.login115
java.rmi114
com.sun.org.apache.xalan.internal.xsltc.trax110
sun.nio.cs110
java.awt.image104
sun.rmi.transport97
javax.security.auth97
java.nio.channels95
sun.instrument92
java.awt.event86
javax.naming.directory78
Package nameClass namePatterns foundSolution coverageSummary coverage
java.langThread34589
java.langClassLoader2583
java.langClass2133
java.langString291
java.langThrowable243
java.langRuntime161
java.langSystem160
java.langStringBuilder112
java.langSecurityManager86
java.langStringBuffer54
java.langThreadGroup48
java.langProcessBuilder45
java.langAbstractStringBuilder43
java.langObject43
java.langInteger42
java.langDouble42
java.langException29
java.langFloat28
java.langLong28
java.langStringCoding18
java.langRuntimeException17
java.langProcessImpl13
java.langByte13
java.langEnum11
java.langThreadLocal11
java.langCharacter10
java.langClassNotFoundException8
java.langNumberFormatException8
java.langIterable8
java.langUNIXProcess7
java.langClassLoader$NativeLibrary7
java.langNullPointerException6
java.langError6
java.langShort5
java.langMath5
java.langBoolean4
java.langNoClassDefFoundError4
java.langIllegalArgumentException3
java.langSecurityException3
java.langShutdown3
java.langClassCastException3
java.langClassLoader$13
java.langStringCoding$StringDecoder2
java.langIllegalStateException2
java.langPackage1
java.langUnsatisfiedLinkError1
java.langArithmeticException1
java.langStackOverflowError1
java.langArrayIndexOutOfBoundsException1
java.langProcessEnvironment$StringEnvironment1
Package nameClass nameMethod namePatterns foundSolution coverage
java.langClassforName684
java.langClassnewInstance245
java.langClassprivateGetDeclaredMethods130
java.langClassgetDeclaredMethods111
java.langClassgetConstructor0103
java.langClassprivateGetDeclaredConstructors97
java.langClassforName071
java.langClassgetDeclaredFields64
java.langClassgetMethod60
java.langClassgetMethods47
java.langClassgetConstructor42
java.langClassnewInstance032
java.langClassprivateGetDeclaredFields31
java.langClassgetDeclaredConstructors29
java.langClassgetDeclaredMethod28
java.langClassprivateGetPublicMethods28
java.langClassgetDeclaredConstructors027
java.langClassgetDeclaredMethods026
java.langClassgetDeclaredConstructor23
java.langClassgetDeclaredField19
java.langClassgetMethod018
java.langClassgetDeclaredFields017
java.langClassgetAnnotation15
java.langClassinitializeClass13
java.langClassclassForName10
java.langClassinitAnnotationsIfNecessary9
java.langClassgetConstructors9
java.langClasscheckMemberAccess9
java.langClassgetResourceAsStream8
java.langClassgetSimpleName7
java.langClassgetField6
java.langClassannotationData6
java.langClassgetAnnotations6
java.langClassgetGenericSuperclass5
java.langClassnewInstanceImpl5
java.langClassinitialize5
java.langClassgetCanonicalName5
java.langClassgetClassLoader4
java.langClassgetDeclaringClass4
java.langClassgetGenericInterfaces4
java.langClassgetProtectionDomain4
java.langClassprivateGetMethodRecursive4
java.langClassgetEnclosingClass4
java.langClassgetDexCacheType3
java.langClassgetSimpleBinaryName3
java.langClassgetDeclaredAnnotations3
java.langClassisAnnotationPresent3
java.langClassforNameImpl3
java.langClassgetFields2
java.langClassverify2
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
java.langClassforNameClassNotFoundException235
java.langClassforNameNoClassDefFoundError154
java.langClassprivateGetDeclaredMethodsNoClassDefFoundError87
java.langClassnewInstanceNoClassDefFoundError86
java.langClassgetDeclaredMethodsNoClassDefFoundError81
java.langClassprivateGetDeclaredConstructorsNoClassDefFoundError79
java.langClassgetConstructor0NoClassDefFoundError74
java.langClassgetDeclaredFieldsNoClassDefFoundError45
java.langClassforNameUnsupportedClassVersionError39
java.langClassgetMethodsNoClassDefFoundError31
java.langClassgetMethodNoClassDefFoundError29
java.langClassprivateGetDeclaredFieldsNoClassDefFoundError27
java.langClassgetDeclaredConstructors0NoClassDefFoundError25
java.langClassforName0ClassNotFoundException23
java.langClassgetConstructorNoClassDefFoundError22
java.langClassgetDeclaredConstructorsNoClassDefFoundError22
java.langClassgetDeclaredMethods0NoClassDefFoundError22
java.langClassforNameUnsatisfiedLinkError21
java.langClassforName0NoClassDefFoundError17
java.langClassforNameClassFormatError17
java.langClassprivateGetPublicMethodsNoClassDefFoundError17
java.langClassgetDeclaredFields0NoClassDefFoundError16
java.langClassprivateGetDeclaredMethodsClassNotFoundException14
java.langClassforNameIllegalStateException14
java.langClassgetDeclaredMethodNoClassDefFoundError13
java.langClassforNameSecurityException13
java.langClassforNameIncompatibleClassChangeError12
java.langClassforNameVerifyError12
java.langClassnewInstanceInstantiationException12
java.langClassgetDeclaredConstructorNoClassDefFoundError12
java.langClassforNameNullPointerException11
java.langClassforNamePluginException11
java.langClassnewInstance0NoClassDefFoundError10
java.langClassgetMethod0NoClassDefFoundError10
java.langClassgetConstructor0ClassNotFoundException10
java.langClassforNameExceptionInInitializerError10
java.langClassnewInstanceClassNotFoundException9
java.langClassforNameInternalError9
java.langClassforNameAccessControlException9
java.langClassnewInstanceVerifyError9
java.langClassclassForNameClassNotFoundException8
java.langClassgetDeclaredFieldNoClassDefFoundError8
java.langClassgetMethodNoSuchMethodException8
java.langClasscheckMemberAccessAccessControlException7
java.langClassgetConstructorNoSuchMethodException7
java.langClassgetDeclaredMethodNoSuchMethodException7
java.langClassprivateGetDeclaredConstructorsClassNotFoundException7
java.langClassnewInstanceNoSuchMethodError7
java.langClassnewInstanceIllegalStateException6
java.langClassgetDeclaredMethodsClassNotFoundException6