java.lang.NullPointerException: Call Base.initialize(context) within your Application onCreate() method.

GitHub | subbuboyapati | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    NullpointerException from Activity oncreate()

    GitHub | 7 months ago | subbuboyapati
    java.lang.NullPointerException: Call Base.initialize(context) within your Application onCreate() method.
  2. 0

    crashlytics reported bug

    GitHub | 5 months ago | hisham2007
    java.lang.NullPointerException: Call Base.initialize(context) within your Application onCreate() method.
  3. 0

    GitHub comment 79#235577918

    GitHub | 9 months ago | imidhuntv
    java.lang.NullPointerException: Call Base.initialize(context) within your Application onCreate() method.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Call Base.initialize(context) within your Application onCreate() method.

      at com.thefinestartist.Base.getContext()
    2. com.thefinestartist
      Base.getContext
      1. com.thefinestartist.Base.getContext(Base.java:30)
      1 frame
    3. com.thefinestartist.utils
      DisplayUtil.getWidth
      1. com.thefinestartist.utils.service.ServiceUtil.getSystemService(ServiceUtil.java:76)
      2. com.thefinestartist.utils.service.ServiceUtil.getWindowManager(ServiceUtil.java:251)
      3. com.thefinestartist.utils.service.WindowManagerUtil.getDefaultDisplay(WindowManagerUtil.java:19)
      4. com.thefinestartist.utils.ui.DisplayUtil.getWidth(DisplayUtil.java:26)
      4 frames
    4. com.thefinestartist.finestwebview
      FinestWebViewActivity.onCreate
      1. com.thefinestartist.finestwebview.FinestWebViewActivity.getMaxWidth(FinestWebViewActivity.java:833)
      2. com.thefinestartist.finestwebview.FinestWebViewActivity.layoutViews(FinestWebViewActivity.java:467)
      3. com.thefinestartist.finestwebview.FinestWebViewActivity.onCreate(FinestWebViewActivity.java:889)
      3 frames
    5. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5133)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
      5. android.app.ActivityThread.access$600(ActivityThread.java:141)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:5103)
      9 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
      3. com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
      3 frames
    8. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame