title: Android Annotation - Null pointer Exception on methode init of the generated class
body: <p>I just start a new Android project, with the Android Annotation Library.
  <a href="http://androidannotations.org/" rel="nofollow">Android Annotation</a></p>
  
  <p>I've got two Activity : StartScreen who contains a button "information" who start a seconde Activity InfoActivity. Both are annotated.</p>
  
  <p>The first one work very well, but when I clicked on the "Information" button, I've got a <code>NullPointerException</code> on the <code>public static class IntentBuilder_</code> of the generated class : 'InfoActivity_'</p>
  
  <p>Here is the error trace :</p>
  
  <pre><code>04-16 09:32:29.329: E/AndroidRuntime(561): FATAL EXCEPTION: main
  java.lang.NullPointerException
  at android.content.ComponentName.&lt;init&gt;(ComponentName.java:75)
  at android.content.Intent.&lt;init&gt;(Intent.java:3122)
  at com.cinapp.dombox.tablet.activity.InfoActivity_$IntentBuilder_.&lt;init&gt;(InfoActivity_.java:63)
  at com.cinapp.dombox.tablet.activity.InfoActivity_.intent(InfoActivity_.java:53)
  at com.cinapp.dombox.tablet.activity.StartScreen.buttonInformation(StartScreen.java:24)
  at com.cinapp.dombox.tablet.activity.StartScreen_$1.onClick(StartScreen_.java:44)
  at android.view.View.performClick(View.java:3511)
  at android.view.View$PerformClick.run(View.java:14105)
  at android.os.Handler.handleCallback(Handler.java:605)
  at android.os.Handler.dispatchMessage(Handler.java:92)
  at android.os.Looper.loop(Looper.java:137)
  at android.app.ActivityThread.main(ActivityThread.java:4424)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:511)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
  at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p>Here is the <code>InfoActivity</code> more or less empty :</p>
  
  <pre><code>@EActivity(R.layout.activity_info)
  public class InfoActivity extends Activity {
  
  }
  </code></pre>
  
  <p>Here is the <code>InfoActivity_</code> :</p>
  
  <pre><code>public final class InfoActivity_
  extends InfoActivity
  {
  
  
  @Override
  public void onCreate(Bundle savedInstanceState) {
      init_(savedInstanceState);
      super.onCreate(savedInstanceState);
      setContentView(layout.activity_info);
  }
  
  private void init_(Bundle savedInstanceState) {
  }
  
  private void afterSetContentView_() {
  }
  
  @Override
  public void setContentView(int layoutResID) {
      super.setContentView(layoutResID);
      afterSetContentView_();
  }
  
  @Override
  public void setContentView(View view, LayoutParams params) {
      super.setContentView(view, params);
      afterSetContentView_();
  }
  
  @Override
  public void setContentView(View view) {
      super.setContentView(view);
      afterSetContentView_();
  }
  
  public static InfoActivity_.IntentBuilder_ intent(Context context) {
      return new InfoActivity_.IntentBuilder_(context);
  }
  
  public static class IntentBuilder_ {
  
      private Context context_;
      private final Intent intent_;
  
      public IntentBuilder_(Context context) {
          context_ = context;
          intent_ = new Intent(context, InfoActivity_.class);
      }
  
      public Intent get() {
          return intent_;
      }
  
      public InfoActivity_.IntentBuilder_ flags(int flags) {
          intent_.setFlags(flags);
          return this;
      }
  
      public void start() {
          context_.startActivity(intent_);
      }
  
      public void startForResult(int requestCode) {
          if (context_ instanceof Activity) {
              ((Activity) context_).startActivityForResult(intent_, requestCode);
          } else {
              context_.startActivity(intent_);
          }
      }
  
  }
  
  }
  </code></pre>
  
  <p>And finally here is the `Android Manifest``</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.exemple.application"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  
  &lt;uses-sdk
      android:minSdkVersion="15"
      android:targetSdkVersion="15" /&gt;
  
  &lt;application
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
      &lt;activity
          android:name=".activity.StartScreen_"
          android:label="@string/title_activity_start_screen" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;activity
          android:name=".activity.InfoActivity_"
          android:label="@string/title_activity_info" &gt;
          &lt;meta-data
              android:name="android.support.PARENT_ACTIVITY"
              android:value="com.exemple.application.activity.StartScreen_" /&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>It is suppose to be very easy but I guess missed something</strong></p>