Exception and empty list of machines/executors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception and empty list of machines/executors

sjoerdbakker
Hi all,
 
After I change the configuration of executors, I often get a exception in Tomcat, and the main page of hudson does not show any more machines/executors.
 
Does anyone have similar issues?
 
The stacktrace is as follows:
--------------------------
WARNING: Caught exception evaluating: app.computers. Reason: java.lang.reflect.I
nvocationTargetException
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecuto
r.java:123)
        at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImp
l.invoke(UberspectImpl.java:311)
        at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAc
cess.java:183)
        at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.ja
va:73)
        at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java
:82)
        at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:5
6)
        at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTRefere
nceExpression.java:50)
        at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:7
9)
        at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(Jexl
Expression.java:69)
        at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$Expres
sionSupportLocal.evaluate(JexlExpressionFactory.java:122)
        at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse
(ExpressionSupport.java:61)
        at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsItera
tor(ExpressionSupport.java:94)
        at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:8
9)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTa
g.java:91)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65)
        at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.jav
a:112)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at org.apache.commons.jelly.tags.core.JellyTag.doTag(JellyTag.java:45)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
        at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:80)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at org.apache.commons.jelly.tags.core.JellyTag.doTag(JellyTag.java:45)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
        at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:80)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at org.apache.commons.jelly.tags.core.JellyTag.doTag(JellyTag.java:45)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
        at org.kohsuke.stapler.jelly.JellyClassTearOff.invokeScript(JellyClassTe
arOff.java:68)
        at org.kohsuke.stapler.MetaClass$3.dispatch(MetaClass.java:111)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:198)
        at org.kohsuke.stapler.Stapler.service(Stapler.java:72)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:432)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
        at hudson.model.Hudson$1.compare(Hudson.java:509)
        at hudson.model.Hudson$1.compare(Hudson.java:505)
        at java.util.Arrays.mergeSort(Arrays.java:1284)
        at java.util.Arrays.sort(Arrays.java:1223)
        at hudson.model.Hudson.getComputers(Hudson.java:505)
        ... 61 more
--------------------------
 
My hudson version is 1.84, but it also happened with 1.83
 
After stopping and starting tomcat, all seems to work again.
 
Thanks,
Sjoerd

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Exception and empty list of machines/executors

Wolfram Kroll-2

Am 02.03.2007 um 23:44 schrieb Sjoerd Bakker:

> Hi all,

Hi Sjoerd,

I had a similar effect when removing a slave. I filed it as
https://hudson.dev.java.net/issues/show_bug.cgi?id=149

Wolfram

>
> After I change the configuration of executors, I often get a  
> exception in Tomcat, and the main page of hudson does not show any  
> more machines/executors.
>
> Does anyone have similar issues?
>
> The stacktrace is as follows:
> --------------------------
> WARNING: Caught exception evaluating: app.computers. Reason:  
> java.lang.reflect.I
> nvocationTargetException
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown  
> Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.commons.jexl.util.PropertyExecutor.execute
> (PropertyExecuto
> r.java:123)
>         at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelGetterImp
> l.invoke(UberspectImpl.java:311)
>         at  
> org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAc
> cess.java:183)
>         at org.apache.commons.jexl.parser.ASTIdentifier.execute
> (ASTIdentifier.ja
> va:73)
>         at org.apache.commons.jexl.parser.ASTReference.execute
> (ASTReference.java
> :82)
>         at org.apache.commons.jexl.parser.ASTReference.value
> (ASTReference.java:5
> 6)
>         at  
> org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTRefere
> nceExpression.java:50)
>         at org.apache.commons.jexl.ExpressionImpl.evaluate
> (ExpressionImpl.java:7
> 9)
>         at  
> org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(Jexl
> Expression.java:69)
>         at  
> org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$Expres
> sionSupportLocal.evaluate(JexlExpressionFactory.java:122)
>         at  
> org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse
> (ExpressionSupport.java:61)
>         at  
> org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsItera
> tor(ExpressionSupport.java:94)
>         at org.apache.commons.jelly.tags.core.ForEachTag.doTag
> (ForEachTag.java:8
> 9)
>         at org.apache.commons.jelly.impl.TagScript.run
> (TagScript.java:262)
>         at org.apache.commons.jelly.impl.ScriptBlock.run
> (ScriptBlock.java:95)
>         at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag
> (InvokeBodyTa
> g.java:91)
>         at org.apache.commons.jelly.impl.TagScript.run
> (TagScript.java:262)
>         at org.apache.commons.jelly.impl.ScriptBlock.run
> (ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody
> (TagSupport.java:186)
>         at org.apache.commons.jelly.impl.StaticTag.doTag
> (StaticTag.java:65)
>         at org.apache.commons.jelly.impl.StaticTagScript.run
> (StaticTagScript.jav
> a:112)
>         at org.apache.commons.jelly.impl.ScriptBlock.run
> (ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody
> (TagSupport.java:186)
>         at org.apache.commons.jelly.tags.core.JellyTag.doTag
> (JellyTag.java:45)
>         at org.apache.commons.jelly.impl.TagScript.run
> (TagScript.java:262)
>         at org.apache.commons.jelly.impl.DynamicTag.doTag
> (DynamicTag.java:80)
>         at org.apache.commons.jelly.impl.TagScript.run
> (TagScript.java:262)
>         at org.apache.commons.jelly.impl.ScriptBlock.run
> (ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody
> (TagSupport.java:186)
>         at org.apache.commons.jelly.tags.core.JellyTag.doTag
> (JellyTag.java:45)
>         at org.apache.commons.jelly.impl.TagScript.run
> (TagScript.java:262)
>         at org.apache.commons.jelly.impl.DynamicTag.doTag
> (DynamicTag.java:80)
>         at org.apache.commons.jelly.impl.TagScript.run
> (TagScript.java:262)
>         at org.apache.commons.jelly.impl.ScriptBlock.run
> (ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody
> (TagSupport.java:186)
>         at org.apache.commons.jelly.tags.core.JellyTag.doTag
> (JellyTag.java:45)
>         at org.apache.commons.jelly.impl.TagScript.run
> (TagScript.java:262)
>         at org.kohsuke.stapler.jelly.JellyClassTearOff.invokeScript
> (JellyClassTe
> arOff.java:68)
>         at org.kohsuke.stapler.MetaClass$3.dispatch(MetaClass.java:
> 111)
>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:198)
>         at org.kohsuke.stapler.Stapler.service(Stapler.java:72)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 802)
>         at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationF
> ilterChain.java:173)
>         at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperV
> alve.java:213)
>         at org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextV
> alve.java:178)
>         at  
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> torBase.java:432)
>         at org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.j
> ava:126)
>         at org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.j
> ava:105)
>         at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineVal
> ve.java:107)
>         at org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.jav
> a:148)
>         at org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java
> :869)
>         at org.apache.coyote.http11.Http11BaseProtocol
> $Http11ConnectionHandler.p
> rocessConnection(Http11BaseProtocol.java:664)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpo
> int.java:527)
>         at  
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
> lowerWorkerThread.java:80)
>         at org.apache.tomcat.util.threads.ThreadPool
> $ControlRunnable.run(ThreadP
> ool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NullPointerException
>         at hudson.model.Hudson$1.compare(Hudson.java:509)
>         at hudson.model.Hudson$1.compare(Hudson.java:505)
>         at java.util.Arrays.mergeSort(Arrays.java:1284)
>         at java.util.Arrays.sort(Arrays.java:1223)
>         at hudson.model.Hudson.getComputers(Hudson.java:505)
>         ... 61 more
> --------------------------
>
> My hudson version is 1.84, but it also happened with 1.83
>
> After stopping and starting tomcat, all seems to work again.
>
> Thanks,
> Sjoerd

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Exception and empty list of machines/executors

Kohsuke Kawaguchi-2

I will take a look.

(Or if someone could run it under the debugger to see what's going on,
that would be helpful, too.)

Wolfram Kroll wrote:

> Am 02.03.2007 um 23:44 schrieb Sjoerd Bakker:
>
>> Hi all,
>
> Hi Sjoerd,
>
> I had a similar effect when removing a slave. I filed it as
> https://hudson.dev.java.net/issues/show_bug.cgi?id=149
>
> Wolfram
>
>>
>> After I change the configuration of executors, I often get a  
>> exception in Tomcat, and the main page of hudson does not show any  
>> more machines/executors.
>>
>> Does anyone have similar issues?
>>
>> The stacktrace is as follows:
>> --------------------------
>> WARNING: Caught exception evaluating: app.computers. Reason:  
>> java.lang.reflect.I
>> nvocationTargetException
>> java.lang.reflect.InvocationTargetException
>>         at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown  
>> Source)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAcces
>> sorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at org.apache.commons.jexl.util.PropertyExecutor.execute
>> (PropertyExecuto
>> r.java:123)
>>         at org.apache.commons.jexl.util.introspection.UberspectImpl
>> $VelGetterImp
>> l.invoke(UberspectImpl.java:311)
>>         at  
>> org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAc
>> cess.java:183)
>>         at org.apache.commons.jexl.parser.ASTIdentifier.execute
>> (ASTIdentifier.ja
>> va:73)
>>         at org.apache.commons.jexl.parser.ASTReference.execute
>> (ASTReference.java
>> :82)
>>         at org.apache.commons.jexl.parser.ASTReference.value
>> (ASTReference.java:5
>> 6)
>>         at  
>> org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTRefere
>> nceExpression.java:50)
>>         at org.apache.commons.jexl.ExpressionImpl.evaluate
>> (ExpressionImpl.java:7
>> 9)
>>         at  
>> org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(Jexl
>> Expression.java:69)
>>         at  
>> org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$Expres
>> sionSupportLocal.evaluate(JexlExpressionFactory.java:122)
>>         at  
>> org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse
>> (ExpressionSupport.java:61)
>>         at  
>> org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsItera
>> tor(ExpressionSupport.java:94)
>>         at org.apache.commons.jelly.tags.core.ForEachTag.doTag
>> (ForEachTag.java:8
>> 9)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.ScriptBlock.run
>> (ScriptBlock.java:95)
>>         at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag
>> (InvokeBodyTa
>> g.java:91)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.ScriptBlock.run
>> (ScriptBlock.java:95)
>>         at org.apache.commons.jelly.TagSupport.invokeBody
>> (TagSupport.java:186)
>>         at org.apache.commons.jelly.impl.StaticTag.doTag
>> (StaticTag.java:65)
>>         at org.apache.commons.jelly.impl.StaticTagScript.run
>> (StaticTagScript.jav
>> a:112)
>>         at org.apache.commons.jelly.impl.ScriptBlock.run
>> (ScriptBlock.java:95)
>>         at org.apache.commons.jelly.TagSupport.invokeBody
>> (TagSupport.java:186)
>>         at org.apache.commons.jelly.tags.core.JellyTag.doTag
>> (JellyTag.java:45)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.DynamicTag.doTag
>> (DynamicTag.java:80)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.ScriptBlock.run
>> (ScriptBlock.java:95)
>>         at org.apache.commons.jelly.TagSupport.invokeBody
>> (TagSupport.java:186)
>>         at org.apache.commons.jelly.tags.core.JellyTag.doTag
>> (JellyTag.java:45)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.DynamicTag.doTag
>> (DynamicTag.java:80)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.ScriptBlock.run
>> (ScriptBlock.java:95)
>>         at org.apache.commons.jelly.TagSupport.invokeBody
>> (TagSupport.java:186)
>>         at org.apache.commons.jelly.tags.core.JellyTag.doTag
>> (JellyTag.java:45)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.kohsuke.stapler.jelly.JellyClassTearOff.invokeScript
>> (JellyClassTe
>> arOff.java:68)
>>         at org.kohsuke.stapler.MetaClass$3.dispatch(MetaClass.java:
>> 111)
>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:198)
>>         at org.kohsuke.stapler.Stapler.service(Stapler.java:72)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:
>> 802)
>>         at  
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:252)
>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter
>> (ApplicationF
>> ilterChain.java:173)
>>         at org.apache.catalina.core.StandardWrapperValve.invoke
>> (StandardWrapperV
>> alve.java:213)
>>         at org.apache.catalina.core.StandardContextValve.invoke
>> (StandardContextV
>> alve.java:178)
>>         at  
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
>> torBase.java:432)
>>         at org.apache.catalina.core.StandardHostValve.invoke
>> (StandardHostValve.j
>> ava:126)
>>         at org.apache.catalina.valves.ErrorReportValve.invoke
>> (ErrorReportValve.j
>> ava:105)
>>         at org.apache.catalina.core.StandardEngineValve.invoke
>> (StandardEngineVal
>> ve.java:107)
>>         at org.apache.catalina.connector.CoyoteAdapter.service
>> (CoyoteAdapter.jav
>> a:148)
>>         at org.apache.coyote.http11.Http11Processor.process
>> (Http11Processor.java
>> :869)
>>         at org.apache.coyote.http11.Http11BaseProtocol
>> $Http11ConnectionHandler.p
>> rocessConnection(Http11BaseProtocol.java:664)
>>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
>> (PoolTcpEndpo
>> int.java:527)
>>         at  
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
>> lowerWorkerThread.java:80)
>>         at org.apache.tomcat.util.threads.ThreadPool
>> $ControlRunnable.run(ThreadP
>> ool.java:684)
>>         at java.lang.Thread.run(Thread.java:595)
>> Caused by: java.lang.NullPointerException
>>         at hudson.model.Hudson$1.compare(Hudson.java:509)
>>         at hudson.model.Hudson$1.compare(Hudson.java:505)
>>         at java.util.Arrays.mergeSort(Arrays.java:1284)
>>         at java.util.Arrays.sort(Arrays.java:1223)
>>         at hudson.model.Hudson.getComputers(Hudson.java:505)
>>         ... 61 more
>> --------------------------
>>
>> My hudson version is 1.84, but it also happened with 1.83
>>
>> After stopping and starting tomcat, all seems to work again.
>>
>> Thanks,
>> Sjoerd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Exception and empty list of machines/executors

Kohsuke Kawaguchi-2
In reply to this post by Wolfram Kroll-2

Committed a fix. It will be in 1.85.

Wolfram Kroll wrote:

> Am 02.03.2007 um 23:44 schrieb Sjoerd Bakker:
>
>> Hi all,
>
> Hi Sjoerd,
>
> I had a similar effect when removing a slave. I filed it as
> https://hudson.dev.java.net/issues/show_bug.cgi?id=149
>
> Wolfram
>
>>
>> After I change the configuration of executors, I often get a  
>> exception in Tomcat, and the main page of hudson does not show any  
>> more machines/executors.
>>
>> Does anyone have similar issues?
>>
>> The stacktrace is as follows:
>> --------------------------
>> WARNING: Caught exception evaluating: app.computers. Reason:  
>> java.lang.reflect.I
>> nvocationTargetException
>> java.lang.reflect.InvocationTargetException
>>         at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown  
>> Source)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAcces
>> sorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at org.apache.commons.jexl.util.PropertyExecutor.execute
>> (PropertyExecuto
>> r.java:123)
>>         at org.apache.commons.jexl.util.introspection.UberspectImpl
>> $VelGetterImp
>> l.invoke(UberspectImpl.java:311)
>>         at  
>> org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAc
>> cess.java:183)
>>         at org.apache.commons.jexl.parser.ASTIdentifier.execute
>> (ASTIdentifier.ja
>> va:73)
>>         at org.apache.commons.jexl.parser.ASTReference.execute
>> (ASTReference.java
>> :82)
>>         at org.apache.commons.jexl.parser.ASTReference.value
>> (ASTReference.java:5
>> 6)
>>         at  
>> org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTRefere
>> nceExpression.java:50)
>>         at org.apache.commons.jexl.ExpressionImpl.evaluate
>> (ExpressionImpl.java:7
>> 9)
>>         at  
>> org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(Jexl
>> Expression.java:69)
>>         at  
>> org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$Expres
>> sionSupportLocal.evaluate(JexlExpressionFactory.java:122)
>>         at  
>> org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse
>> (ExpressionSupport.java:61)
>>         at  
>> org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsItera
>> tor(ExpressionSupport.java:94)
>>         at org.apache.commons.jelly.tags.core.ForEachTag.doTag
>> (ForEachTag.java:8
>> 9)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.ScriptBlock.run
>> (ScriptBlock.java:95)
>>         at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag
>> (InvokeBodyTa
>> g.java:91)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.ScriptBlock.run
>> (ScriptBlock.java:95)
>>         at org.apache.commons.jelly.TagSupport.invokeBody
>> (TagSupport.java:186)
>>         at org.apache.commons.jelly.impl.StaticTag.doTag
>> (StaticTag.java:65)
>>         at org.apache.commons.jelly.impl.StaticTagScript.run
>> (StaticTagScript.jav
>> a:112)
>>         at org.apache.commons.jelly.impl.ScriptBlock.run
>> (ScriptBlock.java:95)
>>         at org.apache.commons.jelly.TagSupport.invokeBody
>> (TagSupport.java:186)
>>         at org.apache.commons.jelly.tags.core.JellyTag.doTag
>> (JellyTag.java:45)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.DynamicTag.doTag
>> (DynamicTag.java:80)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.ScriptBlock.run
>> (ScriptBlock.java:95)
>>         at org.apache.commons.jelly.TagSupport.invokeBody
>> (TagSupport.java:186)
>>         at org.apache.commons.jelly.tags.core.JellyTag.doTag
>> (JellyTag.java:45)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.DynamicTag.doTag
>> (DynamicTag.java:80)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.apache.commons.jelly.impl.ScriptBlock.run
>> (ScriptBlock.java:95)
>>         at org.apache.commons.jelly.TagSupport.invokeBody
>> (TagSupport.java:186)
>>         at org.apache.commons.jelly.tags.core.JellyTag.doTag
>> (JellyTag.java:45)
>>         at org.apache.commons.jelly.impl.TagScript.run
>> (TagScript.java:262)
>>         at org.kohsuke.stapler.jelly.JellyClassTearOff.invokeScript
>> (JellyClassTe
>> arOff.java:68)
>>         at org.kohsuke.stapler.MetaClass$3.dispatch(MetaClass.java:
>> 111)
>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:198)
>>         at org.kohsuke.stapler.Stapler.service(Stapler.java:72)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:
>> 802)
>>         at  
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:252)
>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter
>> (ApplicationF
>> ilterChain.java:173)
>>         at org.apache.catalina.core.StandardWrapperValve.invoke
>> (StandardWrapperV
>> alve.java:213)
>>         at org.apache.catalina.core.StandardContextValve.invoke
>> (StandardContextV
>> alve.java:178)
>>         at  
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
>> torBase.java:432)
>>         at org.apache.catalina.core.StandardHostValve.invoke
>> (StandardHostValve.j
>> ava:126)
>>         at org.apache.catalina.valves.ErrorReportValve.invoke
>> (ErrorReportValve.j
>> ava:105)
>>         at org.apache.catalina.core.StandardEngineValve.invoke
>> (StandardEngineVal
>> ve.java:107)
>>         at org.apache.catalina.connector.CoyoteAdapter.service
>> (CoyoteAdapter.jav
>> a:148)
>>         at org.apache.coyote.http11.Http11Processor.process
>> (Http11Processor.java
>> :869)
>>         at org.apache.coyote.http11.Http11BaseProtocol
>> $Http11ConnectionHandler.p
>> rocessConnection(Http11BaseProtocol.java:664)
>>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
>> (PoolTcpEndpo
>> int.java:527)
>>         at  
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
>> lowerWorkerThread.java:80)
>>         at org.apache.tomcat.util.threads.ThreadPool
>> $ControlRunnable.run(ThreadP
>> ool.java:684)
>>         at java.lang.Thread.run(Thread.java:595)
>> Caused by: java.lang.NullPointerException
>>         at hudson.model.Hudson$1.compare(Hudson.java:509)
>>         at hudson.model.Hudson$1.compare(Hudson.java:505)
>>         at java.util.Arrays.mergeSort(Arrays.java:1284)
>>         at java.util.Arrays.sort(Arrays.java:1223)
>>         at hudson.model.Hudson.getComputers(Hudson.java:505)
>>         ... 61 more
>> --------------------------
>>
>> My hudson version is 1.84, but it also happened with 1.83
>>
>> After stopping and starting tomcat, all seems to work again.
>>
>> Thanks,
>> Sjoerd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment