When using IBM JDK 8 Eclipse OpenJ9 VM AdoptOpenJDK (see _Environment_ details), a java.lang. AssertionError IncompatibleClassChangeError exception is thrown by SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest the following test methods
* org.hibernate.test.typeoverride.TypeOverrideTest.testInsert * org.hibernate.test.typeoverride.TypeOverrideTest.testRegisteredFunction
when the following commands are executed to run the Hibernate ORM tests.
{code:java}# make gradle ignore test failures echo -e '\ntest { ignoreFailures=true }' >> hibernate-core/hibernate-core.gradle echo -e '\ntest { ignoreFailures=true }' >> hibernate-agroal/hibernate-agroal.gradle echo -e '\ntest { ignoreFailures=true }' >> hibernate-c3p0/hibernate-c3p0.gradle echo -e '\ntest { ignoreFailures=true }' >> hibernate-ehcache/hibernate-ehcache.gradle echo -e '\ntest { ignoreFailures=true }' >> hibernate-envers/hibernate-envers.gradle echo -e '\ntest { ignoreFailures=true }' >> hibernate-proxool/hibernate-proxool.gradle
./gradlew test -Dmaven.repo.url=http://jcenter.bintray.com -Dgradle.plugin.url=https://plugins.gradle.org/m2/ \ -Dhibernate.show_sql=true -Dhibernate.format_sql=true --info --stacktrace -x :hibernate-core:classes \ -x :hibernate-envers:classes -x :hibernate-ehcache:test -x :hibernate-hikaricp:test -x :hibernate-jcache:test \ -x :hibernate-vibur:test -x :hibernate-osgi:test -x :documentation:test -x :hibernate-spatial:test \ -x :hibernate-testing:test --project-cache-dir=/tmp --continue -g local-home{code}
*Stack trace:* ... 10 java.lang.IncompatibleClassChangeError : 40 org.hibernate.test.typeoverride.StoredPrefixedStringType at org.hibernate.type.Type.resolve(Type.java : 04 487) at org.hibernate. boot engine . spi internal . metadatabuildercontributor TwoPhaseLoad . SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest > test FAILED doInitializeEntity(TwoPhaseLoad.java:205) 10 at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java : 40 160) at org.hibernate.loader.plan.exec.process.internal.AbstractRowReader.performTwoPhaseLoad(AbstractRowReader.java : 04 252) at org.hibernate.loader.plan.exec.process.internal.AbstractRowReader.finishUp(AbstractRowReader. java :215) at org . lang hibernate . AssertionError loader.plan.exec.process.internal.ResultSetProcessorImpl.extractResults(ResultSetProcessorImpl.java:133) 10 at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java : 40 107) at org.hibernate.loader.entity.plan.AbstractLoadPlanBasedEntityLoader.load(AbstractLoadPlanBasedEntityLoader.java : 04 188) at org. junit hibernate . Assert persister . fail entity.AbstractEntityPersister.load ( Assert AbstractEntityPersister .java: 86 4289 ) 10 at org.hibernate.event.internal.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java : 40 597) at org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java : 04 565) at org. junit hibernate . Assert event . assertTrue internal.DefaultLoadEventListener.load ( Assert DefaultLoadEventListener .java: 41 226 ) 10 at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java : 40 350) at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java : 04 127) at org. junit hibernate . Assert event . assertTrue internal.DefaultLoadEventListener.onLoad ( Assert DefaultLoadEventListener .java: 52 93 ) 10 at org.hibernate.internal.SessionImpl.fireLoadNoChecks(SessionImpl.java : 40 1277) at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java : 04 1265) at org.hibernate. boot internal . spi SessionImpl . metadatabuildercontributor access$2000(SessionImpl . SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest java:208) at org . buildEntityManagerFactory hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.doLoad ( SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest SessionImpl .java: 38 2901 ) at org . hibernate . internal . SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2875) at org.hibernate.internal.SessionImpl.get(SessionImpl.java:1097) ... |
|