"org.hibernate.sql.results.graph.Fetchable.asAttributeMapping()" is null

Hi,

I have the same problem that :

java - Hibernate entity with @Any attribute throws a nullpointer exception when updating - Stack Overflow

Do you know if a ticket was opened? I did not find any
or has been otherwise treated ?

Thank you.
Vincent

I don’t know of a ticket for this yet. Can you please create one, ideally with a reproducer? :slight_smile:

I will do and try to do the test to reproduce ^^

I created the JIRA issue:

[HHH-16532] Hibernate entity with @Any attribute throws a nullpointer exception when merging - Hibernate JIRA (atlassian.net)

I’m creating the pull request for the reproduce test but I don’t know how to link the PR to the JIRA ticket?
Only with the web link ?

It will link automatically. Thanks!

It’s ok ?
HHH-16532 : Reproduce java.lang.NullPointerException: Cannot invoke "… by boutss · Pull Request #262 · hibernate/hibernate-test-case-templates (github.com)

I dont see the link in JIRA I have to do something else?

The PR is only linked if you provide the PR against the hibernate-core repository, but it’s fine, I’ll add a link

1 Like

To do well I should have published the PR on hibernate-core?

It would be best if you provide PRs against the hibernate-core repository, but it’s no big deal if you provide the PR against the test cases repository.

Ok for the next one I will do like that. Thanks.

I’m not sure if you’re using Spring Boot, but I’m having the same problem and added my own reproducible “test case”.

Only Hibernate 6.2RC3 for me.