[Spacewalk-list] [PATCH] Re: Taskomatic java.lang.NullPointerException

Marco Giunta giunta at sissa.it
Wed Feb 3 09:55:41 UTC 2010


Thank you very much for the fix ...

Do you have any suggestion for the other warning ???

INFO   | jvm 1    | 2010/02/02 23:00:01 | 2010-02-02 23:00:00,671 
[DefaultQuartzScheduler_Worker-3] WARN  
com.redhat.rhn.taskomatic.task.SummaryPopulation - Skipping 1 because 
it's already queued

INFO   | jvm 1    | 2010/02/02 23:00:01 | 2010-02-02 23:00:01,098 
[DefaultQuartzScheduler_Worker-3] WARN  
com.redhat.rhn.taskomatic.task.SummaryPopulation - Skipping 1 because 
it's already queued

Regards,
    Marco



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) 
>>
>
>> The other message is about
>> com.redhat.rhn.taskomatic.task.CompareConfigFilesTask
>> java.lang.NullPointerException, but I don't understand which is the
>> problem; I've tried to enable debug loggin, but I'm not able to do it.
>> I've add this line to /usr/share/rhn/classes/log4j.properties
>
> Hello,
>
> 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

-- 
 -----------------------------------
|Marco Giunta - SISSA Computer Staff|
|Via Beirut, 2-4                    |
|34151 -  Trieste, Italy            |
|Tel: +39-40-3787-503               |	
|Fax: +39-040-3787-528              |
|e-mail: giunta AT sissa.it         |
 -----------------------------------




More information about the Spacewalk-list mailing list