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

   ## 🚨 TestLens detected 3 failed tests 🚨
   
   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
   
   | Check | Project/Task | Test | Runs |
   |---|---|---|---|
   | [CI / Functional Tests \(Java 25, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/23168754337/job/67315401254?pr=15510)
 | :grails-test-examples-app1:test | BookControllerSpec > Test that the delete 
action deletes an instance if it exists | ❌ |
   | [CI / Functional Tests \(Java 25, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/23168754337/job/67315401254?pr=15510)
 | :grails-test-examples-app1:test | BookControllerSpec > Test the index action 
returns the correct model | ❌ |
   | [CI / Functional Tests \(Java 25, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/23168754337/job/67315401254?pr=15510)
 | :grails-test-examples-app1:test | BookControllerSpec > Test the save action 
correctly persists an instance | ❌ |
   
   🏷️ Commit: 26b443771ca5ffa6f346d56a4ee9de14a33f9932
   ▶️ Tests:  6398 executed
   🟡 Checks: 6/27 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>BookControllerSpec > Test that the delete action deletes an 
instance if it exists</strong> (:grails-test-examples-app1:test in <a 
href="https://github.com/apache/grails-core/actions/runs/23168754337/job/67315401254?pr=15510";>CI
 / Functional Tests (Java 25, indy=false)</a>)</summary>
   
   ```
   Condition failed with Exception:
   
   Book.count() == 1
   |    |
   |    java.lang.NullPointerException: Cannot execute null+null
   |            at 
org.grails.datastore.mapping.simple.query.SimpleMapQuery.applyMaxAndOffset(SimpleMapQuery.groovy:177)
   |            at 
org.grails.datastore.mapping.simple.query.SimpleMapQuery.executeQuery(SimpleMapQuery.groovy:163)
   |            at 
org.grails.datastore.mapping.query.Query.doList(Query.java:600)
   |            at 
org.grails.datastore.mapping.query.Query.singleResult(Query.java:588)
   |            at 
org.grails.datastore.gorm.GormStaticApi.count_closure18(GormStaticApi.groovy:550)
   |            at groovy.lang.Closure.call(Closure.java:433)
   |            at 
org.grails.datastore.mapping.core.DatastoreUtils.execute(DatastoreUtils.java:335)
   |            at 
org.grails.datastore.gorm.AbstractDatastoreApi.execute(AbstractDatastoreApi.groovy:44)
   |            at 
org.grails.datastore.gorm.GormStaticApi.count(GormStaticApi.groovy:546)
   |            at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.count(GormEntity.groovy:705)
   |            at functionaltests.BookControllerSpec.Test that the delete 
action deletes an instance if it exists(BookControllerSpec.groovy:157)
   class functionaltests.Book
   
        at functionaltests.BookControllerSpec.Test that the delete action 
deletes an instance if it exists(BookControllerSpec.groovy:157)
   Caused by: java.lang.NullPointerException: Cannot execute null+null
        at 
org.grails.datastore.mapping.simple.query.SimpleMapQuery.applyMaxAndOffset(SimpleMapQuery.groovy:177)
        at 
org.grails.datastore.mapping.simple.query.SimpleMapQuery.executeQuery(SimpleMapQuery.groovy:163)
        at org.grails.datastore.mapping.query.Query.doList(Query.java:600)
        at org.grails.datastore.mapping.query.Query.singleResult(Query.java:588)
        at 
org.grails.datastore.gorm.GormStaticApi.count_closure18(GormStaticApi.groovy:550)
        at groovy.lang.Closure.call(Closure.java:433)
        at 
org.grails.datastore.mapping.core.DatastoreUtils.execute(DatastoreUtils.java:335)
        at 
org.grails.datastore.gorm.AbstractDatastoreApi.execute(AbstractDatastoreApi.groovy:44)
        at 
org.grails.datastore.gorm.GormStaticApi.count(GormStaticApi.groovy:546)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.count(GormEntity.groovy:705)
        ... 1 more
   ```
   
   </details>
   <details>
   
   <summary><strong>BookControllerSpec > Test the index action returns the 
correct model</strong> (:grails-test-examples-app1:test in <a 
href="https://github.com/apache/grails-core/actions/runs/23168754337/job/67315401254?pr=15510";>CI
 / Functional Tests (Java 25, indy=false)</a>)</summary>
   
   ```
   java.lang.NullPointerException: Cannot execute null+null
        at 
org.grails.datastore.mapping.simple.query.SimpleMapQuery.applyMaxAndOffset(SimpleMapQuery.groovy:177)
        at 
org.grails.datastore.mapping.simple.query.SimpleMapQuery.executeQuery(SimpleMapQuery.groovy:163)
        at org.grails.datastore.mapping.query.Query.doList(Query.java:600)
        at org.grails.datastore.mapping.query.Query.singleResult(Query.java:588)
        at 
org.grails.datastore.gorm.GormStaticApi.count_closure18(GormStaticApi.groovy:550)
        at groovy.lang.Closure.call(Closure.java:433)
        at 
org.grails.datastore.mapping.core.DatastoreUtils.execute(DatastoreUtils.java:335)
        at 
org.grails.datastore.gorm.AbstractDatastoreApi.execute(AbstractDatastoreApi.groovy:44)
        at 
org.grails.datastore.gorm.GormStaticApi.count(GormStaticApi.groovy:546)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.count(GormEntity.groovy:705)
        at functionaltests.BookController.index(BookController.groovy:39)
        at functionaltests.BookController.index_closure7(BookController.groovy)
        at groovy.lang.Closure.call(Closure.java:433)
        at groovy.lang.Closure.call(Closure.java:422)
        at 
grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:98)
        at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:95)
        at 
org.grails.testing.runtime.support.ActionSettingMethodHandler.invoke(ActionSettingMethodHandler.groovy:50)
        at functionaltests.BookControllerSpec.Test the index action returns the 
correct model(BookControllerSpec.groovy:36)
   ```
   
   </details>
   <details>
   
   <summary><strong>BookControllerSpec > Test the save action correctly 
persists an instance</strong> (:grails-test-examples-app1:test in <a 
href="https://github.com/apache/grails-core/actions/runs/23168754337/job/67315401254?pr=15510";>CI
 / Functional Tests (Java 25, indy=false)</a>)</summary>
   
   ```
   Condition failed with Exception:
   
   Book.count() == 1
   |    |
   |    java.lang.NullPointerException: Cannot execute null+null
   |            at 
org.grails.datastore.mapping.simple.query.SimpleMapQuery.applyMaxAndOffset(SimpleMapQuery.groovy:177)
   |            at 
org.grails.datastore.mapping.simple.query.SimpleMapQuery.executeQuery(SimpleMapQuery.groovy:163)
   |            at 
org.grails.datastore.mapping.query.Query.doList(Query.java:600)
   |            at 
org.grails.datastore.mapping.query.Query.singleResult(Query.java:588)
   |            at 
org.grails.datastore.gorm.GormStaticApi.count_closure18(GormStaticApi.groovy:550)
   |            at groovy.lang.Closure.call(Closure.java:433)
   |            at 
org.grails.datastore.mapping.core.DatastoreUtils.execute(DatastoreUtils.java:335)
   |            at 
org.grails.datastore.gorm.AbstractDatastoreApi.execute(AbstractDatastoreApi.groovy:44)
   |            at 
org.grails.datastore.gorm.GormStaticApi.count(GormStaticApi.groovy:546)
   |            at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.count(GormEntity.groovy:705)
   |            at functionaltests.BookControllerSpec.Test the save action 
correctly persists an instance(BookControllerSpec.groovy:74)
   class functionaltests.Book
   
        at functionaltests.BookControllerSpec.Test the save action correctly 
persists an instance(BookControllerSpec.groovy:74)
   Caused by: java.lang.NullPointerException: Cannot execute null+null
        at 
org.grails.datastore.mapping.simple.query.SimpleMapQuery.applyMaxAndOffset(SimpleMapQuery.groovy:177)
        at 
org.grails.datastore.mapping.simple.query.SimpleMapQuery.executeQuery(SimpleMapQuery.groovy:163)
        at org.grails.datastore.mapping.query.Query.doList(Query.java:600)
        at org.grails.datastore.mapping.query.Query.singleResult(Query.java:588)
        at 
org.grails.datastore.gorm.GormStaticApi.count_closure18(GormStaticApi.groovy:550)
        at groovy.lang.Closure.call(Closure.java:433)
        at 
org.grails.datastore.mapping.core.DatastoreUtils.execute(DatastoreUtils.java:335)
        at 
org.grails.datastore.gorm.AbstractDatastoreApi.execute(AbstractDatastoreApi.groovy:44)
        at 
org.grails.datastore.gorm.GormStaticApi.count(GormStaticApi.groovy:546)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.count(GormEntity.groovy:705)
        ... 1 more
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 BookControllerSpec > Test that the delete action deletes an instance if it 
exists <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookControllerSpec]/[feature:$spock_feature_0_6]
 -->
   🔲 BookControllerSpec > Test the index action returns the correct model <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookControllerSpec]/[feature:$spock_feature_0_0]
 -->
   🔲 BookControllerSpec > Test the save action correctly persists an instance 
<!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookControllerSpec]/[feature:$spock_feature_0_2]
 -->
   
   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]

Reply via email to