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

GitHub | premanandc | 5 months ago
  1. 0

    Decorating spring integration executor channel with TraceableExecutorService causes error log entries

    GitHub | 5 months ago | premanandc
    java.lang.IllegalStateException: Tried to close span but it is not the current span: [Trace: 772e168c82d1ad59, Span: 1733aa8586da5e58, Parent: 6ffa89ffcf78ba67, exportable:true]. You may have forgotten to close or detach null
  2. 0

    Decorating spring integration executor channel with TraceableExecutorService causes error log entries

    GitHub | 5 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
  3. 0

    GitHub comment 276#252553879

    GitHub | 2 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}]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 276#252553879

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

    GitHub comment 1182#232228502

    GitHub | 5 months ago | adriancole
    java.lang.IllegalStateException: select-trace-ids-by-span-duration not in the cache eventhough tracing is on

    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: 1733aa8586da5e58, Parent: 6ffa89ffcf78ba67, exportable:true]. You may have forgotten to close or detach null

      at org.springframework.cloud.sleuth.util.ExceptionUtils.warn()
    2. org.springframework.cloud
      ExceptionUtils.warn
      1. org.springframework.cloud.sleuth.util.ExceptionUtils.warn(ExceptionUtils.java:44)
      1 frame