Skip to content

Error during import - IndexOutOfBoundsException, "length of pattern values not equal" #69

@mitochon

Description

@mitochon

Hi, thanks for making this tool available.

I tried running the import process against our dataset and it failed in a few places, e.g.

clojure.lang.ExceptionInfo: length of pattern values not equal
	at com.eldrix.hermes.snomed$parse_fields.invokeStatic(snomed.clj:530)
	at com.eldrix.hermes.snomed$parse_simple_refset_item.invokeStatic(snomed.clj:546)
	at com.eldrix.hermes.snomed$parse_simple_refset_item.invoke(snomed.clj:539)
	at com.eldrix.hermes.snomed$parse_snomed_filename$fn__11445.invoke(snomed.clj:927)
	at clojure.core$map$fn__5935.invoke(core.clj:2772)
java.lang.IndexOutOfBoundsException: null
	at clojure.lang.PersistentVector.arrayFor(PersistentVector.java:158)
	at clojure.lang.PersistentVector.nth(PersistentVector.java:162)
	at clojure.lang.APersistentVector.invoke(APersistentVector.java:296)
	at com.eldrix.hermes.snomed$parse_mrcm_domain_refset_item.invokeStatic(snomed.clj:723)
	at com.eldrix.hermes.snomed$parse_mrcm_domain_refset_item.invoke(snomed.clj:709)
	at com.eldrix.hermes.snomed$parse_snomed_filename$fn__11445.invoke(snomed.clj:927)
	at clojure.core$map$fn__5935.invoke(core.clj:2772)

New to SNOMED-CT and RF2 files, but from what I understand these columns are optional.

I was able to run the import + index after removing entries that do not have these fields specified.

I'm currently using the provided jar from v1.2.1208 because I'm currently on Java 11. If I try using the jar file from the latest tagged version it gave me a class loader error (java.lang.NoClassDefFoundError: java/util/SequencedCollection) - may I know what's the minimum Java version for the latest tag?

It could be I'm doing something wrong on my side, but let me know if I can provide additional information.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions