sangcomz / FishBun

:blowfish:FishBun is Image Picker for android.
Apache License 2.0
672 stars 143 forks source link

Fatal Exception: java.lang.NullPointerException ImageAdapter.loadImage #146

Open Hasib0 opened 5 years ago

Hasib0 commented 5 years ago
Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'void com.sangcomz.fishbun.adapter.image.ImageAdapter.loadImage(android.widget.ImageView, android.net.Uri)' on a null object reference
       at com.sangcomz.fishbun.adapter.view.AlbumListAdapter.onBindViewHolder(AlbumListAdapter.java:40)
       at com.sangcomz.fishbun.adapter.view.AlbumListAdapter.onBindViewHolder(AlbumListAdapter.java:40)
       at com.sangcomz.fishbun.adapter.view.AlbumListAdapter.onBindViewHolder(AlbumListAdapter.java:2)
       at com.sangcomz.fishbun.adapter.view.AlbumListAdapter.onBindViewHolder(AlbumListAdapter.java:2)
       at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java)
       at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:29)
       at android.support.v7.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:39)
       at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:506)

Screenshot of Crashlytics:

crashlytics issue

Smartphone (please complete the following information):

Solve this issue soon, this issue is my app top issue at this moment. Also faced another issue with camera that's why close the camera from FishBun.

MKickelberg commented 3 years ago

This happens to me too constantly, any fixes?