Cache - Eh107CacheManager is closed


Symptoms


In your Jira log files you see the errors mentioning java.lang.IllegalStateException: Eh107CacheManager[urn:X-ehcache:jsr107-default-config] is closed

JiraTaskExectionThread-37 ERROR 526x1590583x1 31broo 83.118.198.126,127.0.0.1 /secure/views/bulkedit/BulkWorkflowTransitionPerform.jspa [c.a.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 711 from workflow 69406 on issue 'CW-390'
java.lang.IllegalStateException: Eh107CacheManager[urn:X-ehcache:jsr107-default-config] is closed
	at org.ehcache.jsr107.Eh107CacheManager.checkClosed(Eh107CacheManager.java:242)
	at org.ehcache.jsr107.Eh107CacheManager.getCache(Eh107CacheManager.java:284)
	at com.valiantys.jira.plugins.sql.service.cache.CacheServiceImpl.getCache(CacheServiceImpl.java:254)
	at com.valiantys.jira.plugins.sql.service.cache.CacheServiceImpl.setCachedData(CacheServiceImpl.java:109)
	at com.valiantys.jira.plugins.sql.service.request.execution.datasource.cache.DatasourceWithCacheDecorator.fetchAndStoreInCache(DatasourceWithCacheDecorator.java:71)
	at com.valiantys.jira.plugins.sql.service.request.execution.datasource.cache.DatasourceWithCacheDecorator.getRawDatasourceResult(DatasourceWithCacheDecorator.java:56)
	at com.valiantys.jira.plugins.sql.service.request.execution.datasource.DatasourceRequestExecutor.executeDatasourceRequest(DatasourceRequestExecutor.java:45)
	at com.valiantys.jira.plugins.sql.service.request.execution.resultset.DatasourceResultSetFactory.create(DatasourceResultSetFactory.java:32)
	at com.valiantys.jira.plugins.sql.service.request.execution.RequestExecutionService.getInputResultSet(RequestExecutionService.java:44)
	at com.valiantys.jira.plugins.sql.service.request.execution.RequestExecutionService.getResultSet(RequestExecutionService.java:33)
	at com.valiantys.jira.plugins.sql.service.rendering.ResultSetRenderingService.consumeResultSet(ResultSetRenderingService.java:38)
	at com.valiantys.jira.plugins.sql.update.FieldAutomaticUpdaterService.generateCustomFieldValue(FieldAutomaticUpdaterService.java:83)
	at com.valiantys.jira.plugins.sql.update.FieldAutomaticUpdaterService.updateField(FieldAutomaticUpdaterService.java:75)
	at com.valiantys.jira.plugins.sql.update.FieldAutomaticUpdaterService.updateFields(FieldAutomaticUpdaterService.java:58)
	at com.valiantys.jira.plugins.sql.pfunctions.NFeedValueExecution.execute(NFeedValueExecution.java:56)
	at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1014)
	at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1407)





Cause

This error could occur if you restart your Jira instance or disable our app while post function that set some value into the Connect field is still executing.





Resolution

Since this is a rare case, we do not consider this behaviour to be critic critic. No resolution is provided for the moment.