{"record":{"id":"33d820cdcd428cc6","repo":"hibernate/hibernate-orm","slug":"e-getmessage","errorCode":null,"errorMessage":"e.getMessage()","messagePattern":"e\\.getMessage\\(\\)","errorType":"exception","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureCallImpl.java","lineNumber":1235,"sourceCode":"\t\t\treturn getUpdateCount();\n\t\t}\n\t\tfinally {\n\t\t\tgetOutputs().release();\n\t\t}\n\t}\n\n\t@Override\n\tpublic Object getOutputParameterValue(int position) {\n\t\tcheckNotClosed();\n\t\t// According to spec, an exception thrown from this method should not mark for rollback.\n\t\ttry {\n\t\t\treturn getOutputs().getOutputParameterValue( position );\n\t\t}\n\t\tcatch (ParameterStrategyException e) {\n\t\t\tthrow new IllegalArgumentException( \"Invalid mix of named and positional parameters\", e );\n\t\t}\n\t\tcatch (NoSuchParameterException e) {\n\t\t\tthrow new IllegalArgumentException( e.getMessage(), e );\n\t\t}\n\t}\n\n\t@Override\n\tpublic Object getOutputParameterValue(@Nonnull String parameterName) {\n\t\tcheckNotClosed();\n\t\t// According to spec, an exception thrown from this method should not mark for rollback.\n\t\ttry {\n\t\t\treturn getOutputs().getOutputParameterValue( parameterName );\n\t\t}\n\t\tcatch (ParameterStrategyException e) {\n\t\t\tthrow new IllegalArgumentException( \"Invalid mix of named and positional parameters\", e );\n\t\t}\n\t\tcatch (NoSuchParameterException e) {\n\t\t\tthrow new IllegalArgumentException( e.getMessage(), e );\n\t\t}\n\t}\n","sourceCodeStart":1217,"sourceCodeEnd":1253,"githubUrl":"https://github.com/hibernate/hibernate-orm/blob/fad1729dce015f908198d57a8d80274a30f905a5/hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureCallImpl.java#L1217-L1253","documentation":"Error \"e.getMessage()\" thrown in hibernate/hibernate-orm.","triggerScenarios":"A runtime precondition of the Hibernate API is violated.","commonSituations":"Occurs when application code or configuration does not satisfy the documented contract of the API being called.","solutions":["Inspect the wrapped exception message and stack trace for the underlying parameter binding error.","Ensure all IN parameters are bound before execution."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fad1729dce015f908198d57a8d80274a30f905a5","analyzedAt":"2026-08-22T04:13:57.527Z","schemaVersion":2},"datasetVersion":"2026-08-22T09:17:25.309Z"}