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 | 6 months ago
  1. 0

    Decorating spring integration executor channel with TraceableExecutorService causes error log entries

    GitHub | 6 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
  2. 0

    GitHub comment 276#252553879

    GitHub | 3 months ago | ArthurasJ
    java.lang.IllegalStateException: No header accessor in GenericMessage [payload=byte[0], headers={simpMessageType=CONNECT_ACK, X-B3-ParentSpanId=15cd31c931fbd527, X-Message-Sent=true, messageSent=true, spanName=message:ExecutorSubscribableChannel[clientOutboundChannel], spanTraceId=15cd31c931fbd527, spanId=9d5f5b993d96d7aa, spanParentSpanId=15cd31c931fbd527, X-Span-Name=message:ExecutorSubscribableChannel[clientOutboundChannel], X-B3-SpanId=9d5f5b993d96d7aa, simpConnectMessage=GenericMessage [payload=byte[0], headers={simpMessageType=CONNECT, simpSessionAttributes={}, simpHeartbeat=[J@1abba77a, X-Message-Sent=true, messageSent=true, spanName=message:ExecutorSubscribableChannel[clientInboundChannel], spanTraceId=15cd31c931fbd527, spanId=15cd31c931fbd527, stompCommand=CONNECT, nativeHeaders={accept-version=[1.1,1.0], heart-beat=[10000,10000]}, X-Span-Name=message:ExecutorSubscribableChannel[clientInboundChannel], X-B3-SpanId=15cd31c931fbd527, currentSpan=[Trace: 15cd31c931fbd527, Span: 15cd31c931fbd527, Parent: null, exportable:true], X-B3-Sampled=1, X-B3-TraceId=15cd31c931fbd527, id=62b199dc-8d65-c3ea-653b-5635a9a157d7, X-Current-Span=[Trace: 15cd31c931fbd527, Span: 15cd31c931fbd527, Parent: null, exportable:true], spanSampled=1, simpSessionId=n4fit3fu, timestamp=1476085675073}], currentSpan=[Trace: 15cd31c931fbd527, Span: 9d5f5b993d96d7aa, Parent: 15cd31c931fbd527, exportable:true], X-B3-Sampled=1, X-B3-TraceId=15cd31c931fbd527, id=efa4f587-d3f3-cdfd-4020-c7a33e10eff3, X-Current-Span=[Trace: 15cd31c931fbd527, Span: 9d5f5b993d96d7aa, Parent: 15cd31c931fbd527, exportable:true], spanSampled=1, simpSessionId=n4fit3fu, timestamp=1476085675076}]
  3. 0
    You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.
    via GitHub by forouher
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      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