I guess you're extending FragmentActivity
and using classes from compatibility package. When calling setup, you're probably calling it like this:
setup(this, getFragmentManager(), containerId);
Call it like this:
setup(this, getSupportFragmentManager(), containerId);
This answer is based on assumptions - since you didn't provide more details about how you're calling setup and what are your parent classes.