Details
-
Bug
-
Resolution: Fixed
-
Low
-
6.6.70
-
None
-
6.06
-
Description
Summary
JIRA Agile lexorank rebalancing throws 'The OpTimer has been re-used' error
Environment
- JIRA 6.4.12 (or Datacenter)
- JIRA Agile 6.6.70
Steps to Reproduce
- Upgrade Agile so it initiates rebalancing
- Check logs
Expected Results
No errors in logs
Actual Results
The below exception is thrown in the atlassian-jira.log file:
2016-01-22 13:26:20,070 Finalizer ERROR [jdbc.interceptors.connection.SafeDelegatingSqlConnectionInterceptor] Unexpected exception from SQL connection interceptor callback: onConnectionReplaced([DelegatingConnectionImpl[connectionPoolInfo=ConnectionPoolInfo{maxSize=20, minSize=20, initialSize=null, maxIdle=20, maxWait=30000, sleepTime=300000, lifeTime=600000, deadLockMaxWait=600000, deadLockRetryWait=10000, validationQuery='select 1', minEvictableTimeMillis=60000, timeBetweenEvictionRunsMillis=10000, poolPreparedStatements=null, testOnBorrow=false, testOnReturn=null, testWhileIdle=true, maxOpenPreparedStatements=null, numTestsPerEvictionRun=null, removeAbandonedTimeout=300, validationQueryTimeout=3, defaultCatalog=null},sqlConnectionInterceptor=org.ofbiz.core.entity.jdbc.interceptors.connection.SafeDelegatingSqlConnectionInterceptor@2b1deea0], ConnectionPoolStateImpl[timeToBorrowNanos=0,borrowCount=-57202,connectionPoolInfo=ConnectionPoolInfo{maxSize=20, minSize=20, initialSize=null, maxIdle=20, maxWait=30000, sleepTime=300000, lifeTime=600000, deadLockMaxWait=600000, deadLockRetryWait=10000, validationQuery='select 1', minEvictableTimeMillis=60000, timeBetweenEvictionRunsMillis=10000, poolPreparedStatements=null, testOnBorrow=false, testOnReturn=null, testWhileIdle=true, maxOpenPreparedStatements=null, numTestsPerEvictionRun=null, removeAbandonedTimeout=300, validationQueryTimeout=3, defaultCatalog=null}]]) java.lang.IllegalStateException: The OpTimer has been re-used. end() can only be called once! at com.atlassian.instrumentation.operations.SimpleOpTimer.end(SimpleOpTimer.java:142) at com.atlassian.instrumentation.operations.SimpleOpTimer.end(SimpleOpTimer.java:99) at com.atlassian.instrumentation.operations.SimpleOpTimer.end(SimpleOpTimer.java:117) at com.atlassian.jira.ofbiz.InstrumentedSQLInterceptor.onConnectionReplaced(InstrumentedSQLInterceptor.java:39) at com.atlassian.jira.ofbiz.ChainedSQLInterceptor.onConnectionReplaced(ChainedSQLInterceptor.java:75) at org.ofbiz.core.entity.jdbc.interceptors.connection.SafeDelegatingSqlConnectionInterceptor.onConnectionReplaced(SafeDelegatingSqlConnectionInterceptor.java:47) at org.ofbiz.core.entity.jdbc.interceptors.connection.ConnectionTracker$DelegatingConnectionImpl.close(ConnectionTracker.java:99) at net.java.ao.DelegateConnectionHandler.close(DelegateConnectionHandler.java:79) at net.java.ao.DelegateConnectionHandler.invoke(DelegateConnectionHandler.java:54) at com.sun.proxy.$Proxy4684.close(Unknown Source) at net.java.ao.Common.closeQuietly(Common.java:578) at com.atlassian.greenhopper.manager.lexorank.SqlUpdateStatement.close(SqlUpdateStatement.java:56) at com.atlassian.greenhopper.manager.lexorank.SqlUpdateStatement.finalize(SqlUpdateStatement.java:67) at java.lang.System$2.invokeFinalize(System.java:1270) at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98) at java.lang.ref.Finalizer.access$100(Finalizer.java:34) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)
Notes
None
Workaround
None
Attachments
Issue Links
- is related to
-
JRASERVER-44608 Error while re-indexing the DateOfFirstResponseCFType in the JIRA Charting Plugin
- Closed