Could you post an executable code snippet, which would create this error, so that we could debug it?
I guess you might be running into an unexpected interaction with the base model, but would need to run the code to further isolate the issue.