Details
-
Bug
-
Resolution: Won't Fix
-
Medium
-
None
-
1.1.1
-
None
Description
The scenario is to upload an avatar (a personal avatar, not a system one), approve the avatar as a moderator (avatar moderation is on), then as the user, select the uploaded avatar. An exception will be thrown.
java.lang.NullPointerException
at com.jivesoftware.forum.action.AvatarDisplayAction.getImageFile(AvatarDisplayAction.java:107)
at com.jivesoftware.forum.action.UserAvatarAction.execute(UserAvatarAction.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)