Fixed the null pointer. It was because items were being removed from the original HashMaps AFTER the clones had been created. Silly me.