java.lang.RuntimeException: Unable to start activity ComponentInfo{websters.smartindiaserviceapp/websters.smartindiaserviceapp.Activities.WelcomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.v4.app.FragmentTransaction android.support.v4.app.FragmentManager.beginTransaction()' on a null object reference

Stack Overflow | Maklee Lee | 1 month ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    android.support.v4.app.FragmentManager.beginTransaction()' on a null object reference

    Stack Overflow | 1 month ago | Maklee Lee
    java.lang.RuntimeException: Unable to start activity ComponentInfo{websters.smartindiaserviceapp/websters.smartindiaserviceapp.Activities.WelcomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.v4.app.FragmentTransaction android.support.v4.app.FragmentManager.beginTransaction()' on a null object reference
  2. 0

    FragmentActivity.getSupportFragmentManager()' on a null object reference

    Stack Overflow | 6 months ago | Mickey Evers
    java.lang.RuntimeException: Unable to start activity ComponentInfo{android.evers.mickey.final_eindwerk_android/android.evers.mickey.final_eindwerk_android.AutoSelected}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.v4.app.FragmentManager android.support.v4.app.FragmentActivity.getSupportFragmentManager()' on a null object reference
  3. 0

    GitHub comment 343#277773745

    GitHub | 2 weeks ago | gubatron
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.frostwire.android/com.frostwire.android.gui.activities.SettingsActivity2}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.preference.SwitchPreferenceCompat.setOnPreferenceChangeListener(android.support.v7.preference.Preference$OnPreferenceChangeListener)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting fatal exception while using FragmentStatePagerAdapter

    Stack Overflow | 4 months ago | Ravi Bhandari
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.willage/com.myapp.DashboardActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.v4.app.Fragment android.support.v4.app.FragmentManager.getFragment(android.os.Bundle, java.lang.String)' on a null object reference
  6. 0

    How to restore Recyclerview after rotation with onRestoreInstanteState()

    Stack Overflow | 11 months ago | CBA110
    java.lang.RuntimeException: Unable to start activity ComponentInfo{uk.co.my_package.weatherscan/uk.co.my_package.weatherscan.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.LinearLayoutManager.onRestoreInstanceState(android.os.Parcelable)' on a null object reference

  1. Indri Yunita 4 times, last 2 weeks ago
  2. andreeaa marin 184 times, last 1 month ago
  3. Reich 59 times, last 1 month ago
  4. gamebusterz 40 times, last 1 month ago
  5. Emrah Küçük 3 times, last 2 months ago
42 more registered users
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    Unable to start activity ComponentInfo{websters.smartindiaserviceapp/websters.smartindiaserviceapp.Activities.WelcomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.v4.app.FragmentTransaction android.support.v4.app.FragmentManager.beginTransaction()' on a null object reference

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    2 frames