java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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*;
    via by Pavel Batanov,
  • 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*;
    via by Pavel Batanov,
    • 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)
    No Bugmate found.