java.lang.IllegalArgumentException: nil value for header key 'Foo'

GitHub | ztellman | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 271#245045614

    GitHub | 6 months ago | ztellman
    java.lang.IllegalArgumentException: nil value for header key 'Foo'

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      nil value for header key 'Foo'

      at aleph.http.core$map__GT_headers_BANG_.invokeStatic()
    2. aleph.http
      client$http_connection$fn__10528$fn__10529.invoke
      1. aleph.http.core$map__GT_headers_BANG_.invokeStatic(core.clj:136)
      2. aleph.http.core$map__GT_headers_BANG_.invoke(core.clj:129)
      3. aleph.http.core$ring_request__GT_netty_request.invokeStatic(core.clj:164)
      4. aleph.http.core$ring_request__GT_netty_request.invoke(core.clj:155)
      5. aleph.http.client$http_connection$fn__10528$fn__10529.invoke(client.clj:310)
      5 frames
    3. manifold.stream
      graph$async_connect$this__5166$fn__5167$fn__5168.invoke
      1. manifold.stream.Callback.put(stream.clj:454)
      2. manifold.stream.graph$async_send.invokeStatic(graph.clj:78)
      3. manifold.stream.graph$async_send.invoke(graph.clj:74)
      4. manifold.stream.graph$async_connect$this__5166.invoke(graph.clj:209)
      5. manifold.stream.graph$async_connect$this__5166$fn__5167$fn__5168.invoke(graph.clj:190)
      5 frames
    4. Clojure
      core$trampoline.invoke
      1. clojure.core$trampoline.invokeStatic(core.clj:6064)
      2. clojure.core$trampoline.invoke(core.clj:6053)
      2 frames
    5. manifold.stream
      graph$async_connect$this__5166$fn__5167.invoke
      1. manifold.stream.graph$async_connect$this__5166$fn__5167.invoke(graph.clj:190)
      1 frame
    6. manifold.deferred
      Deferred.success
      1. manifold.deferred.Listener.onSuccess(deferred.clj:219)
      2. manifold.deferred.Deferred$fn__4562.invoke(deferred.clj:398)
      3. manifold.deferred.Deferred.success(deferred.clj:398)
      3 frames
    7. manifold
      deferred$success_BANG_.invoke
      1. manifold.deferred$success_BANG_.invokeStatic(deferred.clj:245)
      2. manifold.deferred$success_BANG_.invoke(deferred.clj:240)
      2 frames
    8. manifold.stream.default
      Stream.put
      1. manifold.stream.default.Stream.put(default.clj:119)
      2. manifold.stream.default.Stream.put(default.clj:141)
      2 frames
    9. aleph.http
      client_middleware$wrap_exceptions$fn__10210$fn__10220.invoke
      1. aleph.http.client$http_connection$fn__10528$fn__10541$fn__10542.invoke(client.clj:334)
      2. aleph.http.client$http_connection$fn__10528$fn__10541.invoke(client.clj:333)
      3. aleph.http.client_middleware$wrap_exceptions$fn__10210$fn__10220.invoke(client_middleware.clj:223)
      3 frames
    10. manifold
      deferred$eval4708$chain_SINGLEQUOTE____4729.invoke
      1. manifold.deferred$eval4708$chain_SINGLEQUOTE____4729.invoke(deferred.clj:752)
      1 frame
    11. aleph.http
      client_middleware$wrap_request$fn__10431.invoke
      1. aleph.http.client_middleware$wrap_exceptions$fn__10210.invoke(client_middleware.clj:223)
      2. aleph.http.client_middleware$wrap_request_timing$fn__10340.invoke(client_middleware.clj:519)
      3. aleph.http.client_middleware$wrap_request$fn__10431.invoke(client_middleware.clj:633)
      3 frames
    12. aleph
      http$eval10615$request__10619$fn__10621$fn__10622$fn__10625.invoke
      1. aleph.http$eval10615$request__10619$fn__10621$fn__10622$fn__10625.invoke(http.clj:233)
      1 frame
    13. manifold
      deferred$eval4708$subscribe__4709$fn__4718.invoke
      1. manifold.deferred$eval4708$chain_SINGLEQUOTE____4729.invoke(deferred.clj:770)
      2. manifold.deferred$eval4708$subscribe__4709$fn__4718.invoke(deferred.clj:724)
      2 frames
    14. manifold.deferred
      Deferred$fn__4554$fn__4555.invoke
      1. manifold.deferred.Listener.onSuccess(deferred.clj:219)
      2. manifold.deferred.Deferred$fn__4554$fn__4555.invoke(deferred.clj:396)
      2 frames
    15. Clojure
      AFn.run
      1. clojure.lang.AFn.run(AFn.java:22)
      1 frame
    16. io.aleph.dirigiste
      Executor$Worker$1.run
      1. io.aleph.dirigiste.Executor$3.run(Executor.java:308)
      2. io.aleph.dirigiste.Executor$Worker$1.run(Executor.java:62)
      2 frames
    17. manifold
      executor$thread_factory$reify__3957$f__3958.invoke
      1. manifold.executor$thread_factory$reify__3957$f__3958.invoke(executor.clj:44)
      1 frame
    18. Clojure
      AFn.run
      1. clojure.lang.AFn.run(AFn.java:22)
      1 frame
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame