Details
Description
Summary
Incorrect metamodel for a number of generated classes causes error level log messages to be logged upon start-up. There is no actual impact of these errors since the Hibernate feature that is being validated is un-used in Bamboo.
Steps to Reproduce
- Start Bamboo 6.2.2
Expected Results
No errors.
Actual Results
The below exception is thrown in the atlassian-bamboo.log file:
2017-10-18 14:20:19,887 ERROR [localhost-startStop-1] [MetadataContext] HHH015007: Illegal argument on static metamodel field injection : com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl_#availabilityZones; expected type : org.hibernate.metamodel.internal.SingularAttributeImpl; encountered type : javax.persistence.metamodel.CollectionAttribute 2017-10-18 14:20:19,887 ERROR [localhost-startStop-1] [MetadataContext] HHH015007: Illegal argument on static metamodel field injection : com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl_#subnetIds; expected type : org.hibernate.metamodel.internal.SingularAttributeImpl; encountered type : javax.persistence.metamodel.CollectionAttribute 2017-10-18 14:20:19,904 ERROR [localhost-startStop-1] [MetadataContext] HHH015007: Illegal argument on static metamodel field injection : com.atlassian.bamboo.project.DefaultProject_#allPlans; expected type : org.hibernate.metamodel.internal.PluralAttributeImpl$CollectionAttributeImpl; encountered type : javax.persistence.metamodel.ListAttribute
Attachments
Issue Links
- is related to
-
BDEV-13981 Loading...