Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-50643

EmbeddedSubCalendarsExtractor fails when there are references to users that do not exist

XMLWordPrintable

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      The extractor is falling over when it encounters a reference to a a user that does not exist, e.g. a user that has been deleted from LDAP.

      12-05-30 02:34:06,736 WARN [TP-Processor8] [userprofile.synchronization.model.UppLdapUserService] getSynchronizedLDAPUsers No configured LDAP repositories could be found. Synchronization won't find any user data.
      2012-05-30 02:34:34,127 ERROR [Indexer: 8] [confluence.extra.calendar3.DefaultEmbeddedSubCalendarsParser] getEmbeddedSubCalendarIds Unable to parse sub-calendars embedded in userinfo: blah@examlpe.com v.2 (39551884)
       -- url: /confluence/admin/reindex.action | userName: contegix | referer: http://tools.tntp.org/confluence/admin/search-indexes.action | action: reindex
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.GeneratedMethodAccessor1086.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.atlassian.confluence.extra.calendar3.DefaultEmbeddedSubCalendarsParser.getEmbeddedSubCalendarIds(DefaultEmbeddedSubCalendarsParser.java:79)
      	at com.atlassian.confluence.extra.calendar3.extractor.EmbeddedSubCalendarsExtractor.addFields(EmbeddedSubCalendarsExtractor.java:27)
      	at com.atlassian.confluence.plugin.descriptor.ExtractorModuleDescriptor$BackwardsCompatibleExtractor.addFields(ExtractorModuleDescriptor.java:36)
      	at com.atlassian.bonnie.search.BaseDocumentBuilder.getDocument(BaseDocumentBuilder.java:104)
      	at com.atlassian.confluence.search.lucene.ConfluenceDocumentBuilder.getDocument(ConfluenceDocumentBuilder.java:97)
      	at com.atlassian.confluence.search.lucene.tasks.AddDocumentIndexTask.perform(AddDocumentIndexTask.java:43)
      	at com.atlassian.bonnie.index.TempIndexWriter.perform(TempIndexWriter.java:73)
      	at com.atlassian.confluence.search.lucene.TempIndexWriterStrategy.perform(TempIndexWriterStrategy.java:43)
      	at com.atlassian.confluence.search.lucene.tasks.TempIndexBackedIndexTaskPerformer.perform(TempIndexBackedIndexTaskPerformer.java:21)
      	at com.atlassian.confluence.search.lucene.reindex.ReindexWorkBatch.indexCollection(ReindexWorkBatch.java:128)
      	at com.atlassian.confluence.search.lucene.reindex.ReindexWorkBatch$1.doInTransaction(ReindexWorkBatch.java:88)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
      	at com.atlassian.confluence.search.lucene.reindex.ReindexWorkBatch.run(ReindexWorkBatch.java:58)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      

              Unassigned Unassigned
              merickson Matthew Erickson
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: