java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I

Sonatype JIRA | Petr Prochazka | 3 years ago
  1. 0

    After upgrade Nexus from 2.6.4 to 2.7, we can not upload any artifact to repository. Nothing exception is not in _nexus.log_ but in _localhost.log_ is: {code}Dec 05, 2013 12:20:53 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I at org.sonatype.nexus.web.content.internal.VelocityRenderer.renderErrorPage(VelocityRenderer.java:111) at org.sonatype.nexus.web.content.NexusContentServlet.handleException(NexusContentServlet.java:300) at org.sonatype.nexus.web.content.NexusContentServlet.doGet(NexusContentServlet.java:374) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at org.sonatype.nexus.web.content.NexusContentServlet.service(NexusContentServlet.java:324) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:278) at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:268) at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:180) at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93) at com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) at org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:83) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) at org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:83) at org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:57) at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132) at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129) at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:300) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:433) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:384) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665) at java.lang.Thread.run(Thread.java:744){code}

    Sonatype JIRA | 3 years ago | Petr Prochazka
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I
  2. 0

    MetricFilterAutoConfiguration throwing Exception Google App Engine

    GitHub | 2 years ago | Splaktar
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I
  3. 0

    Spring4.1版本的mvc web工程有关问题 - Web前端

    myexception.cn | 1 year ago
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Groovy + Dropwizard and servlet 3.1.0 issue

    Stack Overflow | 2 years ago | user1416138
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I
  6. 0

    Spring Mock mvc rest-assured test fails to get status

    Stack Overflow | 2 years ago | RCola
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I

    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

      javax.servlet.http.HttpServletResponse.getStatus()I

      at org.sonatype.nexus.web.content.internal.VelocityRenderer.renderErrorPage()
    2. org.sonatype.nexus
      NexusContentServlet.doGet
      1. org.sonatype.nexus.web.content.internal.VelocityRenderer.renderErrorPage(VelocityRenderer.java:111)
      2. org.sonatype.nexus.web.content.NexusContentServlet.handleException(NexusContentServlet.java:300)
      3. org.sonatype.nexus.web.content.NexusContentServlet.doGet(NexusContentServlet.java:374)
      3 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      1 frame
    4. org.sonatype.nexus
      NexusContentServlet.service
      1. org.sonatype.nexus.web.content.NexusContentServlet.service(NexusContentServlet.java:324)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    6. Guice - Servlet
      ManagedServletPipeline.service
      1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:278)
      2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:268)
      3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:180)
      4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)
      4 frames
    7. com.yammer.metrics
      WebappMetricsFilter.doFilter
      1. com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76)
      1 frame
    8. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
      2. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
      3. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
      4. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      5. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
      6. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
      7. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
      8. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      9. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
      10. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
      11. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
      12. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      13. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
      14. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
      15. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
      16. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
      17. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
      18. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
      19. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
      20. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      20 frames
    9. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)
      1 frame
    10. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterChain.doFilter
      1. org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:83)
      1 frame
    11. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)
      1 frame
    12. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterPipeline.dispatch
      1. org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:83)
      2. org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:57)
      2 frames
    13. Guice - Servlet
      GuiceFilter.doFilter
      1. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132)
      2. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129)
      3. com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206)
      4. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129)
      4 frames
    14. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:300)
      8 frames
    15. org.apache.coyote
      AjpAprProtocol$AjpConnectionHandler.process
      1. org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:433)
      2. org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:384)
      2 frames
    16. Grizzly HTTP
      AprEndpoint$Worker.run
      1. org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)
      1 frame