I would suggest to switch to a more recent version of qiime if it is possible.
Still I would not expect this to fix your error, which is most likely a memory issue as discussed in: Denoising error, names attribute must be the same length as vector - #2 by Nicholas_Bokulich
That is, reducing the number of threads you are using should fix the problem!
Cheers