As discussed in the proposed fix my reproduction in comment #2 is likely catching a different bug. Instead please see the proper details in the stack trace posted by Jakub in comment #4.
As discussed in the proposed fix my reproduction in comment #2 is likely catching a different bug. Instead please see the proper details in the stack trace posted by Jakub in comment #4.