Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0
-
None
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.