java.lang.reflect.InvocationTargetException

Atlassian JIRA | Conrad Rolack | 4 years ago
  1. 0

    [JRA-28946] IllegalStateException: The current project has not been set. - Atlassian JIRA

    atlassian.com | 11 months ago
    java.lang.reflect.InvocationTargetException
  2. 0

    I have a WebAction which extends JiraWebActionSupport. In my Velocity Template I need the selected project for the admin decorator. So I call getSelectedProjectObject(): {code} <html> <head> <title>$i18n.getText("common.words.project") $textutils.htmlEncode($selectedProjectObject.name) - $i18n.getText("...")</title> <meta name="decorator" content="admin"/> <meta name="projectKey" content="$textutils.htmlEncode($selectedProjectObject.key)"/> <meta name="projectId" content="$selectedProjectObject.id"/> <meta name="admin.active.tab" content="..."/> <meta name="admin.active.section" content="atl.jira.proj.config"/> </head> <body> ... {code} getSelectedProjectObject() returns the correct project but throws the following exception: {code} [INFO] [talledLocalContainer] 2012-07-15 16:21:02,464 http-2990-19 ERROR admin 981x1731x1 1yu0cme 192.168.0.104 /secure/lorem-ipsum.jspa [webwork.util.ValueStack] query="hasHeader" {[id="hasHeader" type="8" values=""]} [INFO] [talledLocalContainer] java.lang.reflect.InvocationTargetException [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor439.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) [INFO] [talledLocalContainer] at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) [INFO] [talledLocalContainer] Caused by: java.lang.IllegalStateException: The current project has not been set. {code}

    Atlassian JIRA | 4 years ago | Conrad Rolack
    java.lang.reflect.InvocationTargetException
  3. 0

    I have a WebAction which extends JiraWebActionSupport. In my Velocity Template I need the selected project for the admin decorator. So I call getSelectedProjectObject(): {code} <html> <head> <title>$i18n.getText("common.words.project") $textutils.htmlEncode($selectedProjectObject.name) - $i18n.getText("...")</title> <meta name="decorator" content="admin"/> <meta name="projectKey" content="$textutils.htmlEncode($selectedProjectObject.key)"/> <meta name="projectId" content="$selectedProjectObject.id"/> <meta name="admin.active.tab" content="..."/> <meta name="admin.active.section" content="atl.jira.proj.config"/> </head> <body> ... {code} getSelectedProjectObject() returns the correct project but throws the following exception: {code} [INFO] [talledLocalContainer] 2012-07-15 16:21:02,464 http-2990-19 ERROR admin 981x1731x1 1yu0cme 192.168.0.104 /secure/lorem-ipsum.jspa [webwork.util.ValueStack] query="hasHeader" {[id="hasHeader" type="8" values=""]} [INFO] [talledLocalContainer] java.lang.reflect.InvocationTargetException [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor439.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) [INFO] [talledLocalContainer] at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) [INFO] [talledLocalContainer] Caused by: java.lang.IllegalStateException: The current project has not been set. {code}

    Atlassian JIRA | 4 years ago | Conrad Rolack
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    In recent releases (3.5 and above), various people are reporting getting OutOfMemoryErrors when performing (bulk) operations. Eg. bulk-deleting 2k issues: {noformat} java.lang.reflect.InvocationTargetException Stack Trace: [hide] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:417) at webwork.action.ActionSupport.execute(ActionSupport.java:146) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:58) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:178) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:148) at com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:64) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.OutOfMemoryError: Java heap space Memory Information: Total Memory: 508 MB Free Memory: 387 MB Used Memory: 121 MB {noformat} In this case, Confluence was running in the same JVM.

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.reflect.InvocationTargetException

  1. r1chjames 1 times, last 3 days ago
  2. bmacedo 8 times, last 3 weeks ago
  3. aldrinleal 1 times, last 1 month ago
  4. ajinkya_w 96 times, last 2 months ago
  5. davidvanlaatum 4 times, last 2 months ago
18 more registered users
77 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.reflect.InvocationTargetException

    No message provided

    at sun.reflect.GeneratedMethodAccessor439.invoke()
  2. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor439.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  3. webwork.util
    InjectionUtils.invoke
    1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
    2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
    2 frames