java.lang.reflect.InvocationTargetException

Jenkins JIRA | Danny Staple | 5 years ago
  1. 0

    When console logs are exceptionally large (due to user parameters we've had a 3Gb log go through at some point), and somebody tries to view this log, Jenkins will throw an exception there, and may also deny allocations to other threads - side effects being disconnected slave nodes, jobs failing to finish up correctly. Exception from catalina log: {code} Mar 16, 2012 4:45:30 PM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: item.why. Reason: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor321.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185) at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46) at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.buildAttributes(ReallyStaticTagLibrary.java:111) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:95) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:92) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:612) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:185) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:159) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:74) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOfRange(Arrays.java:3209) at java.lang.String.<init>(String.java:215) at java.lang.StringBuilder.toString(StringBuilder.java:430) at hudson.model.Run.getUrl(Run.java:784) at sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185) at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46) at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256) at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:58) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) {code} This occurred twice (the user tried to refresh the browser to view the raw log when it failed the first time). Following this: {code} Mar 16, 2012 4:45:33 PM hudson.remoting.Channel$ReaderThread run SEVERE: I/O error in channel platform_test_slave_hudsonmaster1 java.io.IOException: Unexpected termination of the channel at hudson.remoting.Channel$ReaderThread.run(Channel.java:1037) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1031) Mar 16, 2012 4:45:36 PM hudson.remoting.ProxyOutputStream$Chunk$1 run WARNING: Failed to ack the stream java.io.IOException: SSH channel is closed. (Close requested by remote) at com.trilead.ssh2.channel.ChannelManager.sendData(ChannelManager.java:383) at com.trilead.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:63) at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1838) at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1747) at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1249) at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1203) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1387) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1538) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:329) at hudson.remoting.Channel.send(Channel.java:491) at hudson.remoting.ProxyOutputStream$Chunk$1.run(ProxyOutputStream.java:226) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Mar 16, 2012 4:45:53 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception java.lang.NullPointerException at hudson.tasks.junit.JUnitParser.parse(JUnitParser.java:83) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:123) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:135) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Mar 16, 2012 4:46:38 PM hudson.slaves.SlaveComputer tryReconnect INFO: Attempting to reconnect platform_test_slave_hudsonmaster1 Mar 16, 2012 4:47:51 PM hudson.remoting.Channel$ReaderThread run SEVERE: I/O error in channel platform_test_slave_hudsonmaster1 java.io.IOException: Unexpected termination of the channel at hudson.remoting.Channel$ReaderThread.run(Channel.java:1037) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1031) Mar 16, 2012 4:48:12 PM hudson.slaves.SlaveComputer tryReconnect INFO: Attempting to reconnect platform_test_slave_hudsonmaster1 {code}

    Jenkins JIRA | 5 years ago | Danny Staple
    java.lang.reflect.InvocationTargetException
  2. 0

    When console logs are exceptionally large (due to user parameters we've had a 3Gb log go through at some point), and somebody tries to view this log, Jenkins will throw an exception there, and may also deny allocations to other threads - side effects being disconnected slave nodes, jobs failing to finish up correctly. Exception from catalina log: {code} Mar 16, 2012 4:45:30 PM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: item.why. Reason: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor321.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185) at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46) at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.buildAttributes(ReallyStaticTagLibrary.java:111) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:95) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:92) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:612) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:185) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:159) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:74) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOfRange(Arrays.java:3209) at java.lang.String.<init>(String.java:215) at java.lang.StringBuilder.toString(StringBuilder.java:430) at hudson.model.Run.getUrl(Run.java:784) at sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185) at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46) at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256) at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:58) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) {code} This occurred twice (the user tried to refresh the browser to view the raw log when it failed the first time). Following this: {code} Mar 16, 2012 4:45:33 PM hudson.remoting.Channel$ReaderThread run SEVERE: I/O error in channel platform_test_slave_hudsonmaster1 java.io.IOException: Unexpected termination of the channel at hudson.remoting.Channel$ReaderThread.run(Channel.java:1037) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1031) Mar 16, 2012 4:45:36 PM hudson.remoting.ProxyOutputStream$Chunk$1 run WARNING: Failed to ack the stream java.io.IOException: SSH channel is closed. (Close requested by remote) at com.trilead.ssh2.channel.ChannelManager.sendData(ChannelManager.java:383) at com.trilead.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:63) at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1838) at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1747) at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1249) at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1203) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1387) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1538) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:329) at hudson.remoting.Channel.send(Channel.java:491) at hudson.remoting.ProxyOutputStream$Chunk$1.run(ProxyOutputStream.java:226) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Mar 16, 2012 4:45:53 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception java.lang.NullPointerException at hudson.tasks.junit.JUnitParser.parse(JUnitParser.java:83) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:123) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:135) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Mar 16, 2012 4:46:38 PM hudson.slaves.SlaveComputer tryReconnect INFO: Attempting to reconnect platform_test_slave_hudsonmaster1 Mar 16, 2012 4:47:51 PM hudson.remoting.Channel$ReaderThread run SEVERE: I/O error in channel platform_test_slave_hudsonmaster1 java.io.IOException: Unexpected termination of the channel at hudson.remoting.Channel$ReaderThread.run(Channel.java:1037) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1031) Mar 16, 2012 4:48:12 PM hudson.slaves.SlaveComputer tryReconnect INFO: Attempting to reconnect platform_test_slave_hudsonmaster1 {code}

    Jenkins JIRA | 5 years ago | Danny Staple
    java.lang.reflect.InvocationTargetException
  3. 0

    OutOfMemoryError

    YouTrack | 5 years ago
    java.lang.OutOfMemoryError: GC overhead limit exceeded
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Archive-it disabled max-hops in crawls for a while and we ran into problems because the hop paths got huge. In one case the disk holding crawl.log nearly filled up. In another a crawl we got java.lang.OutOfMemoryError: GC overhead limit exceeded. Maybe we could hardcode a max max-hops. Or only save the last 10? 100? hops in the hop path. (You're probably wondering why we would turn off max-hops. The thinking was, we already have a doc limit, data limit and time limit, so really what could go wrong. But, we don't need to be crawling commentPage=-132445 so it seems to have been the wrong choice. Still, arguably we should avoid OOME) {noformat} <<< 2010-10-12T05:23:28.482Z java.lang.OutOfMemoryError: GC overhead limit exceeded [ToeThread #18: http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 CrawlURI http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL... etc... in processor: LinksScoper ACTIVE for 34s159ms step: ABOUT_TO_BEGIN_PROCESSOR for 33s314ms java.lang.Thread.getStackTrace(Thread.java:1436) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:518) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:596) org.archive.util.DevUtils.extraInfo(DevUtils.java:65) org.archive.crawler.framework.ToeThread.seriousError(ToeThread.java:234) org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:329) org.archive.crawler.framework.ToeThread.run(ToeThread.java:154) ] timestamp discovered queued downloaded doc/s(avg) KB/s(avg) dl-failures busy-thread mem-use-KB heap-size-KB congestion max-depth avg-depth 2010-10-12T05:23:28Z 1685159 50737 1156129 0.05(2.12) 13(343) 16 1 325624 466048 1 482302 25368 java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOfRange(Arrays.java:3209) at java.lang.String.<init>(String.java:215) at java.lang.StringBuilder.toString(StringBuilder.java:430) at org.archive.crawler.datamodel.CandidateURI.createCandidateURI(CandidateURI.java:433) at org.archive.crawler.datamodel.CandidateURI.createCandidateURI(CandidateURI.java:452) at org.archive.crawler.postprocessor.LinksScoper.innerProcess(LinksScoper.java:153) at org.archive.crawler.framework.Processor.process(Processor.java:109) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:306) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:154) 75 threads (1 active) #serialNumber processorName currentUri (fetchAttempts) threadState threadStep #1 [no CrawlURI] WAITING for 22m37s157ms at ABOUT_TO_GET_URI for 22m37s157ms #2 [no CrawlURI] WAITING for 8m3s167ms at ABOUT_TO_GET_URI for 8m3s167ms #3 [no CrawlURI] WAITING for 1m54s12ms at ABOUT_TO_GET_URI for 1m54s12ms #4 [no CrawlURI] WAITING for 11m30s350ms at ABOUT_TO_GET_URI for 11m30s350ms #5 [no CrawlURI] WAITING for 10m53s609ms at ABOUT_TO_GET_URI for 10m53s609ms #6 [no CrawlURI] WAITING for 15m6s394ms at ABOUT_TO_GET_URI for 15m6s394ms #7 [no CrawlURI] WAITING for 2m46s459ms at ABOUT_TO_GET_URI for 2m46s459ms #8 [no CrawlURI] WAITING for 21m45s370ms at ABOUT_TO_GET_URI for 21m45s370ms #9 [no CrawlURI] WAITING for 3m18s681ms at ABOUT_TO_GET_URI for 3m18s681ms #10 [no CrawlURI] WAITING for 2m51s345ms at ABOUT_TO_GET_URI for 2m51s345ms #11 [no CrawlURI] WAITING for 7m45s956ms at ABOUT_TO_GET_URI for 7m45s956ms #12 [no CrawlURI] WAITING for 9m30s590ms at ABOUT_TO_GET_URI for 9m30s590ms #13 [no CrawlURI] WAITING for 8m10s459ms at ABOUT_TO_GET_URI for 8m10s459ms #14 [no CrawlURI] WAITING for 5m13s34ms at ABOUT_TO_GET_URI for 5m13s34ms #15 [no CrawlURI] WAITING for 5m23s809ms at ABOUT_TO_GET_URI for 5m23s809ms #16 [no CrawlURI] WAITING for 14m7s290ms at ABOUT_TO_GET_URI for 14m7s290ms #17 [no CrawlURI] WAITING for 1m23s442ms at ABOUT_TO_GET_URI for 1m23s442ms #18 LinksScoper http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 (0) ACTIVE for 34s183ms at ABOUT_TO_BEGIN_PROCESSOR for 33s338ms #19 [no CrawlURI] WAITING for 12m26s940ms at ABOUT_TO_GET_URI for 12m26s940ms #20 [no CrawlURI] WAITING for 35s396ms at ABOUT_TO_GET_URI for 35s396ms #21 [no CrawlURI] WAITING for 21m41s167ms at ABOUT_TO_GET_URI for 21m41s167ms #22 [no CrawlURI] WAITING for 22m52s444ms at ABOUT_TO_GET_URI for 22m52s444ms #23 [no CrawlURI] WAITING for 2m33s819ms at ABOUT_TO_GET_URI for 2m33s819ms #24 [no CrawlURI] WAITING for 13m15s788ms at ABOUT_TO_GET_URI for 13m15s788ms #25 [no CrawlURI] WAITING for 4m53s768ms at ABOUT_TO_GET_URI for 4m53s768ms #26 [no CrawlURI] WAITING for 7m42s11ms at ABOUT_TO_GET_URI for 7m42s11ms #27 [no CrawlURI] WAITING for 6m56s668ms at ABOUT_TO_GET_URI for 6m56s668ms #28 [no CrawlURI] WAITING for 3m41s498ms at ABOUT_TO_GET_URI for 3m41s498ms #29 [no CrawlURI] WAITING for 7m17s686ms at ABOUT_TO_GET_URI for 7m17s686ms #30 [no CrawlURI] WAITING for 14m31s38ms at ABOUT_TO_GET_URI for 14m31s38ms #31 [no CrawlURI] WAITING for 3m6s346ms at ABOUT_TO_GET_URI for 3m6s346ms #32 [no CrawlURI] WAITING for 5m10s736ms at ABOUT_TO_GET_URI for 5m10s736ms #33 [no CrawlURI] WAITING for 4m563ms at ABOUT_TO_GET_URI for 4m563ms #34 [no CrawlURI] WAITING for 1m49s626ms at ABOUT_TO_GET_URI for 1m49s626ms #35 [no CrawlURI] WAITING for 3m6s740ms at ABOUT_TO_GET_URI for 3m6s740ms #36 [no CrawlURI] WAITING for 3m28s132ms at ABOUT_TO_GET_URI for 3m28s132ms #37 [no CrawlURI] WAITING for 20m19s695ms at ABOUT_TO_GET_URI for 20m19s695ms #38 [no CrawlURI] WAITING for 2m20s564ms at ABOUT_TO_GET_URI for 2m20s564ms #39 [no CrawlURI] WAITING for 10m13s958ms at ABOUT_TO_GET_URI for 10m13s958ms #40 [no CrawlURI] WAITING for 1m35s6ms at ABOUT_TO_GET_URI for 1m35s6ms #41 [no CrawlURI] WAITING for 34m35s863ms at ABOUT_TO_GET_URI for 34m35s863ms #42 [no CrawlURI] WAITING for 2m42s970ms at ABOUT_TO_GET_URI for 2m42s970ms #43 [no CrawlURI] WAITING for 1m38s910ms at ABOUT_TO_GET_URI for 1m38s910ms #44 [no CrawlURI] WAITING for 1m9s368ms at ABOUT_TO_GET_URI for 1m9s368ms #45 [no CrawlURI] WAITING for 9m43s690ms at ABOUT_TO_GET_URI for 9m43s690ms #46 [no CrawlURI] WAITING for 34m23s430ms at ABOUT_TO_GET_URI for 34m23s430ms #47 [no CrawlURI] WAITING for 2m11s812ms at ABOUT_TO_GET_URI for 2m11s812ms #48 [no CrawlURI] WAITING for 9m39s599ms at ABOUT_TO_GET_URI for 9m39s599ms #49 [no CrawlURI] WAITING for 22m33s935ms at ABOUT_TO_GET_URI for 22m33s935ms #50 [no CrawlURI] WAITING for 14m13s332ms at ABOUT_TO_GET_URI for 14m13s332ms #51 [no CrawlURI] WAITING for 5m7s736ms at ABOUT_TO_GET_URI for 5m7s736ms #52 [no CrawlURI] WAITING for 2m6s709ms at ABOUT_TO_GET_URI for 2m6s709ms #53 [no CrawlURI] WAITING for 3m45s492ms at ABOUT_TO_GET_URI for 3m45s492ms #54 [no CrawlURI] WAITING for 10m32s488ms at ABOUT_TO_GET_URI for 10m32s488ms #55 [no CrawlURI] WAITING for 57s659ms at ABOUT_TO_GET_URI for 57s659ms #56 [no CrawlURI] WAITING for 4m13s53ms at ABOUT_TO_GET_URI for 4m13s53ms #57 [no CrawlURI] WAITING for 11m8s655ms at ABOUT_TO_GET_URI for 11m8s655ms #58 [no CrawlURI] WAITING for 3m11s36ms at ABOUT_TO_GET_URI for 3m11s36ms #59 [no CrawlURI] WAITING for 5m12s129ms at ABOUT_TO_GET_URI for 5m12s129ms #60 [no CrawlURI] WAITING for 20m57s930ms at ABOUT_TO_GET_URI for 20m57s930ms #61 [no CrawlURI] WAITING for 2m38s978ms at ABOUT_TO_GET_URI for 2m38s978ms #62 [no CrawlURI] WAITING for 12m38s362ms at ABOUT_TO_GET_URI for 12m38s362ms #63 [no CrawlURI] WAITING for 1m28s606ms at ABOUT_TO_GET_URI for 1m28s606ms #64 [no CrawlURI] WAITING for 14m26s709ms at ABOUT_TO_GET_URI for 14m26s709ms #65 [no CrawlURI] WAITING for 8m40s472ms at ABOUT_TO_GET_URI for 8m40s472ms #66 [no CrawlURI] WAITING for 3m9s646ms at ABOUT_TO_GET_URI for 3m9s646ms #67 [no CrawlURI] WAITING for 8m11s646ms at ABOUT_TO_GET_URI for 8m11s646ms #68 [no CrawlURI] WAITING for 9m9s492ms at ABOUT_TO_GET_URI for 9m9s492ms #69 [no CrawlURI] WAITING for 4m31s651ms at ABOUT_TO_GET_URI for 4m31s651ms #70 [no CrawlURI] WAITING for 14m34s222ms at ABOUT_TO_GET_URI for 14m34s222ms #71 [no CrawlURI] WAITING for 59s375ms at ABOUT_TO_GET_URI for 59s375ms #72 [no CrawlURI] WAITING for 12m110ms at ABOUT_TO_GET_URI for 12m110ms #73 [no CrawlURI] WAITING for 22m23s682ms at ABOUT_TO_GET_URI for 22m23s682ms #74 [no CrawlURI] WAITING for 11m2s687ms at ABOUT_TO_GET_URI for 11m2s687ms #75 [no CrawlURI] WAITING for 3m26s637ms at ABOUT_TO_GET_URI for 3m26s637ms >>> 2010-10-12 05:23:28.501 SEVERE thread-694 org.archive.crawler.framework.ToeThread.seriousError() Serious error occured trying to process 'CrawlURI http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL... [ToeThread #18: http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 CrawlURI http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL... in processor: LinksScoper ACTIVE for 34s159ms step: ABOUT_TO_BEGIN_PROCESSOR for 33s314ms java.lang.Thread.getStackTrace(Thread.java:1436) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:518) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:596) org.archive.util.DevUtils.extraInfo(DevUtils.java:65) org.archive.crawler.framework.ToeThread.seriousError(ToeThread.java:234) org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:329) org.archive.crawler.framework.ToeThread.run(ToeThread.java:154) ] timestamp discovered queued downloaded doc/s(avg) KB/s(avg) dl-failures busy-thread mem-use-KB heap-size-KB congestion max-depth avg-depth 2010-10-12T05:23:28Z 1685159 50737 1156129 0.05(2.12) 13(343) 16 1 325624 466048 1 482302 25368 java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOfRange(Arrays.java:3209) at java.lang.String.<init>(String.java:215) at java.lang.StringBuilder.toString(StringBuilder.java:430) at org.archive.crawler.datamodel.CandidateURI.createCandidateURI(CandidateURI.java:433) at org.archive.crawler.datamodel.CandidateURI.createCandidateURI(CandidateURI.java:452) at org.archive.crawler.postprocessor.LinksScoper.innerProcess(LinksScoper.java:153) at org.archive.crawler.framework.Processor.process(Processor.java:109) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:306) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:154) {noformat}

    JIRA | 6 years ago | Noah Levitt
    java.lang.OutOfMemoryError: GC overhead limit exceeded
  6. 0

    Archive-it disabled max-hops in crawls for a while and we ran into problems because the hop paths got huge. In one case the disk holding crawl.log nearly filled up. In another a crawl we got java.lang.OutOfMemoryError: GC overhead limit exceeded. Maybe we could hardcode a max max-hops. Or only save the last 10? 100? hops in the hop path. (You're probably wondering why we would turn off max-hops. The thinking was, we already have a doc limit, data limit and time limit, so really what could go wrong. But, we don't need to be crawling commentPage=-132445 so it seems to have been the wrong choice. Still, arguably we should avoid OOME) {noformat} <<< 2010-10-12T05:23:28.482Z java.lang.OutOfMemoryError: GC overhead limit exceeded [ToeThread #18: http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 CrawlURI http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL... etc... in processor: LinksScoper ACTIVE for 34s159ms step: ABOUT_TO_BEGIN_PROCESSOR for 33s314ms java.lang.Thread.getStackTrace(Thread.java:1436) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:518) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:596) org.archive.util.DevUtils.extraInfo(DevUtils.java:65) org.archive.crawler.framework.ToeThread.seriousError(ToeThread.java:234) org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:329) org.archive.crawler.framework.ToeThread.run(ToeThread.java:154) ] timestamp discovered queued downloaded doc/s(avg) KB/s(avg) dl-failures busy-thread mem-use-KB heap-size-KB congestion max-depth avg-depth 2010-10-12T05:23:28Z 1685159 50737 1156129 0.05(2.12) 13(343) 16 1 325624 466048 1 482302 25368 java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOfRange(Arrays.java:3209) at java.lang.String.<init>(String.java:215) at java.lang.StringBuilder.toString(StringBuilder.java:430) at org.archive.crawler.datamodel.CandidateURI.createCandidateURI(CandidateURI.java:433) at org.archive.crawler.datamodel.CandidateURI.createCandidateURI(CandidateURI.java:452) at org.archive.crawler.postprocessor.LinksScoper.innerProcess(LinksScoper.java:153) at org.archive.crawler.framework.Processor.process(Processor.java:109) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:306) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:154) 75 threads (1 active) #serialNumber processorName currentUri (fetchAttempts) threadState threadStep #1 [no CrawlURI] WAITING for 22m37s157ms at ABOUT_TO_GET_URI for 22m37s157ms #2 [no CrawlURI] WAITING for 8m3s167ms at ABOUT_TO_GET_URI for 8m3s167ms #3 [no CrawlURI] WAITING for 1m54s12ms at ABOUT_TO_GET_URI for 1m54s12ms #4 [no CrawlURI] WAITING for 11m30s350ms at ABOUT_TO_GET_URI for 11m30s350ms #5 [no CrawlURI] WAITING for 10m53s609ms at ABOUT_TO_GET_URI for 10m53s609ms #6 [no CrawlURI] WAITING for 15m6s394ms at ABOUT_TO_GET_URI for 15m6s394ms #7 [no CrawlURI] WAITING for 2m46s459ms at ABOUT_TO_GET_URI for 2m46s459ms #8 [no CrawlURI] WAITING for 21m45s370ms at ABOUT_TO_GET_URI for 21m45s370ms #9 [no CrawlURI] WAITING for 3m18s681ms at ABOUT_TO_GET_URI for 3m18s681ms #10 [no CrawlURI] WAITING for 2m51s345ms at ABOUT_TO_GET_URI for 2m51s345ms #11 [no CrawlURI] WAITING for 7m45s956ms at ABOUT_TO_GET_URI for 7m45s956ms #12 [no CrawlURI] WAITING for 9m30s590ms at ABOUT_TO_GET_URI for 9m30s590ms #13 [no CrawlURI] WAITING for 8m10s459ms at ABOUT_TO_GET_URI for 8m10s459ms #14 [no CrawlURI] WAITING for 5m13s34ms at ABOUT_TO_GET_URI for 5m13s34ms #15 [no CrawlURI] WAITING for 5m23s809ms at ABOUT_TO_GET_URI for 5m23s809ms #16 [no CrawlURI] WAITING for 14m7s290ms at ABOUT_TO_GET_URI for 14m7s290ms #17 [no CrawlURI] WAITING for 1m23s442ms at ABOUT_TO_GET_URI for 1m23s442ms #18 LinksScoper http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 (0) ACTIVE for 34s183ms at ABOUT_TO_BEGIN_PROCESSOR for 33s338ms #19 [no CrawlURI] WAITING for 12m26s940ms at ABOUT_TO_GET_URI for 12m26s940ms #20 [no CrawlURI] WAITING for 35s396ms at ABOUT_TO_GET_URI for 35s396ms #21 [no CrawlURI] WAITING for 21m41s167ms at ABOUT_TO_GET_URI for 21m41s167ms #22 [no CrawlURI] WAITING for 22m52s444ms at ABOUT_TO_GET_URI for 22m52s444ms #23 [no CrawlURI] WAITING for 2m33s819ms at ABOUT_TO_GET_URI for 2m33s819ms #24 [no CrawlURI] WAITING for 13m15s788ms at ABOUT_TO_GET_URI for 13m15s788ms #25 [no CrawlURI] WAITING for 4m53s768ms at ABOUT_TO_GET_URI for 4m53s768ms #26 [no CrawlURI] WAITING for 7m42s11ms at ABOUT_TO_GET_URI for 7m42s11ms #27 [no CrawlURI] WAITING for 6m56s668ms at ABOUT_TO_GET_URI for 6m56s668ms #28 [no CrawlURI] WAITING for 3m41s498ms at ABOUT_TO_GET_URI for 3m41s498ms #29 [no CrawlURI] WAITING for 7m17s686ms at ABOUT_TO_GET_URI for 7m17s686ms #30 [no CrawlURI] WAITING for 14m31s38ms at ABOUT_TO_GET_URI for 14m31s38ms #31 [no CrawlURI] WAITING for 3m6s346ms at ABOUT_TO_GET_URI for 3m6s346ms #32 [no CrawlURI] WAITING for 5m10s736ms at ABOUT_TO_GET_URI for 5m10s736ms #33 [no CrawlURI] WAITING for 4m563ms at ABOUT_TO_GET_URI for 4m563ms #34 [no CrawlURI] WAITING for 1m49s626ms at ABOUT_TO_GET_URI for 1m49s626ms #35 [no CrawlURI] WAITING for 3m6s740ms at ABOUT_TO_GET_URI for 3m6s740ms #36 [no CrawlURI] WAITING for 3m28s132ms at ABOUT_TO_GET_URI for 3m28s132ms #37 [no CrawlURI] WAITING for 20m19s695ms at ABOUT_TO_GET_URI for 20m19s695ms #38 [no CrawlURI] WAITING for 2m20s564ms at ABOUT_TO_GET_URI for 2m20s564ms #39 [no CrawlURI] WAITING for 10m13s958ms at ABOUT_TO_GET_URI for 10m13s958ms #40 [no CrawlURI] WAITING for 1m35s6ms at ABOUT_TO_GET_URI for 1m35s6ms #41 [no CrawlURI] WAITING for 34m35s863ms at ABOUT_TO_GET_URI for 34m35s863ms #42 [no CrawlURI] WAITING for 2m42s970ms at ABOUT_TO_GET_URI for 2m42s970ms #43 [no CrawlURI] WAITING for 1m38s910ms at ABOUT_TO_GET_URI for 1m38s910ms #44 [no CrawlURI] WAITING for 1m9s368ms at ABOUT_TO_GET_URI for 1m9s368ms #45 [no CrawlURI] WAITING for 9m43s690ms at ABOUT_TO_GET_URI for 9m43s690ms #46 [no CrawlURI] WAITING for 34m23s430ms at ABOUT_TO_GET_URI for 34m23s430ms #47 [no CrawlURI] WAITING for 2m11s812ms at ABOUT_TO_GET_URI for 2m11s812ms #48 [no CrawlURI] WAITING for 9m39s599ms at ABOUT_TO_GET_URI for 9m39s599ms #49 [no CrawlURI] WAITING for 22m33s935ms at ABOUT_TO_GET_URI for 22m33s935ms #50 [no CrawlURI] WAITING for 14m13s332ms at ABOUT_TO_GET_URI for 14m13s332ms #51 [no CrawlURI] WAITING for 5m7s736ms at ABOUT_TO_GET_URI for 5m7s736ms #52 [no CrawlURI] WAITING for 2m6s709ms at ABOUT_TO_GET_URI for 2m6s709ms #53 [no CrawlURI] WAITING for 3m45s492ms at ABOUT_TO_GET_URI for 3m45s492ms #54 [no CrawlURI] WAITING for 10m32s488ms at ABOUT_TO_GET_URI for 10m32s488ms #55 [no CrawlURI] WAITING for 57s659ms at ABOUT_TO_GET_URI for 57s659ms #56 [no CrawlURI] WAITING for 4m13s53ms at ABOUT_TO_GET_URI for 4m13s53ms #57 [no CrawlURI] WAITING for 11m8s655ms at ABOUT_TO_GET_URI for 11m8s655ms #58 [no CrawlURI] WAITING for 3m11s36ms at ABOUT_TO_GET_URI for 3m11s36ms #59 [no CrawlURI] WAITING for 5m12s129ms at ABOUT_TO_GET_URI for 5m12s129ms #60 [no CrawlURI] WAITING for 20m57s930ms at ABOUT_TO_GET_URI for 20m57s930ms #61 [no CrawlURI] WAITING for 2m38s978ms at ABOUT_TO_GET_URI for 2m38s978ms #62 [no CrawlURI] WAITING for 12m38s362ms at ABOUT_TO_GET_URI for 12m38s362ms #63 [no CrawlURI] WAITING for 1m28s606ms at ABOUT_TO_GET_URI for 1m28s606ms #64 [no CrawlURI] WAITING for 14m26s709ms at ABOUT_TO_GET_URI for 14m26s709ms #65 [no CrawlURI] WAITING for 8m40s472ms at ABOUT_TO_GET_URI for 8m40s472ms #66 [no CrawlURI] WAITING for 3m9s646ms at ABOUT_TO_GET_URI for 3m9s646ms #67 [no CrawlURI] WAITING for 8m11s646ms at ABOUT_TO_GET_URI for 8m11s646ms #68 [no CrawlURI] WAITING for 9m9s492ms at ABOUT_TO_GET_URI for 9m9s492ms #69 [no CrawlURI] WAITING for 4m31s651ms at ABOUT_TO_GET_URI for 4m31s651ms #70 [no CrawlURI] WAITING for 14m34s222ms at ABOUT_TO_GET_URI for 14m34s222ms #71 [no CrawlURI] WAITING for 59s375ms at ABOUT_TO_GET_URI for 59s375ms #72 [no CrawlURI] WAITING for 12m110ms at ABOUT_TO_GET_URI for 12m110ms #73 [no CrawlURI] WAITING for 22m23s682ms at ABOUT_TO_GET_URI for 22m23s682ms #74 [no CrawlURI] WAITING for 11m2s687ms at ABOUT_TO_GET_URI for 11m2s687ms #75 [no CrawlURI] WAITING for 3m26s637ms at ABOUT_TO_GET_URI for 3m26s637ms >>> 2010-10-12 05:23:28.501 SEVERE thread-694 org.archive.crawler.framework.ToeThread.seriousError() Serious error occured trying to process 'CrawlURI http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL... [ToeThread #18: http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 CrawlURI http://sciencecaferaleigh.blogspot.com/2009/06/healthy-chocolate.html?commentPage=-132445 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL... in processor: LinksScoper ACTIVE for 34s159ms step: ABOUT_TO_BEGIN_PROCESSOR for 33s314ms java.lang.Thread.getStackTrace(Thread.java:1436) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:518) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:596) org.archive.util.DevUtils.extraInfo(DevUtils.java:65) org.archive.crawler.framework.ToeThread.seriousError(ToeThread.java:234) org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:329) org.archive.crawler.framework.ToeThread.run(ToeThread.java:154) ] timestamp discovered queued downloaded doc/s(avg) KB/s(avg) dl-failures busy-thread mem-use-KB heap-size-KB congestion max-depth avg-depth 2010-10-12T05:23:28Z 1685159 50737 1156129 0.05(2.12) 13(343) 16 1 325624 466048 1 482302 25368 java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOfRange(Arrays.java:3209) at java.lang.String.<init>(String.java:215) at java.lang.StringBuilder.toString(StringBuilder.java:430) at org.archive.crawler.datamodel.CandidateURI.createCandidateURI(CandidateURI.java:433) at org.archive.crawler.datamodel.CandidateURI.createCandidateURI(CandidateURI.java:452) at org.archive.crawler.postprocessor.LinksScoper.innerProcess(LinksScoper.java:153) at org.archive.crawler.framework.Processor.process(Processor.java:109) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:306) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:154) {noformat}

    JIRA | 6 years ago | Noah Levitt
    java.lang.OutOfMemoryError: GC overhead limit exceeded

  1. ajinkya_w 58 times, last 2 months ago
  2. kid 2 times, last 4 months ago
  3. mortalman7 1 times, last 6 months ago
3 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.OutOfMemoryError

    GC overhead limit exceeded

    at java.util.Arrays.copyOfRange()
  2. Java RT
    StringBuilder.toString
    1. java.util.Arrays.copyOfRange(Arrays.java:3209)
    2. java.lang.String.<init>(String.java:215)
    3. java.lang.StringBuilder.toString(StringBuilder.java:430)
    3 frames
  3. Hudson
    Run.getUrl
    1. hudson.model.Run.getUrl(Run.java:784)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  5. Commons JEXL
    ExpressionImpl.evaluate
    1. org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
    2. org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
    3. org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
    4. org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75)
    5. org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
    6. org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
    7. org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
    8. org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
    8 frames
  6. Hudson
    ExpressionFactory2$JexlExpression.evaluate
    1. hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72)
    1 frame
  7. commons-jelly
    CompositeExpression.evaluate
    1. org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
    2. org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
    3. org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
    4. org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
    4 frames
  8. Stapler Jelly
    CallTagLibScript.run
    1. org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:58)
    1 frame
  9. commons-jelly
    CoreTagLibrary$2.run
    1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    2. org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
    2 frames
  10. Stapler Jelly
    CallTagLibScript.run
    1. org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
    1 frame
  11. commons-jelly
    TagScript.run
    1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    2. org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
    3. org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46)
    4. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
    5. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    6. org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
    7. org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
    8. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
    8 frames