clojure.lang.ExceptionInfo: Input to register-endpoint! does not match schema: [nil (named (not (some (check % a-clojure.lang.PersistentArrayMap) schemas)) endpoint)]

JIRA | Michal Bryxí | 2 years ago
  1. 0

    When I comment out some random configuration directive in rbac-ui configs. For example in: conf.d/rbac-ui.conf comment out: rbac-api-path and you will get: {code} 1 vagrant@classifier:/vagrant/src/pe-classifier-ui⟫ lein dev Listening for transport dt_socket at address: 4000 2014-08-22 04:38:38,061 INFO [p.t.s.w.jetty9-core] Removing buggy security provider SunPKCS11-NSS version 1.7 2014-08-22 04:38:39,441 INFO [p.t.s.w.jetty9-service] Initializing web server(s). 2014-08-22 04:38:40,135 INFO [m.core] Starting migrations 2014-08-22 04:38:40,373 INFO [m.core] Ending migrations 2014-08-22 04:38:40,592 INFO [p.r.service] Initializing rbac ui webservice at http://:/rbac 2014-08-22 04:38:40,594 INFO [p.c.service] Initializing classifier ui webservice at http://0.0.0.0:9876 2014-08-22 04:38:40,612 ERROR [p.t.internal] Error during service init!!! clojure.lang.ExceptionInfo: Input to register-endpoint! does not match schema: [nil (named (not (some (check % a-clojure.lang.PersistentArrayMap) schemas)) endpoint)] at puppetlabs.trapperkeeper.services.webserver.jetty9_core$eval19128$register_endpoint_BANG___19129.invoke(jetty9_core.clj:334) ~[na:na] at puppetlabs.trapperkeeper.services.webserver.jetty9_core$eval19552$add_ring_handler_BANG___19553$fn__19554.invoke(jetty9_core.clj:704) ~[na:na] at puppetlabs.trapperkeeper.services.webserver.jetty9_core$eval19552$add_ring_handler_BANG___19553.invoke(jetty9_core.clj:697) ~[na:na] at puppetlabs.trapperkeeper.services.webserver.jetty9_service$reify__19860$f_positional__19865$fnk19874_positional__19875$fn__19876.invoke(jetty9_service.clj:23) ~[na:na] at puppetlabs.classifier_ui.service$reify__9417$f_positional__9424$fnk9433_positional__9434$fn__9435.invoke(service.clj:20) ~[na:na] {code} I think we definetelly should give some clearer message what happened and what the user should do. The message to the user is confusing.

    JIRA | 2 years ago | Michal Bryxí
    clojure.lang.ExceptionInfo: Input to register-endpoint! does not match schema: [nil (named (not (some (check % a-clojure.lang.PersistentArrayMap) schemas)) endpoint)]
  2. 0

    When I comment out some random configuration directive in rbac-ui configs. For example in: conf.d/rbac-ui.conf comment out: rbac-api-path and you will get: {code} 1 vagrant@classifier:/vagrant/src/pe-classifier-ui⟫ lein dev Listening for transport dt_socket at address: 4000 2014-08-22 04:38:38,061 INFO [p.t.s.w.jetty9-core] Removing buggy security provider SunPKCS11-NSS version 1.7 2014-08-22 04:38:39,441 INFO [p.t.s.w.jetty9-service] Initializing web server(s). 2014-08-22 04:38:40,135 INFO [m.core] Starting migrations 2014-08-22 04:38:40,373 INFO [m.core] Ending migrations 2014-08-22 04:38:40,592 INFO [p.r.service] Initializing rbac ui webservice at http://:/rbac 2014-08-22 04:38:40,594 INFO [p.c.service] Initializing classifier ui webservice at http://0.0.0.0:9876 2014-08-22 04:38:40,612 ERROR [p.t.internal] Error during service init!!! clojure.lang.ExceptionInfo: Input to register-endpoint! does not match schema: [nil (named (not (some (check % a-clojure.lang.PersistentArrayMap) schemas)) endpoint)] at puppetlabs.trapperkeeper.services.webserver.jetty9_core$eval19128$register_endpoint_BANG___19129.invoke(jetty9_core.clj:334) ~[na:na] at puppetlabs.trapperkeeper.services.webserver.jetty9_core$eval19552$add_ring_handler_BANG___19553$fn__19554.invoke(jetty9_core.clj:704) ~[na:na] at puppetlabs.trapperkeeper.services.webserver.jetty9_core$eval19552$add_ring_handler_BANG___19553.invoke(jetty9_core.clj:697) ~[na:na] at puppetlabs.trapperkeeper.services.webserver.jetty9_service$reify__19860$f_positional__19865$fnk19874_positional__19875$fn__19876.invoke(jetty9_service.clj:23) ~[na:na] at puppetlabs.classifier_ui.service$reify__9417$f_positional__9424$fnk9433_positional__9434$fn__9435.invoke(service.clj:20) ~[na:na] {code} I think we definetelly should give some clearer message what happened and what the user should do. The message to the user is confusing.

    JIRA | 2 years ago | Michal Bryxí
    clojure.lang.ExceptionInfo: Input to register-endpoint! does not match schema: [nil (named (not (some (check % a-clojure.lang.PersistentArrayMap) schemas)) endpoint)]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    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. clojure.lang.ExceptionInfo

      Input to register-endpoint! does not match schema: [nil (named (not (some (check % a-clojure.lang.PersistentArrayMap) schemas)) endpoint)]

      at puppetlabs.trapperkeeper.services.webserver.jetty9_core$eval19128$register_endpoint_BANG___19129.invoke()
    2. puppetlabs.trapperkeeper.services
      jetty9_service$reify__19860$f_positional__19865$fnk19874_positional__19875$fn__19876.invoke
      1. puppetlabs.trapperkeeper.services.webserver.jetty9_core$eval19128$register_endpoint_BANG___19129.invoke(jetty9_core.clj:334)[na:na]
      2. puppetlabs.trapperkeeper.services.webserver.jetty9_core$eval19552$add_ring_handler_BANG___19553$fn__19554.invoke(jetty9_core.clj:704)[na:na]
      3. puppetlabs.trapperkeeper.services.webserver.jetty9_core$eval19552$add_ring_handler_BANG___19553.invoke(jetty9_core.clj:697)[na:na]
      4. puppetlabs.trapperkeeper.services.webserver.jetty9_service$reify__19860$f_positional__19865$fnk19874_positional__19875$fn__19876.invoke(jetty9_service.clj:23)[na:na]
      4 frames
    3. puppetlabs.classifier_ui
      service$reify__9417$f_positional__9424$fnk9433_positional__9434$fn__9435.invoke
      1. puppetlabs.classifier_ui.service$reify__9417$f_positional__9424$fnk9433_positional__9434$fn__9435.invoke(service.clj:20)[na:na]
      1 frame