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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by imidhuntv
, 1 year ago
Call Base.initialize(context) within your Application onCreate() method.
via GitHub by hisham2007
, 1 year ago
Call Base.initialize(context) within your Application onCreate() method.
via GitHub by subbuboyapati
, 1 year ago
Call Base.initialize(context) within your Application onCreate() method.
java.lang.NullPointerException: Call Base.initialize(context) within your Application onCreate() method.
at com.thefinestartist.Base.getContext(Base.java:30)
at com.thefinestartist.utils.service.WindowManagerUtil.com.thefinestartist.utils.service.ServiceUtil.getSystemService(WindowManagerUtil.java:2076)
at com.thefinestartist.utils.ui.DisplayUtil.getWidth(DisplayUtil.java:26)
at com.thefinestartist.finestwebview.FinestWebViewActivity.getMaxWidth(FinestWebViewActivity.java:1833)
at com.thefinestartist.finestwebview.FinestWebViewActivity.onCreate(FinestWebViewActivity.java:889)
at android.app.Activity.performCreate(Activity.java:6280)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1131)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2564)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.