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}]

GitHub | ArthurasJ | 2 months ago
  1. 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}]
  2. 0

    Adding sleuth dependency breaking the websocket subscribe flow

    GitHub | 7 months ago | PreetamMyneni
    org.springframework.messaging.MessageDeliveryException: Failed to handle GenericMessage [payload=byte[0], headers={simpMessageType=CONNECT, stompCommand=CONNECT, nativeHeaders={accept-version=[1.1,1.0], heart-beat=[10000,10000], X-B3-SpanId=[cb05e82b4a3fe89c], X-B3-Sampled=[0], X-B3-TraceId=[cb05e82b4a3fe89c]}, simpSessionAttributes={}, X-B3-SpanId=cb05e82b4a3fe89c, simpHeartbeat=[J@101cc820, X-B3-Sampled=0, X-B3-TraceId=cb05e82b4a3fe89c, id=4055ce24-b0c8-3340-e099-69c24d9d7d02, X-Current-Span=[Trace: cb05e82b4a3fe89c, Span: cb05e82b4a3fe89c, exportable=false], simpSessionId=m2kccjuq, timestamp=1463599267150}] to org.springframework.messaging.support.ExecutorSubscribableChannel$SendTask@1edb2453 in SimpleBrokerMessageHandler [DefaultSubscriptionRegistry[cache[0 destination(s)], registry[0 sessions]]]; nested exception is java.lang.IllegalStateException: No header accessor (not using the SimpMessagingTemplate?): GenericMessage [payload=byte[0], headers={simpMessageType=CONNECT, stompCommand=CONNECT, nativeHeaders={accept-version=[1.1,1.0], heart-beat=[10000,10000], X-B3-SpanId=[cb05e82b4a3fe89c], X-B3-Sampled=[0], X-B3-TraceId=[cb05e82b4a3fe89c]}, simpSessionAttributes={}, X-B3-SpanId=cb05e82b4a3fe89c, simpHeartbeat=[J@101cc820, X-B3-Sampled=0, X-B3-TraceId=cb05e82b4a3fe89c, id=4055ce24-b0c8-3340-e099-69c24d9d7d02, X-Current-Span=[Trace: cb05e82b4a3fe89c, Span: cb05e82b4a3fe89c, exportable=false], simpSessionId=m2kccjuq, timestamp=1463599267150}]
  3. 0

    Spring websocket user message noSimpl

    Stack Overflow | 7 months ago | Rafik991
    org.springframework.messaging.MessageDeliveryException: Failed to handle GenericMessage [payload=byte[22], headers={simpMessageType=MESSAGE, nativeHeaders={destination=[/app/hello], content-length=[22]}, simpUser=org.springframework.security.authentication.UsernamePasswordAuthenticationToken@bbe3d74f: Principal: SessionUser{userId=123}; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@fffed504: RemoteIpAddress: 127.0.0.1; SessionId: 1w2b0r1yl8c90kdq8uwvut4pp; Granted Authorities: ROLE_USER, contentType=application/json;charset=UTF-8, simpSessionId=fd85da400d32427d941c113a191277da, simpDestination=/app/hello}] to org.springframework.messaging.support.ExecutorSubscribableChannel$SendTask@170caf41 in WebSocketAnnotationMethodMessageHandler[prefixes=[/app/, /user/]]; nested exception is java.lang.IllegalStateException: No session attributes in GenericMessage [payload=byte[22], headers={simpMessageType=MESSAGE, nativeHeaders={destination=[/app/hello], content-length=[22]}, simpUser=org.springframework.security.authentication.UsernamePasswordAuthenticationToken@bbe3d74f: Principal: SessionUser{userId=123}; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@fffed504: RemoteIpAddress: 127.0.0.1; SessionId: 1w2b0r1yl8c90kdq8uwvut4pp; Granted Authorities: ROLE_USER, contentType=application/json;charset=UTF-8, lookupDestination=/hello, simpSessionId=fd85da400d32427d941c113a191277da, simpDestination=/app/hello}]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Currently when the automerge fails, there will be a popup within Stash saying there is 'An error occurred' without specifying details about the error. For example this popup: !ScreenHunter_921.gif! Which is caused by the pattern is not matching the branch model per this error: {code} 2014-06-20 17:06:48,536 ERROR [http-bio-7990-exec-2304] xxxxxxx 1026x145378x2 10zrerl 10.69.10.134 "GET /rest/branch-utils/latest/projects/XX/repos/automatic-branch-merging/automerge/path HTTP/1.1" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call java.lang.IllegalStateException: To node InternalBranch{id=refs/heads/release/4.0.x, displayId=release/4.0.x, latestChangeset=0529f68cf8652c268adf03759eb49770747a4d0d, default=true} is already in the graph at com.atlassian.stash.internal.branch.model.BranchModelGraphBuilder.addPath(BranchModelGraphBuilder.java:51) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.model.BranchModelGraphBuilder.forSinglePath(BranchModelGraphBuilder.java:40) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.model.SimpleBranchModel.getMergePath(SimpleBranchModel.java:77) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService$$anonfun$getDownstreamBranches$2.apply(DefaultAutoMergeService.scala:44) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService$$anonfun$getDownstreamBranches$2.apply(DefaultAutoMergeService.scala:44) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at scala.util.Either$RightProjection.map(Either.scala:536) ~[scala-2.10-provider-plugin-0.5.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService.getDownstreamBranches(DefaultAutoMergeService.scala:44) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService.getAutoMerge(DefaultAutoMergeService.scala:16) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.rest.AutoMergeResource.getMergePath(AutoMergeResource.java:59) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.1.1_1398817314000.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:92) [StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.3.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.1_1398817314000.jar:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:73) [stash-service-impl-2.12.2.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_09-icedtea] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_09-icedtea] ... 178 frames trimmed {code} Would be feasible having detailed error message on the UI instead of referring to the logs each time the merge fails

    Atlassian JIRA | 2 years ago | Omar Al-Safi [Atlassian]
    java.lang.IllegalStateException: To node InternalBranch{id=refs/heads/release/4.0.x, displayId=release/4.0.x, latestChangeset=0529f68cf8652c268adf03759eb49770747a4d0d, default=true} is already in the graph
  6. 0

    Conflicting property name definitions

    GitHub | 4 years ago | sgjohnston
    java.lang.IllegalStateException: Conflicting property name definitions: 'val1' (for [field Test#x]) vs 'val2' (for [method Test#x(0 params)]) Cause:

    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

      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}]

      at org.springframework.web.socket.messaging.StompSubProtocolHandler.getStompHeaderAccessor()
    2. Spring WebSocket
      SubProtocolWebSocketHandler.handleMessage
      1. org.springframework.web.socket.messaging.StompSubProtocolHandler.getStompHeaderAccessor(StompSubProtocolHandler.java:465)[spring-websocket-4.2.7.RELEASE.jar:4.2.7.RELEASE]
      2. org.springframework.web.socket.messaging.StompSubProtocolHandler.handleMessageToClient(StompSubProtocolHandler.java:383)[spring-websocket-4.2.7.RELEASE.jar:4.2.7.RELEASE]
      3. org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.handleMessage(SubProtocolWebSocketHandler.java:338)[spring-websocket-4.2.7.RELEASE.jar:4.2.7.RELEASE]
      3 frames
    3. Spring Messaging
      ExecutorSubscribableChannel$SendTask.run
      1. org.springframework.messaging.support.ExecutorSubscribableChannel$SendTask.run(ExecutorSubscribableChannel.java:135)[spring-messaging-4.2.7.RELEASE.jar:4.2.7.RELEASE]
      1 frame
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_66]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_66]
      3. java.lang.Thread.run(Thread.java:745)[?:1.8.0_66]
      3 frames