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

Fix Quantity Indexing without Value #764

Closed
astruebi opened this issue Jul 4, 2022 · 0 comments
Closed

Fix Quantity Indexing without Value #764

astruebi opened this issue Jul 4, 2022 · 0 comments
Assignees
Labels
bug Something isn't working module:db
Milestone

Comments

@astruebi
Copy link

astruebi commented Jul 4, 2022

C:\Users\Ich>blazectl --server http://localhost:8082/fhir upload "G:\Projekte\smith\TestDataGenerator\outputGlobal" -c 2
Starting Upload to http://localhost:8082/fhir ...
Inspecting files eligible for upload from G:\Projekte\smith\TestDataGenerator\outputGlobal... DONE
Found 16 bundles in total (from 16 JSON files and from 0 NDJSON files)
Uploads          [total, concurrency]     16, 2
Success          [ratio]                  93.75 %
Duration         [total]                  1.223s
Requ. Latencies  [mean, 50, 95, 99, max]  133ms, 109ms, 358ms, 358ms 358ms
Proc. Latencies  [mean, 50, 95, 99, max]  133ms, 109ms, 358ms, 358ms 358ms
Bytes In         [total, mean]            232.98 KiB, 14.56 KiB
Bytes Out        [total, mean]            4.19 MiB, 268.31 KiB
Status Codes     [code:count]             200:15, 500:1

Non-OK Responses:

File: G:\Projekte\smith\TestDataGenerator\outputGlobal\POLAR_Testdaten_Original_UKE-UKE-0001.json [Bundle: 1]
    StatusCode  : 500
    Severity    : Error
    Code        : An unexpected internal error has occurred.
    Diagnostics :                                           java.lang.Thread.run              Thread.java:  833
                java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  635
                 java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1136
            java.util.concurrent.CompletableFuture$AsyncSupply.run   CompletableFuture.java: 1768
                                       blaze.async.comp//reify/get                 comp.clj:  141
            blaze.db.node.resource-indexer/async-index-resource/fn     resource_indexer.clj:  122
                     blaze.db.node.resource-indexer/index-resource     resource_indexer.clj:  110
                    blaze.db.node.resource-indexer/index-resource*     resource_indexer.clj:  101
                                                 clojure.core/into                 core.clj: 6962
                                            clojure.core/transduce                 core.clj: 6946
                                                               ...
                                            clojure.core/map/fn/fn                 core.clj: 2759
                                               clojure.core/cat/fn                 core.clj: 7693
                                               clojure.core/reduce                 core.clj: 6885
                             blaze.coll.core/eduction/reify/reduce                 core.clj:   33
                                            clojure.core/transduce                 core.clj: 6946
                             blaze.coll.core/eduction/reify/reduce                 core.clj:   33
                                            clojure.core/transduce                 core.clj: 6946
                                                               ...
                                            clojure.core/map/fn/fn                 core.clj: 2759
       blaze.db.impl.search-param.composite.common/index-values/fn               common.clj:   40
                             blaze.coll.core/eduction/reify/reduce                 core.clj:   33
                                            clojure.core/transduce                 core.clj: 6946
                                                               ...
                                            clojure.core/map/fn/fn                 core.clj: 2759
                                               clojure.core/cat/fn                 core.clj: 7693
                                               clojure.core/reduce                 core.clj: 6885
                             blaze.coll.core/eduction/reify/reduce                 core.clj:   33
                                            clojure.core/transduce                 core.clj: 6946
                                                               ...
                                            clojure.core/map/fn/fn                 core.clj: 2759
                                               clojure.core/cat/fn                 core.clj: 7693
                                               clojure.core/reduce                 core.clj: 6885
                                                               ...
                                clojure.core/preserving-reduced/fn                 core.clj: 7682
                                        clojure.core/completing/fn                 core.clj: 6931
                                clojure.core/preserving-reduced/fn                 core.clj: 7682
                                         clojure.core/filter/fn/fn                 core.clj: 2823
                                            clojure.core/map/fn/fn                 core.clj: 2759
                                        clojure.core/completing/fn                 core.clj: 6931
    blaze.db.impl.search-param.composite.common/index-values/fn/fn               common.clj:   44
                             blaze.coll.core/eduction/reify/reduce                 core.clj:   33
                                            clojure.core/transduce                 core.clj: 6946
                                                               ...
                                            clojure.core/map/fn/fn                 core.clj: 2759
                                           clojure.core/partial/fn                 core.clj: 2641
                                                               ...
                  blaze.db.impl.search-param.quantity/eval20159/fn             quantity.clj:   50
        blaze.db.impl.search-param.quantity/index-quantity-entries             quantity.clj:   41
                                      blaze.db.impl.codec/quantity                codec.clj:  541
                                        blaze.db.impl.codec/number                codec.clj:  350
                                blaze.db.impl.codec/eval10838/fn/G                codec.clj:  341
                                   clojure.core/-cache-protocol-fn         core_deftype.clj:  584
    java.lang.IllegalArgumentException: No implementation of method: :-number of protocol: #'blaze.db.impl.codec/NumberBytes found for class: nil

POLAR_Testdaten_Original_UKE-UKE-0001.zip

@alexanderkiel alexanderkiel self-assigned this Jul 5, 2022
@alexanderkiel alexanderkiel changed the title IllegalArgumentException on data upload Fix Quantity Indexing without Value Jul 5, 2022
@alexanderkiel alexanderkiel added bug Something isn't working module:db labels Jul 5, 2022
@alexanderkiel alexanderkiel added this to the v0.17.11 milestone Jul 5, 2022
@alexanderkiel alexanderkiel modified the milestones: v0.17.11, v0.18 Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:db
Projects
None yet
Development

No branches or pull requests

2 participants