{"record":{"id":"16b157782dcd783a","repo":"oracle/graal","slug":"failed-to-load-org-graalvm-jniutils-jniexceptionwr","errorCode":null,"errorMessage":"Failed to load org.graalvm.jniutils.JNIExceptionWrapperEntryPoints","messagePattern":"Failed to load org\\.graalvm\\.jniutils\\.JNIExceptionWrapperEntryPoints","errorType":"exception","errorClass":"InternalError","httpStatus":null,"severity":"error","filePath":"sdk/src/org.graalvm.jniutils/src/org/graalvm/jniutils/JNIExceptionWrapper.java","lineNumber":617,"sourceCode":"    private static JNI.JClass getEntryPoints(JNIEnv env) {\n        JNI.JClass res = entryPointsClass;\n        if (res.isNull()) {\n            String binaryName = getBinaryName(HS_ENTRYPOINTS_CLASS);\n            JNI.JClass entryPoints = findClass(env, binaryName);\n            if (entryPoints.isNull()) {\n                // Clear the exception and try to load the entry points class using JVMCI\n                // classloader.\n                ExceptionClear(env);\n                JObject classLoader = getJVMCIClassLoader(env);\n                if (classLoader.isNonNull()) {\n                    entryPoints = findClass(env, classLoader, binaryName);\n                }\n            }\n            if (entryPoints.isNull()) {\n                // Here we cannot use JNIExceptionWrapper.\n                // We failed to load HostSpot entry points for it.\n                ExceptionClear(env);\n                throw new InternalError(\"Failed to load \" + HS_ENTRYPOINTS_CLASS);\n            }\n            synchronized (JNIExceptionWrapper.class) {\n                res = entryPointsClass;\n                if (res.isNull()) {\n                    res = NewGlobalRef(env, entryPoints, \"Class<\" + HS_ENTRYPOINTS_CLASS + \">\");\n                    entryPointsClass = res;\n                }\n            }\n        }\n        return res;\n    }\n\n    /**\n     * Determines if {@code frame} is for a method denoting a JNI API call using\n     * {@code CFunctionPointer}.\n     */\n    private static boolean isJNIAPICall(StackTraceElement frame) {\n        return frame.getClassName().startsWith(JNI_FUNCTION_POINTER_CLASS_PREFIX);","sourceCodeStart":599,"sourceCodeEnd":635,"githubUrl":"https://github.com/oracle/graal/blob/a66e9ccd1d7bf2552883939aa0788dfd0e294aab/sdk/src/org.graalvm.jniutils/src/org/graalvm/jniutils/JNIExceptionWrapper.java#L599-L635","documentation":"Error \"Failed to load org.graalvm.jniutils.JNIExceptionWrapperEntryPoints\" thrown in oracle/graal.","triggerScenarios":"Thrown at sdk/src/org.graalvm.jniutils/src/org/graalvm/jniutils/JNIExceptionWrapper.java:617 when the library encounters an invalid state.","commonSituations":"Occurs when a caller violates the contract guarded by this check: Failed to load org.graalvm.jniutils.JNIExceptionWrapperEntryPoints","solutions":["Fix the condition reported by the error: Failed to load org.graalvm.jniutils.JNIExceptionWrapperEntryPoints","Check the throwing call site and ensure its documented preconditions (argument values, types, environment, or configuration) are satisfied before the call."],"exampleFix":"Validate inputs and environment so that the failing condition does not occur: Failed to load org.graalvm.jniutils.JNIExceptionWrapperEntryPoints","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a66e9ccd1d7bf2552883939aa0788dfd0e294aab","analyzedAt":"2026-08-14T13:58:47.161Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}