=str #15888: Fix unguarded access to input queue causing NPE