Hello!
I need to generate report that may build long time (longer then 10 minutes).
When I cancel It before they complete. But report remain in background tasks.
BackgroundTaskThread-1156444328-51799eab-9bf7-b644-ea73-9baaa603c92b [id=6547] (RUNNABLE)
java.util.HashMap.getNode:579
java.util.HashMap.get:557
com.haulmont.yarg.reporting.DataExtractorImpl.getQueriesResult:148
com.haulmont.yarg.reporting.DataExtractorImpl.getBandData:100
com.haulmont.yarg.reporting.DataExtractorImpl.createBands:71
com.haulmont.yarg.reporting.DataExtractorImpl.extractData:55
com.haulmont.yarg.reporting.Reporting.loadBandData:139
com.haulmont.yarg.reporting.Reporting.runReport:98
com.haulmont.yarg.reporting.Reporting.runReport:82
com.haulmont.reports.ReportingBean.createReportDocument:315
com.haulmont.reports.ReportingBean.createReportDocument:284
com.haulmont.reports.ReportingBean.createReport:188
com.haulmont.reports.ReportServiceBean.createReport:40
sun.reflect.GeneratedMethodAccessor1302.invoke:-1
sun.reflect.DelegatingMethodAccessorImpl.invoke:43
java.lang.reflect.Method.invoke:498
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection:333
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint:190
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed:157
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed:85
com.haulmont.cuba.core.sys.ServiceInterceptor.aroundInvoke:117
sun.reflect.GeneratedMethodAccessor348.invoke:-1
sun.reflect.DelegatingMethodAccessorImpl.invoke:43
java.lang.reflect.Method.invoke:498
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs:629
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod:618
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke:70
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed:168
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke:92
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed:179
org.springframework.aop.framework.JdkDynamicAopProxy.invoke:213
com.sun.proxy.$Proxy399.createReport:-1
sun.reflect.NativeMethodAccessorImpl.invoke0:-2
sun.reflect.NativeMethodAccessorImpl.invoke:62
sun.reflect.DelegatingMethodAccessorImpl.invoke:43
java.lang.reflect.Method.invoke:498
com.haulmont.cuba.core.sys.remoting.LocalServiceInvokerImpl.invoke:94
com.haulmont.cuba.web.sys.remoting.LocalServiceProxy$LocalServiceInvocationHandler.invoke:148
com.sun.proxy.$Proxy531.createReport:-1
com.haulmont.reports.gui.ReportGuiManager.getReportResult:264
com.haulmont.reports.gui.ReportGuiManager$1.run:355
com.haulmont.reports.gui.ReportGuiManager$1.run:350
com.haulmont.cuba.gui.backgroundwork.LocalizedTaskWrapper.run:55
com.haulmont.cuba.web.gui.executors.impl.WebBackgroundWorker$WebTaskExecutor.call:191
java.util.concurrent.FutureTask.run:266
com.haulmont.cuba.web.gui.executors.impl.WebBackgroundWorker$WebTaskExecutor.lambda$startExecution$1:350
com.haulmont.cuba.web.gui.executors.impl.WebBackgroundWorker$WebTaskExecutor$$Lambda$483/1505972304.run:-1
java.util.concurrent.ThreadPoolExecutor.runWorker:1149
java.util.concurrent.ThreadPoolExecutor$Worker.run:624
java.lang.Thread.run:748