java.lang.IllegalStateException: We really expect the implementation of OpTimerFactory to in fact be a ThreadLocalOpTimerFactory

Atlassian JIRA | Jonathon Creenaune | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    1. As sysadmin, go to Administration -> Logging & Profiling 2. Enable Profiling Receive error: {code} java.lang.IllegalStateException: We really expect the implementation of OpTimerFactory to in fact be a ThreadLocalOpTimerFactory at com.atlassian.jira.instrumentation.Instrumentation.snapshotThreadLocalOperationsAndClear(Instrumentation.java:134) at com.atlassian.jira.web.filters.steps.instrumentation.InstrumentationStep.finallyAfterDoFilter(InstrumentationStep.java:46) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:85) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) {code} after this, the same error is seen when accessing the JIRA home page (dashboard). To bring the instance back to a workable state, hit {code} /secure/admin/ViewLogging!disableProfiling.jspa {code}

    Atlassian JIRA | 5 years ago | Jonathon Creenaune
    java.lang.IllegalStateException: We really expect the implementation of OpTimerFactory to in fact be a ThreadLocalOpTimerFactory
  2. 0

    1. As sysadmin, go to Administration -> Logging & Profiling 2. Enable Profiling Receive error: {code} java.lang.IllegalStateException: We really expect the implementation of OpTimerFactory to in fact be a ThreadLocalOpTimerFactory at com.atlassian.jira.instrumentation.Instrumentation.snapshotThreadLocalOperationsAndClear(Instrumentation.java:134) at com.atlassian.jira.web.filters.steps.instrumentation.InstrumentationStep.finallyAfterDoFilter(InstrumentationStep.java:46) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:85) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) {code} after this, the same error is seen when accessing the JIRA home page (dashboard). To bring the instance back to a workable state, hit {code} /secure/admin/ViewLogging!disableProfiling.jspa {code}

    Atlassian JIRA | 5 years ago | Jonathon Creenaune
    java.lang.IllegalStateException: We really expect the implementation of OpTimerFactory to in fact be a ThreadLocalOpTimerFactory

    Root Cause Analysis

    1. java.lang.IllegalStateException

      We really expect the implementation of OpTimerFactory to in fact be a ThreadLocalOpTimerFactory

      at com.atlassian.jira.instrumentation.Instrumentation.snapshotThreadLocalOperationsAndClear()
    2. com.atlassian.jira
      ChainedFilterStepRunner.doFilter
      1. com.atlassian.jira.instrumentation.Instrumentation.snapshotThreadLocalOperationsAndClear(Instrumentation.java:134)
      2. com.atlassian.jira.web.filters.steps.instrumentation.InstrumentationStep.finallyAfterDoFilter(InstrumentationStep.java:46)
      3. com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:85)
      3 frames
    3. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      9 frames
    4. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame