java.lang.IllegalStateException: Tried to close span but it is not the current span: [Trace: 772e168c82d1ad59, Span: 1c2c1e8d198e1c4c, Parent: fe1bb22205811063, exportable:true]. You may have forgotten to close or detach null

GitHub | premanandc | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Decorating spring integration executor channel with TraceableExecutorService causes error log entries

    GitHub | 9 months ago | premanandc
    java.lang.IllegalStateException: Tried to close span but it is not the current span: [Trace: 772e168c82d1ad59, Span: 1c2c1e8d198e1c4c, Parent: fe1bb22205811063, exportable:true]. You may have forgotten to close or detach null

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Tried to close span but it is not the current span: [Trace: 772e168c82d1ad59, Span: 1c2c1e8d198e1c4c, Parent: fe1bb22205811063, exportable:true]. You may have forgotten to close or detach null

      at org.springframework.cloud.sleuth.util.ExceptionUtils.warn()
    2. org.springframework.cloud
      LocalComponentTraceRunnable.run
      1. org.springframework.cloud.sleuth.util.ExceptionUtils.warn(ExceptionUtils.java:44)
      2. org.springframework.cloud.sleuth.trace.DefaultTracer.close(DefaultTracer.java:116)
      3. org.springframework.cloud.sleuth.TraceRunnable.close(TraceRunnable.java:77)
      4. org.springframework.cloud.sleuth.instrument.async.LocalComponentTraceRunnable.run(LocalComponentTraceRunnable.java:56)
      4 frames