bucket.search.lucene.LuceneException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Every time reindex is started, the following is printed to catalina.out at the beginning. Makes me wonder if everything is indexed or not. SEVERE: Erroring indexing object. Class: class com.atlassian.confluence.spaces.SpaceDescription Content-id: 5 bucket.search.lucene.LuceneException: Calling property accessor method for attribute spaceKey threw an exception at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.getContentOfAttribute(XmlLuceneDocumentFactory.java:129) at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.createDocumentForObjectFromClassConfiguration(XmlLuceneDocumentFactory.java:46) at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.createDocument(XmlLuceneDocumentFactory.java:35) at bucket.search.lucene.LuceneIndexer.getDocument(LuceneIndexer.java:156) at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:94) at com.atlassian.confluence.search.lucene.ConfluenceIndexer.indexAll(ConfluenceIndexer.java:47) at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy22.indexEntities(Unknown Source) at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1185) at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:772) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801) at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.getContentOfAttribute(XmlLuceneDocumentFactory.java:116) ... 19 more Caused by: java.lang.NullPointerException at com.atlassian.confluence.spaces.SpaceDescription.getSpaceKey(SpaceDescription.java:51) ... 26 more Jan 5, 2005 1:46:06 PM bucket.search.lucene.LuceneIndexer indexAll
    via by Sulka Haro,
  • Every time reindex is started, the following is printed to catalina.out at the beginning. Makes me wonder if everything is indexed or not. SEVERE: Erroring indexing object. Class: class com.atlassian.confluence.spaces.SpaceDescription Content-id: 5 bucket.search.lucene.LuceneException: Calling property accessor method for attribute spaceKey threw an exception at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.getContentOfAttribute(XmlLuceneDocumentFactory.java:129) at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.createDocumentForObjectFromClassConfiguration(XmlLuceneDocumentFactory.java:46) at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.createDocument(XmlLuceneDocumentFactory.java:35) at bucket.search.lucene.LuceneIndexer.getDocument(LuceneIndexer.java:156) at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:94) at com.atlassian.confluence.search.lucene.ConfluenceIndexer.indexAll(ConfluenceIndexer.java:47) at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy22.indexEntities(Unknown Source) at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1185) at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:772) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801) at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.getContentOfAttribute(XmlLuceneDocumentFactory.java:116) ... 19 more Caused by: java.lang.NullPointerException at com.atlassian.confluence.spaces.SpaceDescription.getSpaceKey(SpaceDescription.java:51) ... 26 more Jan 5, 2005 1:46:06 PM bucket.search.lucene.LuceneIndexer indexAll
    via by Sulka Haro,
  • Occurs when reindexing - more specifically when placing a RemoveDocumentIndexTask onto the queue. bucket.search.lucene.LuceneException: Calling property accessor method for attribute spaceKey threw an exception at bucket.search.lucene.extractor.XmlConfiguredExtractor.getContentOfAttribute(XmlConfiguredExtractor.java:115) at bucket.search.lucene.extractor.XmlConfiguredExtractor.addFields(XmlConfiguredExtractor.java:31) at bucket.search.lucene.BaseDocumentBuilder.getDocument(BaseDocumentBuilder.java:26) at bucket.search.lucene.LuceneIndexer.getDocument(LuceneIndexer.java:237) at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:98) at com.atlassian.confluence.search.lucene.ConfluenceIndexer.indexAll(ConfluenceIndexer.java:50) at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57) at com.atlassian.confluence.search.lucene.DefaultConfluenceBatchIndexer.indexEntities(DefaultConfluenceBatchIndexer.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy21.indexEntities(Unknown Source) at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:31) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1185) at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:772) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801) at bucket.search.lucene.extractor.XmlConfiguredExtractor.getContentOfAttribute(XmlConfiguredExtractor.java:102) ... 20 more Caused by: java.lang.NullPointerException at com.atlassian.confluence.spaces.SpaceDescription.getSpaceKey(SpaceDescription.java:43) ... 28 more
    via by Nick Faiz [OLD],
  • Occurs when reindexing - more specifically when placing a RemoveDocumentIndexTask onto the queue. bucket.search.lucene.LuceneException: Calling property accessor method for attribute spaceKey threw an exception at bucket.search.lucene.extractor.XmlConfiguredExtractor.getContentOfAttribute(XmlConfiguredExtractor.java:115) at bucket.search.lucene.extractor.XmlConfiguredExtractor.addFields(XmlConfiguredExtractor.java:31) at bucket.search.lucene.BaseDocumentBuilder.getDocument(BaseDocumentBuilder.java:26) at bucket.search.lucene.LuceneIndexer.getDocument(LuceneIndexer.java:237) at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:98) at com.atlassian.confluence.search.lucene.ConfluenceIndexer.indexAll(ConfluenceIndexer.java:50) at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57) at com.atlassian.confluence.search.lucene.DefaultConfluenceBatchIndexer.indexEntities(DefaultConfluenceBatchIndexer.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy21.indexEntities(Unknown Source) at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:31) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1185) at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:772) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801) at bucket.search.lucene.extractor.XmlConfiguredExtractor.getContentOfAttribute(XmlConfiguredExtractor.java:102) ... 20 more Caused by: java.lang.NullPointerException at com.atlassian.confluence.spaces.SpaceDescription.getSpaceKey(SpaceDescription.java:43) ... 28 more
    via by Nick Faiz [OLD],
  • Just upgraded from 1.3.5 to 2.0. Pressing the icon for adding a space to My Favorite causes a big JavaScript error popup to appear. Server log shows: 2005-11-19 21:54:50,058 ERROR [atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/labels/addspacetofavourites.action (AddSpaceToFavouritesAction.execute())' due to throwable: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.confluence.spaces.SpaceDescription.getSpaceKey(SpaceDescription.java:42) at com.atlassian.confluence.labels.DefaultLabelManager.addLabel(DefaultLabelManager.java:109) at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at com.atlassian.confluence.util.profiling.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy6.addLabel(Lcom.atlassian.confluence.core.ContentEntityObject;Lcom.atlassian.confluence.labels.Label;)I(Unknown Source) at com.atlassian.confluence.labels.actions.AddSpaceToFavouritesAction.execute(AddSpaceToFavouritesAction.java:29) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:69) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:40) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:94) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
    via by Jun Yang,
    • bucket.search.lucene.LuceneException: Calling property accessor method for attribute spaceKey threw an exception at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.getContentOfAttribute(XmlLuceneDocumentFactory.java:129) at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.createDocumentForObjectFromClassConfiguration(XmlLuceneDocumentFactory.java:46) at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.createDocument(XmlLuceneDocumentFactory.java:35) at bucket.search.lucene.LuceneIndexer.getDocument(LuceneIndexer.java:156) at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:94) at com.atlassian.confluence.search.lucene.ConfluenceIndexer.indexAll(ConfluenceIndexer.java:47) at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy22.indexEntities(Unknown Source) at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1185) at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:772) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801) at bucket.search.lucene.mapping.XmlLuceneDocumentFactory.getContentOfAttribute(XmlLuceneDocumentFactory.java:116) ... 19 more Caused by: java.lang.NullPointerException at com.atlassian.confluence.spaces.SpaceDescription.getSpaceKey(SpaceDescription.java:51) ... 26 more
    No Bugmate found.