[
https://issues.apache.org/jira/browse/ROL-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Glen Mazza resolved ROL-1929.
-----------------------------
Resolution: Fixed
Fix Version/s: 5.0.2
5.1
Added an NPE guard on getCreator():
http://svn.apache.org/viewvc?view=revision&revision=1517178. Thanks for
bringing to our attention.
> reindexing fails if one of authors is disabled
> ----------------------------------------------
>
> Key: ROL-1929
> URL: https://issues.apache.org/jira/browse/ROL-1929
> Project: Roller
> Issue Type: Bug
> Components: Search
> Affects Versions: 5.0
> Reporter: Mirek Hankus
> Assignee: Roller Unassigned
> Fix For: 5.1, 5.0.2
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira