regression test for #4948

this test crashes as it'll try to set the incoming parser
to null twice