testlens-app[bot] commented on PR #16350:
URL: https://github.com/apache/grails-core/pull/16350#issuecomment-6104783990

   ## 🚨 TestLens detected 1 failed test 🚨
   
   ### Test Summary
   > [!TIP]
   > Inspect all details with the [TestLens 
CLI](https://testlens.app/docs/features/cli): `testlens pr 16350`
   
   #### [CI / Build Grails-Core Rerunning all Tasks \(Ubuntu JDK 21 shard 
2\)](https://github.com/apache/grails-core/actions/runs/38106270918/job/114372365744?pr=16350)
 > :grails-data-graphql-core:test
   
   | Test | Runs | Flakiness |
   |---|---|--:|
   | SchemaSpec | ❌ | 0% 🟢 |
   
   🏷️ Commit: 8f8deb571dd01390185d8e54cd3741032701aa19
   ▶️ Tests:  2160 executed
   🟡 Checks: 15/83 completed
   
   ### Test Failures
   
   <details><summary><strong>SchemaSpec</strong> 
(:grails-data-graphql-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/38106270918/job/114372365744?pr=16350";>CI
 / Build Grails-Core Rerunning all Tasks (Ubuntu JDK 21 shard 2)</a>)</summary>
   
   ```
   java.lang.RuntimeException: java.lang.NullPointerException: Cannot invoke 
"org.hibernate.mapping.Value.getType()" because the return value of 
"org.hibernate.mapping.Collection.getElement()" is null
        at 
org.grails.orm.hibernate.cfg.HibernateMappingContextConfiguration.buildSessionFactory(HibernateMappingContextConfiguration.java:364)
        at 
org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory.create(HibernateConnectionSourceFactory.java:166)
        at 
org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory.create(HibernateConnectionSourceFactory.java:280)
        at 
org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory.create(HibernateConnectionSourceFactory.java:68)
        at 
org.grails.datastore.mapping.core.connections.AbstractConnectionSourceFactory.create(AbstractConnectionSourceFactory.java:96)
        at 
org.grails.datastore.mapping.core.connections.AbstractConnectionSourceFactory.create(AbstractConnectionSourceFactory.java:64)
        at 
org.grails.datastore.mapping.core.connections.ConnectionSourcesInitializer.create(ConnectionSourcesInitializer.groovy:45)
        at 
org.grails.orm.hibernate.HibernateDatastore.<init>(HibernateDatastore.java:370)
        at 
org.grails.orm.hibernate.HibernateDatastore.<init>(HibernateDatastore.java:406)
        at 
org.grails.orm.hibernate.HibernateDatastore.<init>(HibernateDatastore.java:410)
        at org.grails.gorm.graphql.SchemaSpec.setupSpec(SchemaSpec.groovy:49)
   Caused by: java.lang.NullPointerException: Cannot invoke 
"org.hibernate.mapping.Value.getType()" because the return value of 
"org.hibernate.mapping.Collection.getElement()" is null
        at org.hibernate.mapping.Property.getCascadeStyle(Property.java:175)
        at org.hibernate.type.ComponentType.<init>(ComponentType.java:100)
        at org.hibernate.type.ComponentType.<init>(ComponentType.java:69)
        at org.hibernate.mapping.Component.getType(Component.java:446)
        at org.hibernate.mapping.Component.getType(Component.java:68)
        at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:640)
        at org.hibernate.mapping.Component.isValid(Component.java:803)
        at org.hibernate.mapping.Property.isValid(Property.java:351)
        at 
org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:705)
        at org.hibernate.mapping.RootClass.validate(RootClass.java:286)
        at 
org.hibernate.boot.internal.MetadataImpl.validate(MetadataImpl.java:464)
        at 
org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:269)
        at 
org.hibernate.internal.SessionFactoryRegistry.instantiateSessionFactory(SessionFactoryRegistry.java:64)
        at 
org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:458)
        at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1112)
        at 
org.grails.orm.hibernate.cfg.HibernateMappingContextConfiguration.buildSessionFactory(HibernateMappingContextConfiguration.java:362)
        ... 10 more
   ```
   
   </details>
   
   ### Rerun Controls
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 SchemaSpec <!-- 
uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.SchemaSpec] -->
   
   Reuse successful test results:
   
   🔲 ♻️ Only rerun the tests that failed or were muted before
   
   Click the checkbox to trigger a rerun:
   
   🔲 **Rerun jobs**
   
   ---
   _Learn more about TestLens at 
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to