Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1929

reindexing fails if one of authors is disabled

    XMLWordPrintableJSON

Details

    Description

      When blog entries are created by multiple authors, and one of them is then disabled, reindex operation fails with exception:

      ERROR 2011-09-05 14:37:38,725 RebuildWebsiteIndexOperation:doRun - ERROR adding doc to index
      java.lang.NullPointerException
      at org.apache.roller.weblogger.business.search.operations.IndexOperation.getDocument(IndexOperation.java:122)
      at org.apache.roller.weblogger.business.search.operations.RebuildWebsiteIndexOperation.doRun(RebuildWebsiteIndexOperation.java:135)
      at org.apache.roller.weblogger.business.search.operations.WriteToIndexOperation.run(WriteToIndexOperation.java:42)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      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)

      getCreator returns null, because userd is disabled.

      Attachments

        Activity

          People

            roller_unassigned Roller Unassigned
            mhankus Mirek Hankus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: