i already set actionbar but getSupportActionBar() return null : If i go to another activity, it will crash and say my action bar is null
i already set it but why it's still be null ?
can someone help me ? i am beginner

my manifest code:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="arvin.a8c_smpbruder">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity
            android:name=".Main"
            android:label="@string/app_name"
            android:theme="@style/AppTheme.NoActionBar"></activity>
        <activity
            android:name=".DaftarMurid"
            android:label="Daftar Murid" />
        <activity
            android:name=".Settings"
            android:label="@string/title_activity_settings"
            android:parentActivityName=".Main">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="arvin.a8c_smpbruder.Main" />
        </activity>
        <activity
            android:name=".JadwalPelajaran"
            android:label="Jadwal Pelajaran" />
        <activity
            android:name=".UploadFoto"
            android:label="Upload Foto" />
        <activity
            android:name=".GaleriFoto"
            android:label="Galeri" />
        <activity
            android:name=".About"
            android:label="Tentang" />
        <activity
            android:name=".Contributors"
            android:label="Kontributor" />
        <activity
            android:name=".LoadingHome"
            android:theme="@style/AppTheme.NoActionBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".TampilanAkun"
            android:label="Akun" />
        <activity android:name=".JadwalPiket"></activity>
    </application>

</manifest>

My Main Activity Code:

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //signIn.setOnClickListener(this);
        setContentView(R.layout.activity_main);
        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);
    }

i setted the actionbar on there, but still null :(
can someone help me ?