Skip to content Skip to sidebar Skip to footer

Java Null Pointer Exception

Based on different SO questions I understand what the java.null.pointer exception is I am just not sure why it occurs in this case. In summary a reference to a variable declared as

Solution 1:

Did you add the AppControler to your manifest?

<application
        android:name=".AppController" //this one
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">

Post a Comment for "Java Null Pointer Exception"