Attempting to debug the problem with writing an invalid constant pool item.