In my case i was using a generic fragment holder using in my activity class and i was replacing this generic fragment with proper fragments at runtime.
Problem was i was giving id's to both include and generic_fragment_layout , removing id from include solved it.