Super should be called at the start of the method. Example :
public class DummyActivity extends Activity {
  public void onCreate(Bundle bundle) {
    // missing call to super.onCreate(bundle)
    foo();
  }
}