There are many IDs which don't have any stats at all, even more with all 0's in them.
None of those ItemStats ever have AgonyResistance on them as well (or it's just 0).
Was I able to help you or give you a hint? Click on Helpful and/or Thumbs up, I would appreciate it alot!
When you encounter a bug ingame, at first you should file a ticket via the ingame command /bug, as only this way the devs will know exactly where you were, when the bug happened.