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

Solutions on the web31047

  • 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
  • via GitHub by ArthurasJ
    , 9 months ago
    , 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
  • the settings.xml could not be supplied <span class="code-keyword" style="color: #000091">for</span> the current build: <span class="code-keyword" style="color: #000091">null</span>
  • Stack trace

    • 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(ExceptionUtils.java:44)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.