-1

I got this error when start SplashScreenActivity :

enter image description here

Any help would be highly appreciated, Thank you

--> "onCreate code on SplashScreenActivity"

public void onCreate(@Nullable  Bundle bundle) {
        super.onCreate(bundle);
        getWindow().setFlags(1024, 1024);
        setContentView(R.layout.activity_splash_screen);
        if (!NetworkManager.isInternetConnected(getApplicationContext())) {
            this.SPLASH_DELAY = 1000;
        }
        EventsHelper.INSTANCE.addEvent(this, SplashScreenActivityKt.TAG);
        NotificationUtilKt.openPlayStoreFromNotificationClick((Activity) this);
    }

--> "onCreate code on BaseActivity"

public void onCreate(@Nullable Bundle bundle) {
        // this.job = JobKt.Job$default((Job) null, 1, (Object) null);
        super.onCreate(bundle);
        KeyboardUtilKt.hideKeyboard(this);
    }
azzqssm
  • 3
  • 1
  • 1
    your application context may be null, you could try: https://stackoverflow.com/questions/16004891/why-getapplicationcontext-in-constructor-of-activity-throws-null-pointer-excep – Lenin Lambis Mar 09 '22 at 23:56

1 Answers1

-1
    KeyboardUtilKt.hideKeyboard(this); try to check hideKeyboard method or function have any null safety or not. look like context null checker with java and kotlin code.`

please add more details

RAMCODER
  • 61
  • 6