skip to Main Content

Android Studio – Android sending .getClass() to another class function

Hey all I am having an issue fixing the following error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxxxxxxxxxxx/com.xxxxxxxxxxx.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.reflect.Method.getName()' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)…

VIEW QUESTION
Back To Top
Search