Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.3.0.GA.CR4
    • Fix Version/s: None
    • Component/s: Hibernate
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      Hide
      # 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
      
      Show
      # 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
    • Affects Testing:
      Blocks Testing

      Description

      This is cloned from the following Hibernate ORM project JIRA: https://hibernate.atlassian.net/browse/HHH-13341
      When building - see Steps to Reproduce - Hibernate ORM on IBM JDK 8 thousands of tests fail with the same error:

      Error Message

      java.lang.annotation.AnnotationFormatError: java.lang.IllegalArgumentException: Wrong type at constant pool index
      

      Stacktrace

      java.lang.annotation.AnnotationFormatError: java.lang.IllegalArgumentException: Wrong type at constant pool index
      	at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:89)
      	at java.lang.reflect.AccessibleObject.getAnnotationsFromCache(AccessibleObject.java:313)
      	at java.lang.reflect.Executable.declaredAnnotations(Executable.java:606)
      	at java.lang.reflect.Executable.getAnnotation(Executable.java:581)
      	at java.lang.reflect.Method.getAnnotation(Method.java:643)
      	at org.hibernate.service.internal.AbstractServiceRegistryImpl.applyInjections(AbstractServiceRegistryImpl.java:293)
      	at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:283)
      	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243)
      	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
      	at org.hibernate.boot.internal.SessionFactoryOptionsBuilder.interpretConnectionHandlingMode(SessionFactoryOptionsBuilder.java:601)
      	at org.hibernate.boot.internal.SessionFactoryOptionsBuilder.<init>(SessionFactoryOptionsBuilder.java:435)
      	at org.hibernate.boot.internal.SessionFactoryBuilderImpl.<init>(SessionFactoryBuilderImpl.java:53)
      	at org.hibernate.boot.internal.MetadataImpl.getSessionFactoryBuilder(MetadataImpl.java:153)
      	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:935)
      	at org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase.buildEntityManagerFactory(BaseEntityManagerFunctionalTestCase.java:75)
      	at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      	at java.lang.reflect.Method.invoke(Method.java:508)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:277)
      	at java.lang.Thread.run(Thread.java:820)
      Caused by: java.lang.IllegalArgumentException: Wrong type at constant pool index
      	at sun.reflect.ConstantPool.getClassAt(ConstantPool.java:49)
      	at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:256)
      	at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:132)
      	at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:84)
      	... 26 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gbadner Gail Badner
                  Reporter:
                  fburzigo Fabio Burzigotti
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated: