testlens-app[bot] commented on PR #15787: URL: https://github.com/apache/grails-core/pull/15787#issuecomment-4822842313
## 🚨 TestLens detected 1 failed test 🚨 Here is what you can do: 1) Inspect the test failures carefully. 2) If you are convinced that some of the tests are flaky, you can mute them below. 3) Finally, trigger a rerun by checking the rerun checkbox. ### Test Summary #### [CI / Functional Tests \(Java 21, indy\=true\)](https://github.com/apache/grails-core/actions/runs/28304430898/job/83858127629?pr=15787) > :grails-test-examples-app1:test | Test | Runs | |---|---| | BookHibernateSpec > Test that dynamic finders work | ❌ | 🏷️ Commit: 12ea8b067b1f32fb4491a0cd4fdd99119a7e65b8 ▶️ Tests: 558 executed 🟡 Checks: 11/35 completed ### Test Failures <details> <summary><strong>BookHibernateSpec > Test that dynamic finders work</strong> (:grails-test-examples-app1:test in <a href="https://github.com/apache/grails-core/actions/runs/28304430898/job/83858127629?pr=15787">CI / Functional Tests (Java 21, indy=true)</a>)</summary> ``` Condition failed with Exception: Book.count() == 1 | | | java.lang.NullPointerException: Cannot invoke "org.grails.orm.hibernate.HibernateDatastore.getHibernateTemplate()" because the return value of "org.grails.orm.hibernate.AbstractHibernateGormStaticApi.getHibernateDatastore()" is null | at org.grails.orm.hibernate.AbstractHibernateGormStaticApi.getHibernateTemplate(AbstractHibernateGormStaticApi.groovy:91) | at org.grails.orm.hibernate.HibernateGormStaticApi.getHibernateTemplate(HibernateGormStaticApi.groovy:108) | at org.grails.orm.hibernate.AbstractHibernateGormStaticApi.count(AbstractHibernateGormStaticApi.groovy:235) | at org.grails.datastore.gorm.GormEntity$Trait$Helper.count(GormEntity.groovy:724) | at functionaltests.BookHibernateSpec.Test that dynamic finders work(BookHibernateSpec.groovy:33) class functionaltests.Book at functionaltests.BookHibernateSpec.Test that dynamic finders work(BookHibernateSpec.groovy:33) Caused by: java.lang.NullPointerException: Cannot invoke "org.grails.orm.hibernate.HibernateDatastore.getHibernateTemplate()" because the return value of "org.grails.orm.hibernate.AbstractHibernateGormStaticApi.getHibernateDatastore()" is null at org.grails.orm.hibernate.AbstractHibernateGormStaticApi.getHibernateTemplate(AbstractHibernateGormStaticApi.groovy:91) at org.grails.orm.hibernate.HibernateGormStaticApi.getHibernateTemplate(HibernateGormStaticApi.groovy:108) at org.grails.orm.hibernate.AbstractHibernateGormStaticApi.count(AbstractHibernateGormStaticApi.groovy:235) at org.grails.datastore.gorm.GormEntity$Trait$Helper.count(GormEntity.groovy:724) ... 1 more ``` </details> ### Muted Tests > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 BookHibernateSpec > Test that dynamic finders work <!-- uniqueId=[engine:spock]/[spec:functionaltests.BookHibernateSpec]/[feature:$spock_feature_1_0] --> 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](https://testlens.app)._ -- 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]
