Line 123 shows:
The assumption that attribute is not null might not be valid.
It would be helpful if an exception was thrown to indicate an unexpected null attribute.
A more helpful message to assist with isolating the issue would be fantastic.
Hibernate 5.1.0, PostgreSQL 9.3.