java.lang.reflect.InvocationTargetException

Atlassian JIRA | Austin Mills | 1 decade ago
  1. 0

    A user complained that JIRA was not responding -- the port was listening, but the page was not being returned. I investigated, but all I saw in catalina.out was a "Starting log" message from CVSRepositoryUtilImpl from rouhgly 7 minutes ago. After about another three minutes of waiting, the page returned and a large number of exceptions were thrown. After this period, JIRA seems to be running as usual. I'm running Enterprise 2.6.1 on Linux, backed by MySQL on the same box. I'll attach my catalina.out to this bug -- let me know if you need anything else. The exceptions were generally like this: [ERROR] ServletValueStack - -METHOD: "text", exception: <java.lang.reflect.InvocationTargetException>java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at webwork.util.ValueStack.findValue(ValueStack.java:429) at webwork.util.ValueStack.findValue(ValueStack.java:171) at webwork.view.taglib.WebWorkBodyTagSupport.findString(WebWorkBodyTagSupport.java:72) at com.atlassian.jira.web.tags.TextTag.doEndTag(TextTag.java:93) at org.apache.jsp.navigator_jsp._jspx_meth_webwork_text_28(navigator_jsp.java:2651) at org.apache.jsp.navigator_jsp._jspService(navigator_jsp.java:1056) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498) at com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:169) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666) at java.lang.Thread.run(Thread.java:536) Caused by: java.lang.IllegalStateException: getAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:954) at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171) at webwork.action.factory.SessionMap.get(SessionMap.java:91) at com.atlassian.jira.web.action.JiraWebActionSupport.getUserPreferences(JiraWebActionSupport.java:75) at com.atlassian.jira.web.action.JiraWebActionSupport.getLocale(JiraWebActionSupport.java:452) at webwork.action.ActionSupport.getTexts(ActionSupport.java:289) at webwork.action.ActionSupport.getText(ActionSupport.java:323) at com.atlassian.jira.action.JiraActionSupport.getText(JiraActionSupport.java:138) at com.atlassian.jira.web.action.JiraWebActionSupport.getText(JiraWebActionSupport.java:383) ... 61 more

    Atlassian JIRA | 1 decade ago | Austin Mills
    java.lang.reflect.InvocationTargetException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    I have tried importing bugzilla into 2.3 (since 2.4.1 being broken is a known bug). I have problems with the following: - most web browsers/proxies seem to timeout on a request that takes this long (an hour or more with a large bugzilla database). To get around this, I do a GET request on the bugzilla import using a tool that controls/ignores the timeout, and send the JSESSIONID cookie so it will log in. - I get the following exception, presumable because the session timeout is less than the length of time it takes. [10:09:56] java.lang.IllegalStateException: getAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:954) at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171) at webwork.action.factory.SessionMap.get(SessionMap.java:86) at com.atlassian.jira.web.action.JiraWebActionSupport.getRemoteUser(JiraWebActionSupport.java:51) at com.atlassian.jira.web.action.util.BugzillaImport.createChangeHistory(BugzillaImport.java:335) at com.atlassian.jira.web.action.util.BugzillaImport.createIssue(BugzillaImport.java:271) at com.atlassian.jira.web.action.util.BugzillaImport.createIssues(BugzillaImport.java:210) at com.atlassian.jira.web.action.util.BugzillaImport.doExecute(BugzillaImport.java:132) at webwork.action.ActionSupport.execute(ActionSupport.java:116) I would suggest that the bugzilla -> XML process should be a separate Java application, and this XML should then be imported via the regular JIRA mechanism. I rate this as major as it could potentially push our company's decision to adopt JIRA over our existing bugzilla installation into the negative. We are currently evaluating it.

    Atlassian JIRA | 1 decade ago | Brett Porter
    java.lang.IllegalStateException: getAttribute: Session already invalidated

  1. abrazeneb 15 times, last 4 months ago
4 unregistered visitors
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.IllegalStateException

    getAttribute: Session already invalidated

    at org.apache.catalina.session.StandardSession.getAttribute()
  2. Glassfish Core
    StandardSessionFacade.getAttribute
    1. org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:954)
    2. org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171)
    2 frames
  3. webwork.action.factory
    SessionMap.get
    1. webwork.action.factory.SessionMap.get(SessionMap.java:91)
    1 frame
  4. com.atlassian.jira
    JiraWebActionSupport.getLocale
    1. com.atlassian.jira.web.action.JiraWebActionSupport.getUserPreferences(JiraWebActionSupport.java:75)
    2. com.atlassian.jira.web.action.JiraWebActionSupport.getLocale(JiraWebActionSupport.java:452)
    2 frames
  5. webwork.action
    ActionSupport.getText
    1. webwork.action.ActionSupport.getTexts(ActionSupport.java:289)
    2. webwork.action.ActionSupport.getText(ActionSupport.java:323)
    2 frames
  6. com.atlassian.jira
    JiraWebActionSupport.getText
    1. com.atlassian.jira.action.JiraActionSupport.getText(JiraActionSupport.java:138)
    2. com.atlassian.jira.web.action.JiraWebActionSupport.getText(JiraWebActionSupport.java:383)
    2 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  8. webwork.util
    ValueStack.findValue
    1. webwork.util.ValueStack.findValue(ValueStack.java:429)
    2. webwork.util.ValueStack.findValue(ValueStack.java:171)
    2 frames
  9. webwork.view.taglib
    WebWorkBodyTagSupport.findString
    1. webwork.view.taglib.WebWorkBodyTagSupport.findString(WebWorkBodyTagSupport.java:72)
    1 frame
  10. com.atlassian.jira
    TextTag.doEndTag
    1. com.atlassian.jira.web.tags.TextTag.doEndTag(TextTag.java:93)
    1 frame
  11. org.apache.jsp
    navigator_jsp._jspService
    1. org.apache.jsp.navigator_jsp._jspx_meth_webwork_text_28(navigator_jsp.java:2651)
    2. org.apache.jsp.navigator_jsp._jspService(navigator_jsp.java:1056)
    2 frames
  12. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
    1 frame
  13. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    1 frame
  14. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    3 frames
  15. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    1 frame
  16. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
    2. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
    3. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
    3 frames
  17. Sitemesh
    PageFilter.doFilter
    1. com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:169)
    2. com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:68)
    2 frames
  18. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    2 frames
  19. com.atlassian.seraph
    SecurityFilter.doFilter
    1. com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:164)
    1 frame
  20. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    2 frames
  21. com.atlassian.seraph
    LoginFilter.doFilter
    1. com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181)
    1 frame
  22. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    2 frames
  23. com.atlassian.jira
    ActionCleanupDelayFilter.doFilter
    1. com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37)
    1 frame
  24. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    2 frames
  25. com.atlassian.core
    AbstractEncodingFilter.doFilter
    1. com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38)
    1 frame
  26. Glassfish Core
    ContainerBase.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    4. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    6. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    8. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    11. org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
    12. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    13. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    14. org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    15. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    16. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    17. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    18. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    19. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    20. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    21. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    22. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    23. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    23 frames
  27. org.apache.coyote
    CoyoteAdapter.service
    1. org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
    1 frame
  28. Grizzly HTTP
    TcpWorkerThread.runIt
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
    3. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
    3 frames
  29. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
    1 frame
  30. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:536)
    1 frame