Percolate registration error

Hi,

The test case we are trying requires registering multiple percolate queries and then using percolate API to determine matches.

The steps are as follows:

  1. Delete existing concrete index.
  2. Re-create concrete index
  3. Register multiple percolate interest/queries using the concrete index
  4. Perform match

The registration seems to go well but the match fails with the following error.

{"error":"NullPointerException[null]","status":500}

This seems to happen only if we register multiple queries after deleting and recreating the concrete index. It does not appear to be problem with single percolate query. The error also goes away if the same queries are re-registered and a delay is introduced between creation of concrete index, registration and actually matching. Though the delay is not consistent, the match then happens successfully with no errors.

Is there a way to avoid this error?

Thanks for the help,
KJ