Details
-
Bug
-
Status: Waiting for Validation
-
Major
-
Resolution: Unresolved
-
Xray DC V7.7
-
None
-
Xray 2024 S8, Xray 2024 S9, Xray 2024 S10
-
Description
When there is a circular reference in one of the filters, where an XRay function within the filter refers to itself. This results in an infinite recursive call, leading to a stack overflow during migration.
2024-06-17 04:18:00,900 pool-84-thread-304 ERROR [jira.migration.preflight.AsyncCheckExecutor] Pre-flight execution error occurred for check type CrossProjectEntityMissingProjectSelection java.util.concurrent.ExecutionException: java.lang.StackOverflowError at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:592) ~[guava-32.1.3-jre.jar:?] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:551) ~[guava-32.1.3-jre.jar:?] at com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:91) ~[guava-32.1.3-jre.jar:?] at com.atlassian.jira.migration.preflight.AsyncCheckExecutor$Companion.extractResult(AsyncCheckExecutor.kt:303) [plugin.8649649385962631634.jira-migration-plugin-1.11.6.jar:?] at com.atlassian.jira.migration.preflight.AsyncCheckExecutor$Companion.access$extractResult(AsyncCheckExecutor.kt:293) [plugin.8649649385962631634.jira-migration-plugin-1.11.6.jar:?] at com.atlassian.jira.migration.preflight.AsyncCheckExecutor$persistWhenDone$1.onFailure(AsyncCheckExecutor.kt:195) [plugin.8649649385962631634.jira-migration-plugin-1.11.6.jar:?] at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1119) [guava-32.1.3-jre.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?] Caused by: java.lang.StackOverflowError
2024-06-17 05:22:42,223+0000 pool-84-thread-388 INFO [c.a.j.m.e.c.f.service.jql.FilterJqlService] Filter[32132 - FT - 3M exec test bis] is referring to projects [] with JQL[issuetype in ("Test Execution", "Sub Test Execution") AND status != Abandonnée AND status != Abandonné] 2024-06-17 05:22:42,406+0000 pool-84-thread-391 WARN [c.a.j.migration.preflight.AsyncCheckExecutor] Preflight CheckBatch with executionId 89aa0e33576f0115ff9929dd6654db3f2dfcfa94 failed. java.lang.StackOverflowError at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363) at org.apache.commons.dbcp2.PoolingDataSource.getConnection(PoolingDataSource.java:141) at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:731) at org.ofbiz.core.entity.transaction.DBCPConnectionFactory$1.call(DBCPConnectionFactory.java:286) at org.ofbiz.core.entity.transaction.DBCPConnectionFactory$1.call(DBCPConnectionFactory.java:284) at org.ofbiz.core.entity.jdbc.interceptors.connection.ConnectionTracker.trackConnection(ConnectionTracker.java:48) at org.ofbiz.core.entity.transaction.DBCPConnectionFactory.trackConnection(DBCPConnectionFactory.java:284) at org.ofbiz.core.entity.transaction.DBCPConnectionFactory.getConnection(DBCPConnectionFactory.java:81) at org.ofbiz.core.entity.ConnectionFactory.tryGenericConnectionSources(ConnectionFactory.java:69) at org.ofbiz.core.entity.transaction.JNDIFactory.getConnection(JNDIFactory.java:174) at com.atlassian.jira.ofbiz.sql.TransactionFactoryInterfaceWrapper.getConnection(TransactionFactoryInterfaceWrapper.java:41)
Attachments
Issue Links
- duplicates
-
XRAY-6839 In testExecutionTests Jql function, a StackOverflow occurs when executing JQL using saved filter as argument
- Waiting for Validation
- relates to
-
XRAY-10422 ManualTestsWithoutSteps and TestSetPartiallyIn JQL functions causing StackOverflowError
- Waiting for Validation