Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some non validation errors such as timeouts raise an exception in the reporter #40

Closed
RickMoynihan opened this issue Feb 12, 2021 · 0 comments · Fixed by #41
Closed

Comments

@RickMoynihan
Copy link
Member

RickMoynihan commented Feb 12, 2021

This is due to them failing to pass the appropriate :test-source key which we use to render the error message.

No implementation of method: :get-path of protocol: #'rdf-validator.util/HasPath found for class: nil
java.lang.IllegalArgumentException: No implementation of method: :get-path of protocol: #'rdf-validator.util/HasPath found for class: nil
	at clojure.core$_cache_protocol_fn.invokeStatic(core_deftype.clj:583)
	at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:575)
	at rdf_validator.util$eval3428$fn__3429$G__3419__3434.invoke(util.clj:11)
	at rdf_validator.reporting.ConsoleTestReporter.report_test_result_BANG_(reporting.clj:15)
	at rdf_validator.core$report_test_cases$fn__6345.invoke(core.clj:96)
	at clojure.lang.ArrayChunk.reduce(ArrayChunk.java:58)
	at clojure.core.protocols$fn__8178.invokeStatic(protocols.clj:136)
	at clojure.core.protocols$fn__8178.invoke(protocols.clj:124)
	at clojure.core.protocols$fn__8138$G__8133__8147.invoke(protocols.clj:19)
	at clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:31)
	at clojure.core.protocols$fn__8170.invokeStatic(protocols.clj:75)
	at clojure.core.protocols$fn__8170.invoke(protocols.clj:75)
	at clojure.core.protocols$fn__8112$G__8107__8125.invoke(protocols.clj:13)
	at clojure.core$reduce.invokeStatic(core.clj:6833)
	at clojure.core$reduce.invoke(core.clj:6815)
	at rdf_validator.core$report_test_cases.invokeStatic(core.clj:95)
	at rdf_validator.core$report_test_cases.invoke(core.clj:93)
	at rdf_validator.core$inner_main.invokeStatic(core.clj:135)
	at rdf_validator.core$inner_main.invoke(core.clj:124)
	at rdf_validator.core$_main.invokeStatic(core.clj:143)
	at rdf_validator.core$_main.doInvoke(core.clj:139)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.lang.Var.applyTo(Var.java:705)
	at clojure.core$apply.invokeStatic(core.clj:667)
	at clojure.main$main_opt.invokeStatic(main.clj:514)
	at clojure.main$main_opt.invoke(main.clj:510)
	at clojure.main$main.invokeStatic(main.clj:664)
	at clojure.main$main.doInvoke(main.clj:616)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.lang.Var.applyTo(Var.java:705)
	at clojure.main.main(main.java:40)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant