bucket.search.lucene.LuceneException: Calling property accessor method for attribute spaceKey threw an exception

Atlassian JIRA | Nick Faiz [OLD] | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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

    Atlassian JIRA | 1 decade ago | Nick Faiz [OLD]
    bucket.search.lucene.LuceneException: Calling property accessor method for attribute spaceKey threw an exception
  2. 0

    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

    Atlassian JIRA | 1 decade ago | Nick Faiz [OLD]
    bucket.search.lucene.LuceneException: Calling property accessor method for attribute spaceKey threw an exception
  3. 0

    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

    Atlassian JIRA | 1 decade ago | Sulka Haro
    bucket.search.lucene.LuceneException: Calling property accessor method for attribute spaceKey threw an exception
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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

    Atlassian JIRA | 1 decade ago | Sulka Haro
    bucket.search.lucene.LuceneException: Calling property accessor method for attribute spaceKey threw an exception

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.confluence.spaces.SpaceDescription.getSpaceKey()
    2. com.atlassian.confluence
      SpaceDescription.getSpaceKey
      1. com.atlassian.confluence.spaces.SpaceDescription.getSpaceKey(SpaceDescription.java:43)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    4. Apache Commons BeanUtils
      PropertyUtils.getProperty
      1. org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1185)
      2. org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:772)
      3. org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801)
      3 frames
    5. bucket.search.lucene
      LuceneIndexer.indexAll
      1. bucket.search.lucene.extractor.XmlConfiguredExtractor.getContentOfAttribute(XmlConfiguredExtractor.java:102)
      2. bucket.search.lucene.extractor.XmlConfiguredExtractor.addFields(XmlConfiguredExtractor.java:31)
      3. bucket.search.lucene.BaseDocumentBuilder.getDocument(BaseDocumentBuilder.java:26)
      4. bucket.search.lucene.LuceneIndexer.getDocument(LuceneIndexer.java:237)
      5. bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:98)
      5 frames
    6. com.atlassian.confluence
      ConfluenceIndexer.indexAll
      1. com.atlassian.confluence.search.lucene.ConfluenceIndexer.indexAll(ConfluenceIndexer.java:50)
      1 frame
    7. bucket.search.lucene
      AbstractBatchIndexer.indexEntities
      1. bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57)
      1 frame
    8. com.atlassian.confluence
      DefaultConfluenceBatchIndexer.indexEntities
      1. com.atlassian.confluence.search.lucene.DefaultConfluenceBatchIndexer.indexEntities(DefaultConfluenceBatchIndexer.java:40)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    10. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116)
      3 frames
    11. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
      1 frame
    12. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)
      2 frames
    13. Unknown
      $Proxy21.indexEntities
      1. $Proxy21.indexEntities(Unknown Source)
      1 frame
    14. com.atlassian.confluence
      IndexingTask.run
      1. com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:31)
      1 frame
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame