dsp-api
dsp-api copied to clipboard
Exception thrown in v2/searchextended when key not found
I've seen the following exception thrown and logged in the console:
[2019-03-10 13:47:12,200] ERROR - Main$(akka://webapi) - Unable to run route /v2/searchextended
api | java.util.NoSuchElementException: key not found: http://www.knora.org/ontology/knora-base#standoffTagHasUUID
api | at scala.collection.immutable.Map$Map4.apply(Map.scala:204)
This looks to me like the user has submitted something that the server doesn't like. If this is the case, then this should not be logged to the console.
Can you paste the rest of the stack trace so I can see where in the Knora code this happens?
It would also help a lot to have the Gravsearch query that triggers this.