Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19099

NPE failures when executing Hibernae ORM TS against IBM JDK 8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.3.0.GA.CR4
    • Hibernate
    • None

      This is cloned from https://hibernate.atlassian.net/browse/HHH-13911

      Several NPE failures are thrown when executing tests with the following command:

      # 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
      

      Environment:

      Java(TM) SE Runtime Environment (build 8.0.6.5 - pxa6480sr6fp5-20200111_02(SR6 FP5))
      08:45:01 IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20200108_436782 (JIT enabled, AOT enabled)
      08:45:01 OpenJ9 - 7d1059c
      08:45:01 OMR - d059105
      08:45:01 IBM - c8aee39)

      The following is the list of test methods currently failing due to a NPE:

      • org.hibernate.test.hql.TupleSupportTest.releaseSessionFactory
      • org.hibernate.test.multitenancy.discriminator.DiscriminatorMultiTenancyTest.destroy
      • org.hibernate.jpa.test.cascade.multicircle.MultiCircleJpaCascadeTest.cleanup
      • org.hibernate.jpa.test.transaction.TransactionCommitFailureTest.tearDown
      • org.hibernate.jpa.test.criteria.components.joins.ComponentJoinTest.after
      • org.hibernate.jpa.test.procedure.StoredProcedureResultSetMappingTest.releaseResources
      • org.hibernate.test.cdi.converters.legacy.QueryTest.cleanUpTestData
      • org.hibernate.test.locking.warning.LockNoneWarmingTest.tearDown
      • org.hibernate.testing.transaction.TransactionUtil.doInJPA
      • org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase.getOrCreateEntityManager

            Unassigned Unassigned
            fburzigo Fabio Burzigotti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: