org.hibernate.annotations.common.AssertionFailure: Fail to process type argument in a generic declaration. Member : com.rtrms.application.view.filter.CollectionFilter#filters Type: class sun.reflect.generics.reflectiveObjects.WildcardTypeImpl

Stack Overflow | user2995031 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Migrating Hibernate 3.6 to Hibernate 5.2.3 Fail to process type argument in a generic delcaration

    Stack Overflow | 6 months ago | user2995031
    org.hibernate.annotations.common.AssertionFailure: Fail to process type argument in a generic declaration. Member : com.rtrms.application.view.filter.CollectionFilter#filters Type: class sun.reflect.generics.reflectiveObjects.WildcardTypeImpl

    Root Cause Analysis

    1. org.hibernate.annotations.common.AssertionFailure

      Fail to process type argument in a generic declaration. Member : com.rtrms.application.view.filter.CollectionFilter#filters Type: class sun.reflect.generics.reflectiveObjects.WildcardTypeImpl

      at org.hibernate.metamodel.internal.AttributeFactory$PluralAttributeMetadataImpl.getClassFromGenericArgument()
    2. org.hibernate.metamodel
      MetamodelImpl.initialize
      1. org.hibernate.metamodel.internal.AttributeFactory$PluralAttributeMetadataImpl.getClassFromGenericArgument(AttributeFactory.java:877)
      2. org.hibernate.metamodel.internal.AttributeFactory$PluralAttributeMetadataImpl.<init>(AttributeFactory.java:786)
      3. org.hibernate.metamodel.internal.AttributeFactory$PluralAttributeMetadataImpl.<init>(AttributeFactory.java:760)
      4. org.hibernate.metamodel.internal.AttributeFactory.determineAttributeMetadata(AttributeFactory.java:541)
      5. org.hibernate.metamodel.internal.AttributeFactory.buildAttribute(AttributeFactory.java:77)
      6. org.hibernate.metamodel.internal.MetadataContext.wrapUp(MetadataContext.java:213)
      7. org.hibernate.metamodel.internal.MetamodelImpl.initialize(MetamodelImpl.java:220)
      7 frames
    3. Hibernate
      SessionFactoryImpl.<init>
      1. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:297)
      1 frame
    4. org.hibernate.boot
      SessionFactoryBuilderImpl.build
      1. org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:493)
      1 frame
    5. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:710)
      2. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)
      2 frames
    6. com.rtrms.persistence
      HibernateRepositoryTest.setUp
      1. com.rtrms.persistence.hibernate.HibernateRepositoryTest.buildSessionFactory(HibernateRepositoryTest.java:583)
      2. com.rtrms.persistence.hibernate.HibernateRepositoryTest.setUp(HibernateRepositoryTest.java:170)
      2 frames
    7. JUnit
      TestCase.run
      1. junit.framework.TestCase.runBare(TestCase.java:128)
      2. junit.framework.TestResult$1.protect(TestResult.java:106)
      3. junit.framework.TestResult.runProtected(TestResult.java:124)
      4. junit.framework.TestResult.run(TestResult.java:109)
      5. junit.framework.TestCase.run(TestCase.java:120)
      5 frames
    8. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:121)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      6 frames