java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.confluence.index.Lucene29FieldDescriptorMapper

Atlassian JIRA | John Inder [Atlassian] | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Customers who are running Confluence 4.3.x are finding that their indexing becomes broken when Team Calendars v3.2.3 is enabled in their instance. The index appears to run successful but refreshing the page suggests that the Index isn't rebuilt, even though they have just run the process. Looking in the atlassian-confluence logs, a very distinct error is shown: {noformat} 2013-06-13 13:50:05,471 ERROR [Indexer: 8] [confluence.search.lucene.ReindexWorkBatch] indexCollection Error indexing document -- referer: http://localhost:6430/admin/search-indexes.action | url: /admin/reindex.action | userName: admin | action: reindex java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.confluence.index.Lucene29FieldDescriptorMapper at com.atlassian.labs.lucenecompat.impl.Lucene29AdaptingExtractor.<init>(Lucene29AdaptingExtractor.java:28) at com.atlassian.labs.lucenecompat.impl.Lucene29ExtractorFactory.convert(Lucene29ExtractorFactory.java:16) at com.atlassian.labs.lucenecompat.spring.DynamicExtractorModuleDescriptorsFactory$CompatibilityExtractor.addFields(DynamicExtractorModuleDescriptorsFactory.java:154) 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.ReindexWorkBatch.indexCollection(ReindexWorkBatch.java:125) at com.atlassian.confluence.search.lucene.ReindexWorkBatch$1.doInTransaction(ReindexWorkBatch.java:86) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at com.atlassian.confluence.search.lucene.ReindexWorkBatch.run(ReindexWorkBatch.java:56) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) 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:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) {noformat} *WORKAROUND:* # Downgrade the plugin to the previous version by removing it from the database by following the instructions in this document to remove the plugin from the database: https://confluence.atlassian.com/display/DOC/Removing+Malfunctioning+Add-ons # After this you should flush the plugin caches by performing the steps outlined in this document: https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache # You can then reinstall v3.2.2 of the plugin, found on this link: https://marketplace.atlassian.com/plugins/com.atlassian.confluence.extra.team-calendars/versions # Finally, you will need to rebuild the index from scratch by following the instructions in this document: https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch *NOTE: Whenever making changes in the database you should ALWAYS backup your data before proceeding!* The problem will be fixed for Team Calendars 3.2.4

    Atlassian JIRA | 4 years ago | John Inder [Atlassian]
    java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.confluence.index.Lucene29FieldDescriptorMapper
  2. 0

    Customers who are running Confluence 4.3.x (and potentially other versions of Confluence) are finding that their indexing becomes broken when Team Calendars v3.2.3 is enabled in their instance. The index appears to run successful but refreshing the page suggests that the Index isn't rebuilt, even though they have just run the process. h3. Symptoms # Index is not working # Can not create new spaces Looking in the atlassian-confluence logs, a very distinct error is shown: {noformat} 2013-06-13 13:50:05,471 ERROR [Indexer: 8] [confluence.search.lucene.ReindexWorkBatch] indexCollection Error indexing document -- referer: http://localhost:6430/admin/search-indexes.action | url: /admin/reindex.action | userName: admin | action: reindex java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.confluence.index.Lucene29FieldDescriptorMapper at com.atlassian.labs.lucenecompat.impl.Lucene29AdaptingExtractor.<init>(Lucene29AdaptingExtractor.java:28) at com.atlassian.labs.lucenecompat.impl.Lucene29ExtractorFactory.convert(Lucene29ExtractorFactory.java:16) at com.atlassian.labs.lucenecompat.spring.DynamicExtractorModuleDescriptorsFactory$CompatibilityExtractor.addFields(DynamicExtractorModuleDescriptorsFactory.java:154) 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.ReindexWorkBatch.indexCollection(ReindexWorkBatch.java:125) at com.atlassian.confluence.search.lucene.ReindexWorkBatch$1.doInTransaction(ReindexWorkBatch.java:86) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at com.atlassian.confluence.search.lucene.ReindexWorkBatch.run(ReindexWorkBatch.java:56) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) 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:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) {noformat} h3. Resolution # Upgrade the plugin to v3.2.4 or above, which can be downloaded here: https://marketplace.atlassian.com/plugins/com.atlassian.confluence.extra.team-calendars # Reindex your instance following these instructions: https://confluence.atlassian.com/display/DOC/Content+Index+Administration

    Atlassian JIRA | 4 years ago | John Inder [Atlassian]
    java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.confluence.index.Lucene29FieldDescriptorMapper
  3. 0

    Customers who are running Confluence 4.3.x (and potentially other versions of Confluence) are finding that their indexing becomes broken when Team Calendars v3.2.3 is enabled in their instance. The index appears to run successful but refreshing the page suggests that the Index isn't rebuilt, even though they have just run the process. h3. Symptoms # Index is not working # Can not create new spaces Looking in the atlassian-confluence logs, a very distinct error is shown: {noformat} 2013-06-13 13:50:05,471 ERROR [Indexer: 8] [confluence.search.lucene.ReindexWorkBatch] indexCollection Error indexing document -- referer: http://localhost:6430/admin/search-indexes.action | url: /admin/reindex.action | userName: admin | action: reindex java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.confluence.index.Lucene29FieldDescriptorMapper at com.atlassian.labs.lucenecompat.impl.Lucene29AdaptingExtractor.<init>(Lucene29AdaptingExtractor.java:28) at com.atlassian.labs.lucenecompat.impl.Lucene29ExtractorFactory.convert(Lucene29ExtractorFactory.java:16) at com.atlassian.labs.lucenecompat.spring.DynamicExtractorModuleDescriptorsFactory$CompatibilityExtractor.addFields(DynamicExtractorModuleDescriptorsFactory.java:154) 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.ReindexWorkBatch.indexCollection(ReindexWorkBatch.java:125) at com.atlassian.confluence.search.lucene.ReindexWorkBatch$1.doInTransaction(ReindexWorkBatch.java:86) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at com.atlassian.confluence.search.lucene.ReindexWorkBatch.run(ReindexWorkBatch.java:56) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) 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:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) {noformat} h3. Resolution # Upgrade the plugin to v3.2.4 or above, which can be downloaded here: https://marketplace.atlassian.com/plugins/com.atlassian.confluence.extra.team-calendars # Reindex your instance following these instructions: https://confluence.atlassian.com/display/DOC/Content+Index+Administration

    Atlassian JIRA | 4 years ago | John Inder [Atlassian]
    java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.confluence.index.Lucene29FieldDescriptorMapper
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem with Tomcat - unable to start webapp [Archive] - Java-Monitor Forum

    java-monitor.com | 1 year ago
    java.lang.NoClassDefFoundError: javax/faces/context/ExternalContext at org.apache.myfaces.trinidadinternal.webapp.Trinida dListenerImpl.contextDestroyed(TrinidadListenerImp l.java:39) at org.apache.catalina.core.StandardContext.listenerS top(StandardContext.java:3882) at org.apache.catalina.core.StandardContext.stop(Stan dardContext.java:4523) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4387) at org.apache.catalina.manager.ManagerServlet.start(M anagerServlet.java:1247) at org.apache.catalina.manager.HTMLManagerServlet.sta rt(HTMLManagerServlet.java:604) at org.apache.catalina.manager.HTMLManagerServlet.doG et(HTMLManagerServlet.java:129) at javax.servlet.http.HttpServlet.service(HttpServlet .java:617) at javax.servlet.http.HttpServlet.service(HttpServlet .java:717) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
  6. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.NoClassDefFoundError: org/springframework/asm/ClassVisitor at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.&lt;init&gt;(AbstractAutowireCapableBeanFactory. java:121) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.&lt;init&gt;(AbstractAutowireCapableBeanFactory. java:168) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.DefaultL istableBeanFactory. &lt;init&gt;(DefaultListableBeanFactory.java:163) ~[spring-beans-3.1.4.RELEASE.jar:3.1 .4.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.createBeanFactory(AbstractRefreshableApplicat ionContext.java:194) ~[spring- context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.refreshBeanFactory(AbstractRefreshableApplica tionContext.java:127) ~[spring -context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.obtain FreshBeanFactory(AbstractApplicationContext.java:5 37) ~[spring-context-3.2.2.REL EASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.refres h(AbstractApplicationContext.java:451) ~[spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.web.context.ContextLoader.conf igureAndRefreshWebA pplicationContext(ContextLoader.java:389) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.R ELEASE] at org.springframework.web.context.ContextLoader.init WebApplicationConte xt(ContextLoader.java:294) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextInitiali zed(ContextLoaderListener.java:112) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS tart(StandardContex t.java:4791) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.startInte rnal(StandardContex t.java:5285) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class com.atlassian.confluence.index.Lucene29FieldDescriptorMapper

      at com.atlassian.labs.lucenecompat.impl.Lucene29AdaptingExtractor.<init>()
    2. com.atlassian.labs
      DynamicExtractorModuleDescriptorsFactory$CompatibilityExtractor.addFields
      1. com.atlassian.labs.lucenecompat.impl.Lucene29AdaptingExtractor.<init>(Lucene29AdaptingExtractor.java:28)
      2. com.atlassian.labs.lucenecompat.impl.Lucene29ExtractorFactory.convert(Lucene29ExtractorFactory.java:16)
      3. com.atlassian.labs.lucenecompat.spring.DynamicExtractorModuleDescriptorsFactory$CompatibilityExtractor.addFields(DynamicExtractorModuleDescriptorsFactory.java:154)
      3 frames
    3. com.atlassian.bonnie
      BaseDocumentBuilder.getDocument
      1. com.atlassian.bonnie.search.BaseDocumentBuilder.getDocument(BaseDocumentBuilder.java:104)
      1 frame
    4. com.atlassian.confluence
      AddDocumentIndexTask.perform
      1. com.atlassian.confluence.search.lucene.ConfluenceDocumentBuilder.getDocument(ConfluenceDocumentBuilder.java:97)
      2. com.atlassian.confluence.search.lucene.tasks.AddDocumentIndexTask.perform(AddDocumentIndexTask.java:43)
      2 frames
    5. com.atlassian.bonnie
      TempIndexWriter.perform
      1. com.atlassian.bonnie.index.TempIndexWriter.perform(TempIndexWriter.java:73)
      1 frame
    6. com.atlassian.confluence
      ReindexWorkBatch$1.doInTransaction
      1. com.atlassian.confluence.search.lucene.TempIndexWriterStrategy.perform(TempIndexWriterStrategy.java:43)
      2. com.atlassian.confluence.search.lucene.tasks.TempIndexBackedIndexTaskPerformer.perform(TempIndexBackedIndexTaskPerformer.java:21)
      3. com.atlassian.confluence.search.lucene.ReindexWorkBatch.indexCollection(ReindexWorkBatch.java:125)
      4. com.atlassian.confluence.search.lucene.ReindexWorkBatch$1.doInTransaction(ReindexWorkBatch.java:86)
      4 frames
    7. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
      1 frame
    8. com.atlassian.confluence
      ReindexWorkBatch.run
      1. com.atlassian.confluence.search.lucene.ReindexWorkBatch.run(ReindexWorkBatch.java:56)
      1 frame
    9. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      6. java.lang.Thread.run(Thread.java:680)
      6 frames