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
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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

    开源中国(OSChina.NET)

    oschina.net | 1 year ago
    java.lang.NoSuchMethodError: com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init> ([Ljava/lang/Class;Ljava/util/Collection;Ljava/util/Map; Ljava/lang/String;ZLcom/sun/xml/internal/bind/v2/model/annotation/Run timeAnnotationReader;ZZ)V at com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BindInfo. getJAXBContext(BindInfo.java:316) at com.sun.tools.internal.xjc.reader.internalizer.SCDBasedBindingSet. apply(SCDBasedBindingSet.java:195) at com.sun.tools.internal.xjc.ModelLoader. createXSOM(ModelLoader.java:502) ......//省略一部分stackTrace
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't inject @Context to Blocking Jersey

    GitHub | 2 years ago | schmitch
    java.lang.NoSuchMethodError: envisia.crm.jersey.resources.CustomerResource.getCustomer(I)Ljavax/ws/rs/core/Response;
  6. 0

    Jetty WebsocketClient does not connect with SSL on android

    Stack Overflow | 2 years ago | numerion
    java.lang.NoSuchMethodError: No virtual method setEndpointIdentificationAlgorithm(Ljava/lang/String;)V in class Ljavax/net/ssl/SSLParameters; or its super classes (declaration of 'javax.net.ssl.SSLParameters' appears in /system/framework/core-libart.jar) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at org.eclipse.jetty.util.ssl.SslContextFactory.customize(SslContextFactory.java:1382) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at org.eclipse.jetty.util.ssl.SslContextFactory.newSSLEngine(SslContextFactory.java:1328) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:309) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at org.eclipse.jetty.websocket.client.WebSocketClient.doStart(WebSocketClient.java:256) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at com.example.khodor.simplechatneuerversuch.MainActivity.onCreate(MainActivity.java:62) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at android.app.Activity.performCreate(Activity.java:5990) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at android.app.ActivityThread.access$800(ActivityThread.java:151) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at android.os.Handler.dispatchMessage(Handler.java:102) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at android.os.Looper.loop(Looper.java:135) 07-11 16:23:50.452 10167-10167/programmieren2.simplechat W/System.err﹕ at android.app.ActivityThread.main(ActivityThread.java:5254)

    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