java.lang.NoSuchMethodError: com.atlassian.jira.event.issue.IssueEvent.getUser()Lcom/atlassian/crowd/embedded/api/User;

GitHub | mkuznyetsov | 2 months ago
  1. 0

    GitHub comment 684#248225991

    GitHub | 2 months ago | mkuznyetsov
    java.lang.NoSuchMethodError: com.atlassian.jira.event.issue.IssueEvent.getUser()Lcom/atlassian/crowd/embedded/api/User;
  2. 0

    h3. Summary When upgrading JIRA to version 7.0, if the older instance had *JIRA Calendar 2.1.11* installed, accessing the dashboard and multiple other pages results in 500 error. !500_error_jiracal.png|thumbnail! The below exception may appear in the {{atlassian-jira.log}}. {noformat} 2015-10-07 21:12:06,293 http-nio-8080-exec-10 ERROR admin 1272x26064x1 1pigghd 192.168.1.100 /secure/Dashboard.jspa [o.a.c.c.C.[.[.[.[jsp.decorators.general_002dhead_002dpre_jsp]] Servlet.service() for servlet jsp.decorators.general_002dhead_002dpre_jsp threw exception java.lang.NoSuchMethodError: com.atlassian.jira.security.JiraAuthenticationContext.getLoggedInUser()Lcom/atlassian/crowd/embedded/api/User; at com.atlassian.jira.ext.calendar.data.TipDataProvider.suppressTip(TipDataProvider.java:49) at com.atlassian.jira.ext.calendar.data.TipDataProvider.access$000(TipDataProvider.java:16) at com.atlassian.jira.ext.calendar.data.TipDataProvider$1.write(TipDataProvider.java:37) at com.atlassian.plugin.webresource.data.DataTagWriter.write(DataTagWriter.java:48) at com.atlassian.plugin.webresource.data.DataTagWriter.write(DataTagWriter.java:33) at com.atlassian.plugin.webresource.assembler.DefaultWebResourceSet.writeHtmlTags(DefaultWebResourceSet.java:82) at com.atlassian.plugin.webresource.assembler.DefaultWebResourceSet.writeHtmlTags(DefaultWebResourceSet.java:69) at com.atlassian.jira.plugin.navigation.HeaderFooterRendering.includeResources(HeaderFooterRendering.java:101) at jsp.decorators.general_002dhead_002dpre_jsp._jspService(general_002dhead_002dpre_jsp.java:122) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 25 filtered at com.atlassian.jira.web.pagebuilder.AbstractJspDecorator.writeTemplate(AbstractJspDecorator.java:111) at com.atlassian.jira.web.pagebuilder.AbstractJspDecorator.writePreHead(AbstractJspDecorator.java:56) at com.atlassian.jira.web.pagebuilder.GeneralJspDecorator.writePreHead(GeneralJspDecorator.java:34) at com.atlassian.jira.web.pagebuilder.DefaultPageBuilder.flush(DefaultPageBuilder.java:87) at com.atlassian.jira.web.action.Dashboard.doExecute(Dashboard.java:195) ... 1 filtered at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:67) ... 7 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 50 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 159 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat} h3. Expected behavior JIRA should load all pages correctly. h3. Actual behavior Due to something broken in JIRA Calendar's methods, loading pages fail with a {{NoSuchMethodError}} thrown at the logs and a 500 error shown on-screen. h3. Workaround h5. Option #1 # Go to the below address; {noformat} http://<jira-address>/plugins/servlet/upm {noformat} # Update the *JIRA Calendar Plugin* to the latest version available; h5. Option #2 # Go to the below address; {noformat} http://<jira-address>/plugins/servlet/upm {noformat} # Disable the *JIRA Calendar Plugin*;

    Atlassian JIRA | 1 year ago | Pavel Batanov
    java.lang.NoSuchMethodError: com.atlassian.jira.security.JiraAuthenticationContext.getLoggedInUser()Lcom/atlassian/crowd/embedded/api/User;
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Calendar not working with JIRA 7

    GitHub | 1 year ago | amelandri
    java.lang.NoSuchMethodError: ru.mail.jira.plugins.calendar.MailRuCalendarAction.getLoggedInUser()Lcom/atlassian/crowd/embedded/api/User;
  5. 0

    h3. Summary When upgrading JIRA to version 7.0, if the older instance had *JIRA Calendar 2.1.11* installed, accessing the dashboard and multiple other pages results in 500 error. !500_error_jiracal.png|thumbnail! The below exception may appear in the {{atlassian-jira.log}}. {noformat} 2015-10-07 21:12:06,293 http-nio-8080-exec-10 ERROR admin 1272x26064x1 1pigghd 192.168.1.100 /secure/Dashboard.jspa [o.a.c.c.C.[.[.[.[jsp.decorators.general_002dhead_002dpre_jsp]] Servlet.service() for servlet jsp.decorators.general_002dhead_002dpre_jsp threw exception java.lang.NoSuchMethodError: com.atlassian.jira.security.JiraAuthenticationContext.getLoggedInUser()Lcom/atlassian/crowd/embedded/api/User; at com.atlassian.jira.ext.calendar.data.TipDataProvider.suppressTip(TipDataProvider.java:49) at com.atlassian.jira.ext.calendar.data.TipDataProvider.access$000(TipDataProvider.java:16) at com.atlassian.jira.ext.calendar.data.TipDataProvider$1.write(TipDataProvider.java:37) at com.atlassian.plugin.webresource.data.DataTagWriter.write(DataTagWriter.java:48) at com.atlassian.plugin.webresource.data.DataTagWriter.write(DataTagWriter.java:33) at com.atlassian.plugin.webresource.assembler.DefaultWebResourceSet.writeHtmlTags(DefaultWebResourceSet.java:82) at com.atlassian.plugin.webresource.assembler.DefaultWebResourceSet.writeHtmlTags(DefaultWebResourceSet.java:69) at com.atlassian.jira.plugin.navigation.HeaderFooterRendering.includeResources(HeaderFooterRendering.java:101) at jsp.decorators.general_002dhead_002dpre_jsp._jspService(general_002dhead_002dpre_jsp.java:122) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 25 filtered at com.atlassian.jira.web.pagebuilder.AbstractJspDecorator.writeTemplate(AbstractJspDecorator.java:111) at com.atlassian.jira.web.pagebuilder.AbstractJspDecorator.writePreHead(AbstractJspDecorator.java:56) at com.atlassian.jira.web.pagebuilder.GeneralJspDecorator.writePreHead(GeneralJspDecorator.java:34) at com.atlassian.jira.web.pagebuilder.DefaultPageBuilder.flush(DefaultPageBuilder.java:87) at com.atlassian.jira.web.action.Dashboard.doExecute(Dashboard.java:195) ... 1 filtered at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:67) ... 7 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 50 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 159 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat} h3. Expected behavior JIRA should load all pages correctly. h3. Actual behavior Due to something broken in JIRA Calendar's methods, loading pages fail with a {{NoSuchMethodError}} thrown at the logs and a 500 error shown on-screen. h3. Workaround h5. Option #1 # Go to the below address; {noformat} http://<jira-address>/plugins/servlet/upm {noformat} # Update the *JIRA Calendar Plugin* to the latest version available; h5. Option #2 # Go to the below address; {noformat} http://<jira-address>/plugins/servlet/upm {noformat} # Disable the *JIRA Calendar Plugin*;

    Atlassian JIRA | 1 year ago | Pavel Batanov
    java.lang.NoSuchMethodError: com.atlassian.jira.security.JiraAuthenticationContext.getLoggedInUser()Lcom/atlassian/crowd/embedded/api/User;

    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.event.issue.IssueEvent.getUser()Lcom/atlassian/crowd/embedded/api/User;

      at com.codenvy.jira.IssueCreatedListener.onIssueEvent()
    2. com.codenvy.jira
      IssueCreatedListener.onIssueEvent
      1. com.codenvy.jira.IssueCreatedListener.onIssueEvent(IssueCreatedListener.java:128)
      1 frame
    3. 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:498)
      4 frames