That's what I thought at first, so I tried something extremely simple. I got the same error.
EDIT: New error.
EDIT Again: It suddenly worked. Only once, because now it won't re-inject, but...
EDIT One more time: I found the problem. When you're injecting the model and replacing the old files with the new ones, don't overwrite. Delete the old models and then copy the new ones.