{"record":{"id":"db79d1e9ddc1e6e4","repo":"hibernate/hibernate-orm","slug":"object-name-to-parse-must-be-specified-but-found","errorCode":null,"errorMessage":"Object name to parse must be specified, but found null","messagePattern":"Object name to parse must be specified, but found null","errorType":"exception","errorClass":"IllegalIdentifierException","httpStatus":null,"severity":"error","filePath":"hibernate-core/src/main/java/org/hibernate/boot/model/relational/QualifiedNameParser.java","lineNumber":108,"sourceCode":"\t\t}\n\n\t\t@Override\n\t\tpublic int hashCode() {\n\t\t\treturn Objects.hash( catalogName, schemaName, objectName );\n\t\t}\n\t}\n\n\t/**\n\t * Parses a textual representation of a qualified name into a NameParts\n\t * representation.  Explicitly looks for the form {@code catalog.schema.name}.\n\t *\n\t * @param text The simple text representation of the qualified name.\n\t *\n\t * @return The wrapped QualifiedName\n\t */\n\tpublic NameParts parse(String text, Identifier defaultCatalog, Identifier defaultSchema) {\n\t\tif ( text == null ) {\n\t\t\tthrow new IllegalIdentifierException( \"Object name to parse must be specified, but found null\" );\n\t\t}\n\n\t\tif ( isQuotedInEntirety( text ) ) {\n\t\t\treturn new NameParts( defaultCatalog, defaultSchema,\n\t\t\t\t\tIdentifier.toIdentifier( unquote( text ), true, true, true ) );\n\t\t}\n\n\t\tString catalogName = null;\n\t\tString schemaName = null;\n\t\tString name;\n\n\t\tboolean catalogWasQuoted = false;\n\t\tboolean schemaWasQuoted = false;\n\t\tboolean nameWasQuoted;\n\n\t\tfinal String[] tokens = StringHelper.split( \".\", text );\n\t\tif ( tokens.length == 0 || tokens.length == 1 ) {\n\t\t\t// we have just a local name...","sourceCodeStart":90,"sourceCodeEnd":126,"githubUrl":"https://github.com/hibernate/hibernate-orm/blob/fad1729dce015f908198d57a8d80274a30f905a5/hibernate-core/src/main/java/org/hibernate/boot/model/relational/QualifiedNameParser.java#L90-L126","documentation":"Error \"Object name to parse must be specified, but found null\" thrown in hibernate/hibernate-orm.","triggerScenarios":"An entity mapping annotation or bootstrap configuration violates a Hibernate mapping rule.","commonSituations":"Annotation mapping mistakes: inverse-side @Id associations, @Column on @OneToOne, unmapped association targets, mismatched @EnumeratedValue/@Temporal usage, duplicate sequence generators.","solutions":["Provide a non-null catalog/schema/object name; check configuration properties and annotations for empty name values."],"exampleFix":"Provide a non-null catalog/schema/object name; check configuration properties and annotations for empty name values.","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"}