Skip to content
Advertisement

Null pointer Exception in Android when using Glide

Here is the logcat output

JavaScript

From my logcat the exception occurs when using Glide to load image. Line 100 is .into(uImage)

JavaScript

Advertisement

Answer

As far as I understand, you’re initializing the Views of BottomSheet wrong. If I’m not wrong, you’re trying to show this BottomSheet inside an Activity, if yes, try the below code:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement