What about this series of endless error, is it going to happen at some point or I can avoid it? if the difficulty is dynamic, is going back to 100% when it happens solve the issue.
It is going to happen and you can't avoid it (other than by abandoning your game early; which is the same effect from a different source).
No; you can't solve the issue. If you set the NPR difficulty back to 100% then new NPRs won't face the problem, but the existing ones (that were created at 150%) still will. Eventually, one of them will try to spend non-existent minerals / wealth / whatever that it thinks it has and the game becomes unplayable.