bradmartin / nativescript-gif

NativeScript plugin to use native gifs
Other
50 stars 18 forks source link

TypeError: Cannot read property 'setImageDrawable' of null #55

Open csimpi opened 3 years ago

csimpi commented 3 years ago

This error message started appearing for no reason. There's no GIF used in the component at all, it's very unreasonable.

JS: TypeError: Cannot read property 'setImageDrawable' of null
JS:     at file: src/webpack:/app/node_modules/nativescript-gif/gif.android.js:96:0
JS:     at ZoneDelegate.invoke (file: src/webpack:/app/node_modules/zone.js/fesm2015/zone.js:372:0)
JS:     at Object.onInvoke (file: src/webpack:/app/node_modules/@angular/core/fesm2015/core.js:28672:0)
JS:     at ZoneDelegate.invoke (file: src/webpack:/app/node_modules/zone.js/fesm2015/zone.js:371:0)
JS:     at Zone.run (file: src/webpack:/app/node_modules/zone.js/fesm2015/zone.js:134:0)
JS:     at file: src/webpack:/app/node_modules/zone.js/fesm2015/zone.js:1276:0
JS:     at ZoneDelegate.invokeTask (file: src/webpack:/app/node_modules/zone.js/fesm2015/zone.js:406:0)
JS:     at Object.onInvokeTask (file: src/webpack:/app/node_modules/@angular/core/fesm2015/core.js:28659:0)
JS:     at ZoneDelegate.invokeTask (file: src/webpack:/app/node_modules/zone.js/fesm2015/zone.js:405:0)
shiv19 commented 3 years ago

@csimpi It would be helpful if you can tell us the steps to re-create this issue :)