When running "Compute statistics" on the repository in the Admin Center, I see the following stack trace in the logs:
2011-05-20 08:18:13,251 ERROR [org.nuxeo.ecm.admin.repo.StatsTask] Error while executing StatsTaskRunner org.nuxeo.ecm.core.api.ClientException: org.nuxeo.ecm.core.api.WrappedException: Exception: java.lang.NullPointerException. message: null at org.nuxeo.ecm.admin.repo.StatsTaskRunner.run(StatsTaskRunner.java:113) at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:155) at org.nuxeo.ecm.admin.repo.StatsTask.run(StatsTask.java:61) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: java.lang.NullPointerException. message: null 2011-05-20 08:21:14,625 ERROR [org.nuxeo.ecm.admin.repo.StatsTaskRunner] Error while running StatsTaskRunner java.lang.NullPointerException at org.nuxeo.ecm.platform.picture.api.adapters.DefaultPictureAdapter.getPictureFromTitle(DefaultPictureAdapter.java:123) at org.nuxeo.ecm.platform.picture.api.adapters.PictureBookBlobHolder.getBlobs(PictureBookBlobHolder.java:59) at org.nuxeo.ecm.platform.picture.api.adapters.PictureBookBlobHolder.getBlobs(PictureBookBlobHolder.java:51) at org.nuxeo.ecm.admin.repo.StatsTaskRunner.fetchInfoFromDoc(StatsTaskRunner.java:84) at org.nuxeo.ecm.admin.repo.StatsTaskRunner.recurse(StatsTaskRunner.java:58) at org.nuxeo.ecm.admin.repo.StatsTaskRunner.recurse(StatsTaskRunner.java:68) at org.nuxeo.ecm.admin.repo.StatsTaskRunner.recurse(StatsTaskRunner.java:68) at org.nuxeo.ecm.admin.repo.StatsTaskRunner.recurse(StatsTaskRunner.java:68) at org.nuxeo.ecm.admin.repo.StatsTaskRunner.run(StatsTaskRunner.java:110) at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:155) at org.nuxeo.ecm.admin.repo.StatsTask.run(StatsTask.java:61) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
- is required by
-
NXP-6941 Inconsistent repository statistics in Admin Center
- Resolved