java.lang.NoSuchMethodError: com.atlassian.jira.security.JiraAuthenticationContext.getLoggedInUser()Lcom/atlassian/crowd/embedded/api/User;

Atlassian JIRA | Pavel Batanov | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 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 | 2 years ago | Pavel Batanov
    java.lang.NoSuchMethodError: com.atlassian.jira.security.JiraAuthenticationContext.getLoggedInUser()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 | 2 years ago | Pavel Batanov
    java.lang.NoSuchMethodError: com.atlassian.jira.security.JiraAuthenticationContext.getLoggedInUser()Lcom/atlassian/crowd/embedded/api/User;
  3. 0

    JIRA not starting after upgrade to 7 - Atlassian Answers

    atlassian.com | 11 months ago
    java.lang.RuntimeException: javax.servlet.ServletException: java.lang.NoSuchMethodError: com.atlassian.jira.security.JiraAuthenticationContext.getLoggedInUser()Lcom/atlassian/crowd/embedded/api/User;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    WL5.1 InternalImageServlet exceptions

    Google Groups | 2 decades ago | Henry Cooper
    java.lang.NoSuchMethodError: javax.servlet.ServletResponse: method isCommitted()Z not found at weblogic.servlet.internal.InternalImageServlet.service(InternalImageServlet.java, Compiled Code)
  6. 0

    Issue 18 - kaptcha - java.lang.NoSuchMethodError: com.jhlabs.image.RippleFilter.setXAmplitude(F)V - kaptcha is a modern version of the simplecaptcha project - Google Project Hosting

    google.com | 1 year ago
    java.lang.NoSuchMethodError: com.jhlabs.image.RippleFilter.setXAmplitude(F)V at com.google.code.kaptcha.impl.WaterRipple.getDistortedImage(WaterRipple.java:34) at com.google.code.kaptcha.impl.DefaultKaptcha.createImage(DefaultKaptcha.java:44) at com.google.code.kaptcha.servlet.KaptchaServlet.doGet(KaptchaServlet.java:84)

    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.security.JiraAuthenticationContext.getLoggedInUser()Lcom/atlassian/crowd/embedded/api/User;

      at com.atlassian.jira.ext.calendar.data.TipDataProvider.suppressTip()
    2. com.atlassian.jira
      TipDataProvider$1.write
      1. com.atlassian.jira.ext.calendar.data.TipDataProvider.suppressTip(TipDataProvider.java:49)
      2. com.atlassian.jira.ext.calendar.data.TipDataProvider.access$000(TipDataProvider.java:16)
      3. com.atlassian.jira.ext.calendar.data.TipDataProvider$1.write(TipDataProvider.java:37)
      3 frames
    3. com.atlassian.plugin
      DefaultWebResourceSet.writeHtmlTags
      1. com.atlassian.plugin.webresource.data.DataTagWriter.write(DataTagWriter.java:48)
      2. com.atlassian.plugin.webresource.data.DataTagWriter.write(DataTagWriter.java:33)
      3. com.atlassian.plugin.webresource.assembler.DefaultWebResourceSet.writeHtmlTags(DefaultWebResourceSet.java:82)
      4. com.atlassian.plugin.webresource.assembler.DefaultWebResourceSet.writeHtmlTags(DefaultWebResourceSet.java:69)
      4 frames
    4. com.atlassian.jira
      HeaderFooterRendering.includeResources
      1. com.atlassian.jira.plugin.navigation.HeaderFooterRendering.includeResources(HeaderFooterRendering.java:101)
      1 frame
    5. jsp.decorators
      general_002dhead_002dpre_jsp._jspService
      1. jsp.decorators.general_002dhead_002dpre_jsp._jspService(general_002dhead_002dpre_jsp.java:122)
      1 frame
    6. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
      1 frame