java.lang.NoSuchMethodError: com.atlassian.jira.avatar.AvatarImpl.createCustomAvatar(Ljava/lang/String;Ljava/lang/String;Lcom/atlassian/jira/user/ApplicationUser;)Lcom/atlassian/jira/avatar/AvatarImpl;

Atlassian JIRA | Nga Anh [Atlassian] | 2 years ago
  1. 0

    New implementation for avatar uploading of JIRA breaks SD when we are trying to upload new avatar for profile Found on OD instance https://nov11.jira-dev.com (login as admin/admin) - JIRA Version : 6.4-OD9 Steps: 1. Go to any SD project 2. Go to Customer Portal page by click on "Customer Portal" link in "Settings" tab 3. Go to upload new avatar for profile Stack-trace: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>500</status-code><message>com.atlassian.jira.avatar.AvatarImpl.createCustomAvatar(Ljava/lang/String;Ljava/lang/String;Lcom/atlassian/jira/user/ApplicationUser;)Lcom/atlassian/jira/avatar/AvatarImpl;</message><stack-trace>java.lang.NoSuchMethodError: com.atlassian.jira.avatar.AvatarImpl.createCustomAvatar(Ljava/lang/String;Ljava/lang/String;Lcom/atlassian/jira/user/ApplicationUser;)Lcom/atlassian/jira/avatar/AvatarImpl; at com.atlassian.servicedesk.internal.feature.customer.user.UserAvatarCreateService.createAndAssign(UserAvatarCreateService.scala:41) at com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService$$anonfun$updateProfile$2.apply(CustomerViewProfileService.scala:72) at com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService$$anonfun$updateProfile$2.apply(CustomerViewProfileService.scala:51) at scalaz.$bslash$div$class.fold(Either.scala:40) at scalaz.$bslash$div$minus.fold(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService.updateProfile(CustomerViewProfileService.scala:49) at com.atlassian.servicedesk.internal.rest.UserResource.updateProfile(UserResource.scala:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) ...

    Atlassian JIRA | 2 years ago | Nga Anh [Atlassian]
    java.lang.NoSuchMethodError: com.atlassian.jira.avatar.AvatarImpl.createCustomAvatar(Ljava/lang/String;Ljava/lang/String;Lcom/atlassian/jira/user/ApplicationUser;)Lcom/atlassian/jira/avatar/AvatarImpl;
  2. 0

    New implementation for avatar uploading of JIRA breaks SD when we are trying to upload new avatar for profile Found on OD instance https://nov11.jira-dev.com (login as admin/admin) - JIRA Version : 6.4-OD9 Steps: 1. Go to any SD project 2. Go to Customer Portal page by click on "Customer Portal" link in "Settings" tab 3. Go to upload new avatar for profile Stack-trace: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>500</status-code><message>com.atlassian.jira.avatar.AvatarImpl.createCustomAvatar(Ljava/lang/String;Ljava/lang/String;Lcom/atlassian/jira/user/ApplicationUser;)Lcom/atlassian/jira/avatar/AvatarImpl;</message><stack-trace>java.lang.NoSuchMethodError: com.atlassian.jira.avatar.AvatarImpl.createCustomAvatar(Ljava/lang/String;Ljava/lang/String;Lcom/atlassian/jira/user/ApplicationUser;)Lcom/atlassian/jira/avatar/AvatarImpl; at com.atlassian.servicedesk.internal.feature.customer.user.UserAvatarCreateService.createAndAssign(UserAvatarCreateService.scala:41) at com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService$$anonfun$updateProfile$2.apply(CustomerViewProfileService.scala:72) at com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService$$anonfun$updateProfile$2.apply(CustomerViewProfileService.scala:51) at scalaz.$bslash$div$class.fold(Either.scala:40) at scalaz.$bslash$div$minus.fold(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService.updateProfile(CustomerViewProfileService.scala:49) at com.atlassian.servicedesk.internal.rest.UserResource.updateProfile(UserResource.scala:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) ...

    Atlassian JIRA | 2 years ago | Nga Anh [Atlassian]
    java.lang.NoSuchMethodError: com.atlassian.jira.avatar.AvatarImpl.createCustomAvatar(Ljava/lang/String;Ljava/lang/String;Lcom/atlassian/jira/user/ApplicationUser;)Lcom/atlassian/jira/avatar/AvatarImpl;
  3. 0

    GitHub comment 17#141895955

    GitHub | 1 year ago | mbrrg
    java.lang.NoSuchMethodError: com.atlassian.jira.user.UserUtils.getUser(Ljava/lang/String;)Lcom/atlassian/jira/user/ApplicationUser;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.atlassian.jira.avatar.AvatarImpl.createCustomAvatar(Ljava/lang/String;Ljava/lang/String;Lcom/atlassian/jira/user/ApplicationUser;)Lcom/atlassian/jira/avatar/AvatarImpl;

      at com.atlassian.servicedesk.internal.feature.customer.user.UserAvatarCreateService.createAndAssign()
    2. com.atlassian.servicedesk
      CustomerViewProfileService$$anonfun$updateProfile$2.apply
      1. com.atlassian.servicedesk.internal.feature.customer.user.UserAvatarCreateService.createAndAssign(UserAvatarCreateService.scala:41)
      2. com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService$$anonfun$updateProfile$2.apply(CustomerViewProfileService.scala:72)
      3. com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService$$anonfun$updateProfile$2.apply(CustomerViewProfileService.scala:51)
      3 frames
    3. Scalaz
      $bslash$div$minus.fold
      1. scalaz.$bslash$div$class.fold(Either.scala:40)
      2. scalaz.$bslash$div$minus.fold(Either.scala:283)
      2 frames
    4. com.atlassian.servicedesk
      UserResource.updateProfile
      1. com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService.updateProfile(CustomerViewProfileService.scala:49)
      2. com.atlassian.servicedesk.internal.rest.UserResource.updateProfile(UserResource.scala:41)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames