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

Atlassian JIRA | Jonathon Creenaune | 5 years ago
  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
  3. 0

    AndroidManifest.xml with key com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME

    Stack Overflow | 2 months ago | Siddharth
    java.lang.RuntimeException: Unable to create service com.google.android.gms.cast.framework.media.MediaNotificationService: java.lang.IllegalStateException: The fully qualified name of the implementation of OptionsProvider must be provided as a metadata in the AndroidManifest.xml with key com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    AndroidManifest.xml with key com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME

    Stack Overflow | 2 months ago | Siddharth
    java.lang.IllegalStateException: The fully qualified name of the implementation of OptionsProvider must be provided as a metadata in the AndroidManifest.xml with key com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME.
  6. 0

    Deploying JSF in Websphere

    Oracle Community | 4 years ago | 1007476
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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