[ https://issues.apache.org/jira/browse/TAP5-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17893122#comment-17893122 ]
Hudson commented on TAP5-2783: ------------------------------ SUCCESS: Integrated in Jenkins build Tapestry ยป tapestry-javax-java-9-freestyle #42 (See [https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/42/]) added an entity with compound ids to TestApp0 to reproduce the problem described in TAP5-2783 (thiago: rev 154b293d6755440dd72532d2f4483da74dedc83e) * (add) tapestry-hibernate/src/test/java/org/example/app0/entities/CompoundIdEntity.java * (add) tapestry-hibernate/src/test/java/org/example/app0/entities/CompoundIdEntityPK.java Fix for TAP5-2783 (NPE on init of the HibernateModule when entities with compound ids are used) (thiago: rev dacf0ce2606f0b59cd75442cca9631acead42745) * (edit) tapestry-hibernate/src/main/java/org/apache/tapestry5/hibernate/web/modules/HibernateModule.java > Hibernate module initialization fails when entities with compound ids exist > --------------------------------------------------------------------------- > > Key: TAP5-2783 > URL: https://issues.apache.org/jira/browse/TAP5-2783 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-hibernate > Affects Versions: 5.8.6 > Reporter: Hendrik Noot > Assignee: Ben Weidig > Priority: Major > Fix For: 5.9.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > The Tapestry Hibernate module throws a null pointer exception during > initialization when entities with compound ids exist and it tries to build a > value encoder for such an entity. This is because the implementation is > specific to entities with a single id, so it never worked. > This could be solved by ignoring these entities or implementing support for > compound ids. > Since no one filed a bug for this yet I would suggest ignoring them and will > provide a pull request. -- This message was sent by Atlassian Jira (v8.20.10#820010)