javax.servlet.ServletException: java.lang.StackOverflowError

Jenkins JIRA | Wisen Tanasa | 4 months ago
  1. 0

    When running Jenkins with the plugin with Java 1.7 (When a job configuration is submitted for saving): {code} javax.servlet.ServletException: java.lang.StackOverflowError at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at javax.servlet.FilterChain$doFilter.call(Unknown Source) at com.ceilfors.jenkins.plugins.jiratrigger.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.groovy:22) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:129) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.StackOverflowError at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:128) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:148) at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy:99) at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy) at hudson.triggers.Trigger.getDescriptor(Trigger.java:76) at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.super$2$getDescriptor(JiraTrigger.groovy) at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:128) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:148) at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy:99) at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy) at hudson.triggers.Trigger.getDescriptor(Trigger.java:76) at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.super$2$getDescriptor(JiraTrigger.groovy) at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:128) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:148) at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy:99) at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy) at hudson.triggers.Trigger.getDescriptor(Trigger.java:76) at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.super$2$getDescriptor(JiraTrigger.groovy) at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) {code} When building plugin with Java 1.7: {code} java.lang.StackOverflowError at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy:99) at hudson.triggers.Trigger.getDescriptor(Trigger.java:73) at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy:99) at hudson.triggers.Trigger.getDescriptor(Trigger.java:73) at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy:99) at hudson.triggers.Trigger.getDescriptor(Trigger.java:73) {code}

    Jenkins JIRA | 4 months ago | Wisen Tanasa
    javax.servlet.ServletException: java.lang.StackOverflowError
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. kid 2 times, last 3 months ago
1 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.StackOverflowError

    No message provided

    at sun.reflect.GeneratedMethodAccessor62.invoke()
  2. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:606)
    3 frames
  3. Groovy
    ScriptBytecodeAdapter.invokeMethodOnSuper0
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079)
    4. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:128)
    5. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:148)
    5 frames
  4. com.ceilfors.jenkins
    JiraTrigger.getDescriptor
    1. com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy:99)
    2. com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy)
    2 frames
  5. Hudson
    Trigger.getDescriptor
    1. hudson.triggers.Trigger.getDescriptor(Trigger.java:76)
    1 frame
  6. com.ceilfors.jenkins
    JiraTrigger.super$2$getDescriptor
    1. com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.super$2$getDescriptor(JiraTrigger.groovy)
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:606)
    3 frames
  8. Groovy
    ScriptBytecodeAdapter.invokeMethodOnSuper0
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079)
    4. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:128)
    5. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:148)
    5 frames
  9. com.ceilfors.jenkins
    JiraTrigger.getDescriptor
    1. com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy:99)
    2. com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy)
    2 frames
  10. Hudson
    Trigger.getDescriptor
    1. hudson.triggers.Trigger.getDescriptor(Trigger.java:76)
    1 frame
  11. com.ceilfors.jenkins
    JiraTrigger.super$2$getDescriptor
    1. com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.super$2$getDescriptor(JiraTrigger.groovy)
    1 frame
  12. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:606)
    3 frames
  13. Groovy
    ScriptBytecodeAdapter.invokeMethodOnSuper0
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079)
    4. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:128)
    5. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:148)
    5 frames
  14. com.ceilfors.jenkins
    JiraTrigger.getDescriptor
    1. com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy:99)
    2. com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.getDescriptor(JiraTrigger.groovy)
    2 frames
  15. Hudson
    Trigger.getDescriptor
    1. hudson.triggers.Trigger.getDescriptor(Trigger.java:76)
    1 frame
  16. com.ceilfors.jenkins
    JiraTrigger.super$2$getDescriptor
    1. com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.super$2$getDescriptor(JiraTrigger.groovy)
    1 frame
  17. Java RT
    GeneratedMethodAccessor62.invoke
    1. sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
    1 frame