[Spacewalk-list] Taskomatics Exception

Joaquin Henriquez joaquin.henriquez at countercept.com
Mon Aug 13 13:27:59 UTC 2018


Hi Guys

Somethimes I get these error:

[spacewalk repo-sync-bunch]# pwd
/var/log/rhn/tasko/org1/repo-sync-bunch
[spacewalk repo-sync-bunch]# more repo-sync_143353_err
2018-08-13 12:03:28,211 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Executing a task threw an exception: java.lang.IndexOutOfBo
undsException
2018-08-13 12:03:28,211 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Message: Index: 0, Size: 0
2018-08-13 12:03:28,211 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Cause: null
2018-08-13 12:03:28,212 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Stack trace:java.lang.IndexOutOfBoundsException: Index: 0,
Size: 0
                at java.util.ArrayList.rangeCheck(ArrayList.java:657)
                at java.util.ArrayList.get(ArrayList.java:433)
                at com.redhat.rhn.taskomatic.task.RepoSyncTask.getSyncCommand(RepoSyncTask.java:81)
                at com.redhat.rhn.taskomatic.task.RepoSyncTask.execute(RepoSyncTask.java:70)
                at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:88)
                at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:186)
                at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
                at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

The error is pretty clear (Out of Bound Error) but where is it located and how to fix it?

I have the 2.8 version (latest patch)

BR

Jo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180813/8c2216d3/attachment.htm>


More information about the Spacewalk-list mailing list