Skip to content

Bug when using metadataQuery via REST API #350

@bflashcp3f

Description

@bflashcp3f

Describe the bug
I am using the web interface (http://localhost:xxxx/api#/details/search) to test different queries via REST API on the local data (100 files).

Without the metadataQuery, the Odinson query (?<reagent> [entity=B-Reagent][entity=I-Reagent]*) <acts-on (?<operator> [entity=B-Action][entity=I-Action]*) works perfect.

image

However, after adding metadataQuery like catalyst contains 'carbonate', it stops working.

image

It seems that the bug java.lang.NullPointerException comes from line 121 of "OdinConcatQuery.scala" if (pq.size() > 0) {.

image

Any idea about where the problem is, or could you please give me some pointers about potential solutions? @BeckySharp @danebell @myedibleenso @reynoldsm88 Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions