[JIRA] Commented: (HUDSON-4747) Timer Task: NoClassDefFoundError: at hudson.model.Hudson.getComputer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-4747) Timer Task: NoClassDefFoundError: at hudson.model.Hudson.getComputer

Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-4747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140383#action_140383 ]

dvaske commented on HUDSON-4747:
--------------------------------

Hi, I had an issue quite similar to this one, was also getting these in the log all the time (hudson 1.367):
Jul 22, 2010 2:58:54 PM hudson.triggers.SafeTimerTask run
SEVERE: Timer task hudson.model.LoadStatistics$LoadStatisticsUpdater@bb2539 failed
java.lang.NoClassDefFoundError

Finally i figured out that hudson was running with Java v. 1.5 and not v. 1.6 though it was supposed to.
Running hudson with Java 1.6 solved the issue for me.
Can this perhaps help some of you?

> Timer Task: NoClassDefFoundError: at hudson.model.Hudson.getComputer
> --------------------------------------------------------------------
>
>                 Key: HUDSON-4747
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-4747
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>         Environment: Platform: All, OS: All
>            Reporter: nhb
>
> These methods are repeated every couple of seconds in the log.
> Oct 30, 2009 11:42:32 PM hudson.triggers.SafeTimerTask run
> SEVERE: Timer task hudson.slaves.NodeProvisioner$NodeProvisionerInvoker@66db4e
> failed
> java.lang.NoClassDefFoundError
>         at hudson.model.Hudson.getComputer(Hudson.java:1271)
>         at
> hudson.model.OverallLoadStatistics.computeIdleExecutors(OverallLoadStatistics.java:56)
>         at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:159)
>         at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:53)
>         at
> hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:215)
>         at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Oct 30, 2009 11:42:35 PM hudson.triggers.SafeTimerTask run
> SEVERE: Timer task hudson.model.LoadStatistics$LoadStatisticsUpdater@ca86fd failed
> java.lang.NoClassDefFoundError
>         at hudson.model.Hudson.getComputer(Hudson.java:1271)
>         at
> hudson.model.LoadStatistics$LoadStatisticsUpdater.doRun(LoadStatistics.java:214)
>         at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Oct 30, 2009 11:42:42 PM hudson.triggers.SafeTimerTask run
> SEVERE: Timer task hudson.slaves.NodeProvisioner$NodeProvisionerInvoker@66db4e
> failed
> java.lang.NoClassDefFoundError
>         at hudson.model.Hudson.getComputer(Hudson.java:1271)
>         at
> hudson.model.OverallLoadStatistics.computeIdleExecutors(OverallLoadStatistics.java:56)
>         at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:159)
>         at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:53)
>         at
> hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:215)
>         at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Oct 30, 2009 11:42:45 PM hudson.triggers.SafeTimerTask run
> SEVERE: Timer task hudson.model.LoadStatistics$LoadStatisticsUpdater@ca86fd failed
> java.lang.NoClassDefFoundError
>         at hudson.model.Hudson.getComputer(Hudson.java:1271)
>         at
> hudson.model.LoadStatistics$LoadStatisticsUpdater.doRun(LoadStatistics.java:214)
>         at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Oct 30, 2009 11:42:52 PM hudson.triggers.SafeTimerTask run
> SEVERE: Timer task hudson.slaves.NodeProvisioner$NodeProvisionerInvoker@66db4e
> failed
> java.lang.NoClassDefFoundError
>         at hudson.model.Hudson.getComputer(Hudson.java:1271)
>         at
> hudson.model.OverallLoadStatistics.computeIdleExecutors(OverallLoadStatistics.java:56)
>         at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:159)
>         at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:53)
>         at
> hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:215)
>         at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Oct 30, 2009 11:42:55 PM hudson.triggers.SafeTimerTask run
> SEVERE: Timer task hudson.model.LoadStatistics$LoadStatisticsUpdater@ca86fd failed
> java.lang.NoClassDefFoundError
>         at hudson.model.Hudson.getComputer(Hudson.java:1271)
>         at
> hudson.model.LoadStatistics$LoadStatisticsUpdater.doRun(LoadStatistics.java:214)
>         at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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