Issue 5470 error on junit test