It seems that instances of RestApiServlet can be reused for multiple requests hence we must not use a local member field to store the trace ID, since otherwise the trace ID of one request may be applied to another request. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I83b667551fce85479bb9feab1a90f5ef69f14fdd