chuchuva opened a new issue #298:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/298
## Problem
### What is expected to happen?
No crash
### What does actually happen?
App crashes on startup.
## Information
It happens very rarely. I can see it in bug reports. Unfortunately I can't
reproduce it locally.
```
java.lang.NullPointerException: Attempt to invoke virtual method 'void
android.widget.ImageView.setAnimation(android.view.animation.Animation)' on a
null object reference
at
org.apache.cordova.splashscreen.SplashScreen$4.run(SplashScreen.java:230)
at android.app.Activity.runOnUiThread(Activity.java:6388)
at
org.apache.cordova.splashscreen.SplashScreen.removeSplashScreen(SplashScreen.java:220)
at
org.apache.cordova.splashscreen.SplashScreen.access$1000(SplashScreen.java:50)
at
org.apache.cordova.splashscreen.SplashScreen$5$1.run(SplashScreen.java:337)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6971)
at java.lang.reflect.Method.invoke(Method.java)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:865)
```
### Environment, Platform, Device
Samsung Chromebook Plus (V2)
screen_resolution: "1541x1043",
model_id: "R85-13310.93.0",
low_memory: false,
orientation: "portrait",
family: "Samsung",
battery_level: 58.999996,
type: "device",
brand: "google",
simulator: false,
free_storage: 29528276992,
storage_size: 51982630912,
screen_dpi: 213,
free_memory: 1558048768,
memory_size: 4030775296,
online: true,
model: "Samsung Chromebook Plus (V2)",
screen_density: 1.3312501,
arch: "x86_64",
charging: false,
manufacturer: "Google"
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
cordova-plugin-splashscreen: version 5.0.3
Ionic:
Ionic CLI : 6.6.0
Ionic Framework : @ionic/angular 5.0.7
@angular-devkit/build-angular : 0.803.26
@angular-devkit/schematics : 8.3.26
@angular/cli : 8.3.26
@ionic/angular-toolkit : 2.2.0
Cordova:
Cordova CLI : 9.0.0 ([email protected])
Cordova Platforms : android 8.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0,
cordova-plugin-ionic-webview 4.2.1, (and 19 other plugins)
Utility:
cordova-res : not installed
native-run : 1.0.0
System:
NodeJS : v12.16.1 (C:\Program Files\nodejs\node.exe)
npm : 6.13.4
OS : Windows 10
## Checklist
- [x] I searched for existing GitHub issues
- [x] I included all the necessary information above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]