Попытка вызвать виртуальный метод 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo ()' для ссылки на пустой объект - PullRequest
0 голосов
/ 14 марта 2019
2019-03-14 17:55:30.897 21311-21311/com.cavidel.tradefi E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.cavidel.tradefi, PID: 21311
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cavidel.tradefi/com.cavidel.tradefi.ui.login.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2806)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2884)
    at android.app.ActivityThread.-wrap11(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1614)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6524)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:888)
 Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference
    at android.content.ContextWrapper.getApplicationInfo(ContextWrapper.java:152)
    at android.app.FragmentManagerImpl.getTargetSdk(FragmentManager.java:2951)
    at android.app.FragmentManagerImpl.attachController(FragmentManager.java:2940)
    at android.app.FragmentController.attachHost(FragmentController.java:82)
    at android.app.Activity.attach(Activity.java:6965)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2739)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2884) 
    at android.app.ActivityThread.-wrap11(Unknown Source:0) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1614) 
    at android.os.Handler.dispatchMessage(Handler.java:106) 
    at android.os.Looper.loop(Looper.java:164) 
    at android.app.ActivityThread.main(ActivityThread.java:6524) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:888) 

2019-03-14 17: 55: 34.485 21311-21376 / com.cavidel.tradefi D / libc-netbsd: getaddrinfo: получить результат от прокси gai_error = 0 2019-03-14 17: 55: 34.491 21311-21376 / com.cavidel.tradefi I / System.out: порт: 443 2019-03-14 17: 55: 34.900 21311-21311 / com.cavidel.tradefi E / CrashlyticsCore: не удалось выполнить задачу. java.util.concurrent.TimeoutException в java.util.concurrent.FutureTask.get (FutureTask.java:206) в com.crashlytics.android.core.CrashlyticsBackgroundWorker.submitAndWait (CrashlyticsBackgroundWorker.java:41) в com.crashlytics.android.core.CrashlyticsController.handleUncaughtException (CrashlyticsController.java:321) в com.crashlytics.android.core.CrashlyticsController $ 6.onUncaughtException (CrashlyticsController.java:301) в com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.uncaughtException (CrashlyticsUncaughtExceptionHandler.java:42) в java.lang.ThreadGroup.uncaughtException (ThreadGroup.java:1068) в java.lang.ThreadGroup.uncaughtException (ThreadGroup.java:1063) at java.lang.Thread.dispatchUncaughtException (Thread.java:1955)

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...