java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.github.yeriomin.yalpstore.model.Review.getComment()' on a null object reference


Solutions on the web1

Solution icon of github
via GitHub by avently
, 8 months ago
Attempt to invoke virtual method 'java.lang.String com.github.yeriomin.yalpstore.model.Review.getComment()' on a null object reference

Stack trace

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.github.yeriomin.yalpstore.model.Review.getComment()' on a null object reference
	at com.github.yeriomin.yalpstore.DetailsActivity$9.onClick(DetailsActivity.java:360)
	at android.view.View.performClick(View.java:5637)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.