roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mirek Hankus (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ROL-1929) reindexing fails if one of authors is disabled
Date Mon, 05 Sep 2011 13:05:10 GMT
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


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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message