[Spacewalk-list] Update Debian/Ubuntu Repository
Frantz Benoist
frantz.benoist at gmail.com
Tue Apr 16 12:29:00 UTC 2013
Hi,
i get some errors when taskomatic tries to update the repository data of my
ubuntu repo.
INFO | jvm 1 | 2013/04/16 14:18:21 | 2013-04-16 14:18:21,333
[Thread-51] INFO com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter -
Generating new DEB repository for channel precise-updates-universe-i386-deb
INFO | jvm 1 | 2013/04/16 14:18:25 |
java.lang.reflect.InvocationTargetException
INFO | jvm 1 | 2013/04/16 14:18:25 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
java.lang.reflect.Method.invoke(Method.java:616)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.util.MethodUtil.callMethod(MethodUtil.java:199)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.addToObject(CachedStatement.java:765)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.processResultSet(CachedStatement.java:615)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:469)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:438)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:340)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:346)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:282)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.SelectMode.execute(SelectMode.java:110)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.manager.task.TaskManager.getChannelPackageDtos(TaskManager.java:52)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.taskomatic.task.repomd.DebRepositoryWriter.writeRepomdFiles(DebRepositoryWriter.java:82)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.taskomatic.task.repomd.ChannelRepodataWorker.run(ChannelRepodataWorker.java:104)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
java.lang.Thread.run(Thread.java:679)
INFO | jvm 1 | 2013/04/16 14:18:25 | Caused by:
java.lang.NullPointerException
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.frontend.dto.PackageDto.setBuildTime(PackageDto.java:279)
INFO | jvm 1 | 2013/04/16 14:18:25 | ... 18 more
INFO | jvm 1 | 2013/04/16 14:18:25 | 2013-04-16 14:18:25,038
[Thread-56] ERROR com.redhat.rhn.common.db.datasource.CachedStatement -
Error while processing cached statement sql: SELECT p.id, pn.name as name,
pevr.epoch as epoch,
INFO | jvm 1 | 2013/04/16 14:18:25 | pevr.version as version,
pevr.release as release,
INFO | jvm 1 | 2013/04/16 14:18:25 | p.summary,
p.description, pa.label as arch_label,
INFO | jvm 1 | 2013/04/16 14:18:25 | p.build_time, p.path,
p.package_size, p.payload_size, p.installed_size,
INFO | jvm 1 | 2013/04/16 14:18:25 | p.copyright, p.vendor,
p.build_host, p.header_start, p.header_end,
INFO | jvm 1 | 2013/04/16 14:18:25 | srpm.name as source_rpm,
pg.name as package_group_name,
INFO | jvm 1 | 2013/04/16 14:18:25 | cs.checksum,
cs.checksum_type as checksum_type,
INFO | jvm 1 | 2013/04/16 14:18:25 | prd.primary_xml as
primary_xml, prd.filelist as filelist_xml, prd.other as other_xml
INFO | jvm 1 | 2013/04/16 14:18:25 | FROM
INFO | jvm 1 | 2013/04/16 14:18:25 | rhnChannelPackage cp,
INFO | jvm 1 | 2013/04/16 14:18:25 | rhnPackage p
INFO | jvm 1 | 2013/04/16 14:18:25 | LEFT OUTER JOIN
rhnPackageGroup pg ON p.package_group = pg.id
INFO | jvm 1 | 2013/04/16 14:18:25 | LEFT OUTER JOIN
rhnSourceRpm srpm ON p.source_rpm_id = srpm.id
INFO | jvm 1 | 2013/04/16 14:18:25 | LEFT JOIN
rhnPackageRepodata prd ON prd.package_id =p.id,
INFO | jvm 1 | 2013/04/16 14:18:25 | rhnPackageName pn,
INFO | jvm 1 | 2013/04/16 14:18:25 | rhnPackageEvr pevr,
INFO | jvm 1 | 2013/04/16 14:18:25 | rhnPackageArch pa,
INFO | jvm 1 | 2013/04/16 14:18:25 | rhnChecksumView cs
INFO | jvm 1 | 2013/04/16 14:18:25 | WHERE
INFO | jvm 1 | 2013/04/16 14:18:25 | cp.package_id = p.id
INFO | jvm 1 | 2013/04/16 14:18:25 | AND p.name_id = pn.id
INFO | jvm 1 | 2013/04/16 14:18:25 | AND p.evr_id = pevr.id
INFO | jvm 1 | 2013/04/16 14:18:25 | AND p.package_arch_id =
pa.id
INFO | jvm 1 | 2013/04/16 14:18:25 | AND cp.channel_id = ?
INFO | jvm 1 | 2013/04/16 14:18:25 | AND p.checksum_id = cs.id
INFO | jvm 1 | 2013/04/16 14:18:25 | ORDER by 1
INFO | jvm 1 | 2013/04/16 14:18:25 |
com.redhat.rhn.common.MethodInvocationException: Something bad happened
when calling setBuildTime
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.util.MethodUtil.callMethod(MethodUtil.java:206)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.addToObject(CachedStatement.java:765)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.processResultSet(CachedStatement.java:615)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:469)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:438)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:340)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:346)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:282)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.SelectMode.execute(SelectMode.java:110)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.manager.task.TaskManager.getChannelPackageDtos(TaskManager.java:52)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.taskomatic.task.repomd.DebRepositoryWriter.writeRepomdFiles(DebRepositoryWriter.java:82)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.taskomatic.task.repomd.ChannelRepodataWorker.run(ChannelRepodataWorker.java:104)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
java.lang.Thread.run(Thread.java:679)
INFO | jvm 1 | 2013/04/16 14:18:25 | Caused by:
java.lang.reflect.InvocationTargetException
INFO | jvm 1 | 2013/04/16 14:18:25 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
java.lang.reflect.Method.invoke(Method.java:616)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.util.MethodUtil.callMethod(MethodUtil.java:199)
INFO | jvm 1 | 2013/04/16 14:18:25 | ... 13 more
INFO | jvm 1 | 2013/04/16 14:18:25 | Caused by:
java.lang.NullPointerException
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.frontend.dto.PackageDto.setBuildTime(PackageDto.java:279)
INFO | jvm 1 | 2013/04/16 14:18:25 | ... 18 more
INFO | jvm 1 | 2013/04/16 14:18:25 | 2013-04-16 14:18:25,038
[Thread-56] ERROR com.redhat.rhn.taskomatic.task.ChannelRepodata -
com.redhat.rhn.common.MethodInvocationException: Something bad happened
when calling setBuildTime
INFO | jvm 1 | 2013/04/16 14:18:25 |
com.redhat.rhn.common.MethodInvocationException: Something bad happened
when calling setBuildTime
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.util.MethodUtil.callMethod(MethodUtil.java:206)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.addToObject(CachedStatement.java:765)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.processResultSet(CachedStatement.java:615)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:469)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:438)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:340)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:346)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:282)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.db.datasource.SelectMode.execute(SelectMode.java:110)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.manager.task.TaskManager.getChannelPackageDtos(TaskManager.java:52)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.taskomatic.task.repomd.DebRepositoryWriter.writeRepomdFiles(DebRepositoryWriter.java:82)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.taskomatic.task.repomd.ChannelRepodataWorker.run(ChannelRepodataWorker.java:104)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
java.lang.Thread.run(Thread.java:679)
INFO | jvm 1 | 2013/04/16 14:18:25 | Caused by:
java.lang.reflect.InvocationTargetException
INFO | jvm 1 | 2013/04/16 14:18:25 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
java.lang.reflect.Method.invoke(Method.java:616)
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.common.util.MethodUtil.callMethod(MethodUtil.java:199)
INFO | jvm 1 | 2013/04/16 14:18:25 | ... 13 more
INFO | jvm 1 | 2013/04/16 14:18:25 | Caused by:
java.lang.NullPointerException
INFO | jvm 1 | 2013/04/16 14:18:25 | at
com.redhat.rhn.frontend.dto.PackageDto.setBuildTime(PackageDto.java:279)
INFO | jvm 1 | 2013/04/16 14:18:25 | ... 18 more
The same repo works on an older 1.9 nightly of spacewalk on another server.
Is there something wrong in the java ?
I checked the database whith spacewalk-data-fsck and i didn't get any
errors.
Frantz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130416/3e060095/attachment.htm>
More information about the Spacewalk-list
mailing list