cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsha Kiran (JIRA)" <>
Subject [jira] [Created] (CB-10734) NullPointerException for Fade animation in SplashScreen plugin on android
Date Mon, 29 Feb 2016 20:26:18 GMT
Harsha Kiran created CB-10734:

             Summary: NullPointerException for Fade animation in SplashScreen plugin on android
                 Key: CB-10734
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin SplashScreen
    Affects Versions: 3.2.0
            Reporter: Harsha Kiran

I couldn't replicate the issue on my device, but we see a lot of crash reports in our crashlytics
log with below message. So looking at code App is crashing on splashImageView.setAnimation(fadeOut);

So checking for splashImageView is null at line:214 ```if (fadeSplashScreenDuration > 0)```
might fix this issue.

```Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void
android.widget.ImageView.setAnimation(android.view.animation.Animation)' on a null object
       at org.apache.cordova.splashscreen.SplashScreen$
       at org.apache.cordova.splashscreen.SplashScreen.removeSplashScreen(
       at org.apache.cordova.splashscreen.SplashScreen.onMessage(
       at org.apache.cordova.PluginManager.postMessage(
       at org.apache.cordova.CordovaWebViewImpl.postMessage(
       at org.apache.cordova.splashscreen.SplashScreen$
       at android.os.Handler.handleCallback(
       at android.os.Handler.dispatchMessage(
       at android.os.Looper.loop(
       at java.lang.reflect.Method.invoke(
       at java.lang.reflect.Method.invoke(

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message