java.lang.ClassCastException: schema.core.Maybe cannot be cast to clojure.lang.IFn

GitHub | gbuisson | 3 months ago
  1. 0

    Swagger.json route throws an exception

    GitHub | 3 months ago | gbuisson
    java.lang.ClassCastException: schema.core.Maybe cannot be cast to clojure.lang.IFn
  2. 0

    Tests don't run on master or on v0.8.0

    GitHub | 2 years ago | MichaelBlume
    java.lang.ClassCastException: java.util.regex.Pattern cannot be cast to clojure.lang.IFn
  3. 0

    Spawning fn from other namespace doesn't work

    GitHub | 1 year ago | ulises
    java.lang.ClassCastException: co.paralleluniverse.pulsar.actors$reify__6559 cannot be cast to clojure.lang.IFn
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How do I set local-paths for ritz.nrepl.middleware/wrap-javadoc?

    Stack Overflow | 4 years ago | sw1nn
    java.lang.ClassCastException: java.lang.String cannot be cast to clojure.lang.IFn
  6. 0

    Getting more information from an error (Clojure forum at Coderanch)

    coderanch.com | 8 months ago
    java.lang.ClassCastException: java.lang.Boolean cannot be cast to clojure.lang.IFn (repl-init.clj:39)

    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.ClassCastException

      schema.core.Maybe cannot be cast to clojure.lang.IFn

      at schema_tools.walk$walk.invokeStatic()
    2. schema_tools
      walk$walk.invoke
      1. schema_tools.walk$walk.invokeStatic(walk.cljc:33)
      2. schema_tools.walk$walk.invoke(walk.cljc:17)
      2 frames
    3. ring.swagger
      swagger2$ensure_response_sub_schemas$fn__37330$fn__37331.invoke
      1. ring.swagger.core$name_schemas.invokeStatic(core.clj:66)
      2. ring.swagger.core$name_schemas.invoke(core.clj:65)
      3. ring.swagger.core$with_named_sub_schemas.invokeStatic(core.clj:91)
      4. ring.swagger.core$with_named_sub_schemas.invoke(core.clj:84)
      5. ring.swagger.swagger2$ensure_response_sub_schemas$fn__37330$fn__37331.invoke(swagger2.clj:141)
      5 frames
    4. Clojure
      RestFn.invoke
      1. clojure.lang.AFn.applyToHelper(AFn.java:154)
      2. clojure.lang.AFn.applyTo(AFn.java:144)
      3. clojure.core$apply.invokeStatic(core.clj:648)
      4. clojure.core$update_in.invokeStatic(core.clj:5950)
      5. clojure.core$update_in.doInvoke(core.clj:5939)
      6. clojure.lang.RestFn.invoke(RestFn.java:445)
      7. clojure.lang.AFn.applyToHelper(AFn.java:160)
      8. clojure.lang.RestFn.applyTo(RestFn.java:132)
      9. clojure.core$apply.invokeStatic(core.clj:652)
      10. clojure.core$update_in.invokeStatic(core.clj:5949)
      11. clojure.core$update_in.doInvoke(core.clj:5939)
      12. clojure.lang.RestFn.invoke(RestFn.java:445)
      13. clojure.lang.AFn.applyToHelper(AFn.java:160)
      14. clojure.lang.RestFn.applyTo(RestFn.java:132)
      15. clojure.core$apply.invokeStatic(core.clj:652)
      16. clojure.core$update_in.invokeStatic(core.clj:5949)
      17. clojure.core$update_in.doInvoke(core.clj:5939)
      18. clojure.lang.RestFn.invoke(RestFn.java:445)
      18 frames
    5. ring.swagger
      swagger2$ensure_response_sub_schemas$fn__37330.invoke
      1. ring.swagger.swagger2$ensure_response_sub_schemas$fn__37330.invoke(swagger2.clj:141)
      1 frame
    6. Clojure
      core$reduce.invoke
      1. clojure.lang.PersistentVector.reduce(PersistentVector.java:341)
      2. clojure.core$reduce.invokeStatic(core.clj:6544)
      3. clojure.core$reduce.invoke(core.clj:6527)
      3 frames
    7. ring.swagger
      swagger2$transform_operations$iter__37336__37342$fn__37343$iter__37338__37345$fn__37346.invoke
      1. ring.swagger.swagger2$ensure_response_sub_schemas.invokeStatic(swagger2.clj:140)
      2. ring.swagger.swagger2$ensure_response_sub_schemas.invoke(swagger2.clj:135)
      3. ring.swagger.swagger2$transform_operations$iter__37336__37342$fn__37343$iter__37338__37345$fn__37346.invoke(swagger2.clj:161)
      3 frames
    8. Clojure
      core$reduce.invoke
      1. clojure.lang.LazySeq.sval(LazySeq.java:40)
      2. clojure.lang.LazySeq.seq(LazySeq.java:49)
      3. clojure.lang.RT.seq(RT.java:521)
      4. clojure.core$seq__4357.invokeStatic(core.clj:137)
      5. clojure.core$concat$fn__4446.invoke(core.clj:706)
      6. clojure.lang.LazySeq.sval(LazySeq.java:40)
      7. clojure.lang.LazySeq.seq(LazySeq.java:49)
      8. clojure.lang.Cons.next(Cons.java:39)
      9. clojure.lang.RT.next(RT.java:688)
      10. clojure.core$next__4341.invokeStatic(core.clj:64)
      11. clojure.core.protocols$fn__6755.invokeStatic(protocols.clj:168)
      12. clojure.core.protocols$fn__6755.invoke(protocols.clj:124)
      13. clojure.core.protocols$fn__6710$G__6705__6719.invoke(protocols.clj:19)
      14. clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:31)
      15. clojure.core.protocols$fn__6738.invokeStatic(protocols.clj:75)
      16. clojure.core.protocols$fn__6738.invoke(protocols.clj:75)
      17. clojure.core.protocols$fn__6684$G__6679__6697.invoke(protocols.clj:13)
      18. clojure.core$reduce.invokeStatic(core.clj:6545)
      19. clojure.core$reduce.invoke(core.clj:6527)
      19 frames
    9. ring.swagger
      swagger2$fn__37379$swagger_json__37388.invoke
      1. ring.swagger.swagger2$transform_operations.invokeStatic(swagger2.clj:163)
      2. ring.swagger.swagger2$transform_operations.invoke(swagger2.clj:154)
      3. ring.swagger.swagger2$ensure_body_and_response_schema_names.invokeStatic(swagger2.clj:176)
      4. ring.swagger.swagger2$ensure_body_and_response_schema_names.invoke(swagger2.clj:169)
      5. ring.swagger.swagger2$fn__37379$swagger_json__37388$fn__37391.invoke(swagger2.clj:233)
      6. ring.swagger.swagger2$fn__37379$swagger_json__37388.invoke(swagger2.clj:203)
      6 frames
    10. compojure.api
      swagger$swagger_docs$fn__37421.invoke
      1. compojure.api.swagger$swagger_docs$fn__37421.invoke(swagger.clj:66)
      1 frame
    11. kifshare
      core$if_method$fn__35635.invoke
      1. compojure.core$make_route$fn__35671.invoke(core.clj:130)
      2. compojure.core$wrap_route_middleware$fn__35667.invoke(core.clj:118)
      3. compojure.core$if_route$fn__35643.invoke(core.clj:41)
      4. compojure.core$if_method$fn__35635.invoke(core.clj:27)
      4 frames
    12. compojure.api.routes
      Route.invoke
      1. compojure.api.routes.Route.invoke(routes.clj:58)
      1 frame
    13. compojure.api
      core$ring_handler$fn__37081$fn__37082.invoke
      1. compojure.api.core$ring_handler$fn__37081$fn__37082.invoke(core.clj:11)
      1 frame
    14. Clojure
      core$some.invoke
      1. clojure.core$some.invokeStatic(core.clj:2592)
      2. clojure.core$some.invoke(core.clj:2583)
      2 frames
    15. compojure.api
      core$ring_handler$fn__37081.invoke
      1. compojure.api.core$ring_handler$fn__37081.invoke(core.clj:11)
      1 frame
    16. compojure.api.routes
      Route.invoke
      1. compojure.api.routes.Route.invoke(routes.clj:58)
      1 frame
    17. compojure.api
      core$ring_handler$fn__37081$fn__37082.invoke
      1. compojure.api.core$ring_handler$fn__37081$fn__37082.invoke(core.clj:11)
      1 frame
    18. Clojure
      core$some.invoke
      1. clojure.core$some.invokeStatic(core.clj:2592)
      2. clojure.core$some.invoke(core.clj:2583)
      2 frames
    19. compojure.api
      core$ring_handler$fn__37081.invoke
      1. compojure.api.core$ring_handler$fn__37081.invoke(core.clj:11)
      1 frame
    20. compojure.api.routes
      Route.invoke
      1. compojure.api.routes.Route.invoke(routes.clj:58)
      1 frame
    21. ring.swagger
      middleware$wrap_swagger_data$fn__36691.invoke
      1. ring.swagger.middleware$wrap_swagger_data$fn__36691.invoke(middleware.clj:33)
      1 frame
    22. kifshare
      http_response$wrap_http_response$fn__36552.invoke
      1. ring.middleware.http_response$wrap_http_response$fn__36552.invoke(http_response.clj:8)
      1 frame
    23. ring.swagger
      middleware$wrap_swagger_data$fn__36691.invoke
      1. ring.swagger.middleware$wrap_swagger_data$fn__36691.invoke(middleware.clj:33)
      1 frame
    24. compojure.api
      middleware$wrap_options$fn__36737.invoke
      1. compojure.api.middleware$wrap_options$fn__36737.invoke(middleware.clj:74)
      1 frame
    25. kifshare
      format_params$wrap_format_params$fn__36316.invoke
      1. ring.middleware.format_params$wrap_format_params$fn__36316.invoke(format_params.clj:119)
      2. ring.middleware.format_params$wrap_format_params$fn__36316.invoke(format_params.clj:119)
      3. ring.middleware.format_params$wrap_format_params$fn__36316.invoke(format_params.clj:119)
      4. ring.middleware.format_params$wrap_format_params$fn__36316.invoke(format_params.clj:119)
      5. ring.middleware.format_params$wrap_format_params$fn__36316.invoke(format_params.clj:119)
      5 frames
    26. compojure.api
      middleware$wrap_exceptions$fn__36727.invoke
      1. compojure.api.middleware$wrap_exceptions$fn__36727.invoke(middleware.clj:43)
      1 frame
    27. kifshare
      params$wrap_params$fn__36682.invoke
      1. ring.middleware.format_response$wrap_format_response$fn__36462.invoke(format_response.clj:183)
      2. ring.middleware.keyword_params$wrap_keyword_params$fn__36582.invoke(keyword_params.clj:35)
      3. ring.middleware.nested_params$wrap_nested_params$fn__36626.invoke(nested_params.clj:84)
      4. ring.middleware.params$wrap_params$fn__36682.invoke(params.clj:64)
      4 frames
    28. compojure.api
      middleware$wrap_options$fn__36737.invoke
      1. compojure.api.middleware$wrap_options$fn__36737.invoke(middleware.clj:74)
      1 frame
    29. compojure.api.routes
      Route.invoke
      1. compojure.api.routes.Route.invoke(routes.clj:58)
      1 frame
    30. Clojure
      Var.invoke
      1. clojure.lang.Var.invoke(Var.java:379)
      1 frame
    31. kifshare
      AbstractHandler$ff19274a.handle
      1. ring.adapter.jetty$proxy_handler$fn__40216.invoke(jetty.clj:24)
      2. ring.adapter.jetty.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown Source)
      2 frames
    32. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      2. org.eclipse.jetty.server.Server.handle(Server.java:497)
      3. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      4. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      5. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      6. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      7. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      7 frames
    33. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame