[Spacewalk-list] Taskomatic java.lang.NullPointerException
Marco Giunta
giunta at sissa.it
Tue Feb 2 09:50:09 UTC 2010
Hi at all,
after Spacewalk update 0.6 -> 0.7, I 've a strange error messages in
/var/log/rhn/rhn_taskomatic_daemon.log; every night at 23:00 (11 PM),
Taskomatic generate this error messages:
INFO | jvm 1 | 2010/02/01 23:00:00 | 2010-02-01 23:00:00,465
[DefaultQuartzScheduler_Worker-9] WARN
com.redhat.rhn.taskomatic.task.SummaryPopulation - Skipping 1 because
it's already queued:16 | Feb 1, 2010 2:40:16 PM com.mchange.v2.log.MLog
<clinit>
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)
INFO | jvm 1 | 2010/02/01 23:00:04 | 2010-02-01 23:00:04,517
[DefaultQuartzScheduler_Worker-3] ERROR org.quartz.core.ErrorLogger -
Job (Taskomatic
Group.com.redhat.rhn.taskomatic.task.CompareConfigFilesTask-13 threw an
exception.
INFO | jvm 1 | 2010/02/01 23:00:04 | org.quartz.SchedulerException:
Job threw an unhandled exception. [See nested exception:
java.lang.NullPointerException]FO | 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.core.JobRunShell.run(JobRunShell.java:214)
INFO | jvm 1 | 2010/02/01 23:00:04 | at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
INFO | jvm 1 | 2010/02/01 23:00:04 | * Nested Exception (Underlying
Cause) ---------------
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)
One error message is about an 'already queued'
com.redhat.rhn.taskomatic.task.SummaryPopulation task, but in
/etc/rhn/default/rhn_taskomatic.conf and
/etc/rhn/default/rhn_taskomatic_daemon.conf it appears only one time and
Oracle RHNTASKQUEUE table is empty
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
log4j.appender.TaskomaticAppender=org.apache.log4j.FileAppender
log4j.appender.TaskomaticAppender.file=/var/log/rhn/rhn_taskomatic.log
log4j.appender.TaskomaticAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.TaskomaticAppender.layout.ConversionPattern=[%d] %-5p %c
- %m%n
log4j.logger.com.redhat.rhn.taskomatic=DEBUG,TaskomaticAppender
log4j.logger.com.redhat.rhn.task=DEBUG,TaskomaticAppender
but debug still not active for CompareConfigFiles task; also if I add:
log4j.logger.com.redhat.rhn.taskomatic.task.CompareConfigFilesTask-13=DEBUG,TaskomaticAppender
or
log4j.logger.com.redhat.rhn.taskomatic.task.CompareConfigFilesTask=DEBUG,TaskomaticAppender
or
log4j.logger.com.redhat.rhn.task.CompareConfigFilesTask=DEBUG,TaskomaticAppender
no way to enable debug mode ...
Someone could help me ????
Thank you in advance,
Marco
More information about the Spacewalk-list
mailing list