[Spacewalk-list] [PATCH] Re: Taskomatic java.lang.NullPointerException
Michael Mraka
michael.mraka at redhat.com
Fri Feb 5 08:43:43 UTC 2010
Joshua Roys wrote:
> On 02/02/2010 04:50 AM, Marco Giunta wrote:
>> INFO | jvm 1 | 2010/02/01 23:00:04 | 2010-02-01 23:00:04,514
>> [DefaultQuartzScheduler_Worker-3] ERROR org.quartz.core.JobRunShell -
>> Job Taskomatic
>> Group.com.redhat.rhn.taskomatic.task.CompareConfigFilesTask-13 threw an
>> unhandled Exception: C3P0Registry banner
>> INFO | jvm 1 | 2010/02/01 23:00:04 | java.lang.NullPointerException
>> INFO | jvm 1 | 2010/02/01 23:00:04 | at
>> com.redhat.rhn.taskomatic.task.CompareConfigFilesTask.execute(CompareConfigFilesTask.java:94)
>> INFO | jvm 1 | 2010/02/01 23:00:04 | at
>> org.quartz.core.JobRunShell.run(JobRunShell.java:203)
>> INFO | jvm 1 | 2010/02/01 23:00:04 | at
>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
...
> This is a piece of my code- so I apologize that it is not working
> properly. The messages are basically harmless, although annoying. You
> can disable the task if you aren't using it, via
> /etc/rhn/default/rhn_taskomatic.conf, and commenting out the "...
> CompareConfigFilesTask.schedule = 0 0 23 ? * *" line, and probably also
> by removing it from the list of taskomatic.default_tasks at the top of
> the same file. The task, when working properly, queues up an automated
> comparison of configuration files.
>
> Attached is a patch that should fix the issue.
>
> Josh
Hi Josh,
fix applied. Thanks.
Regards,
--
Michael Mráka
Satellite Engineering, Red Hat
More information about the Spacewalk-list
mailing list