java.util.NoSuchElementException

Atlassian JIRA | RefuX Zanzeebarr | 1 decade ago
  1. 0

    Word Document not being indexed. There is only one copy of "Database Versioning - Howto.doc" in the attachments dir and it opens up in word just fine. However it I search in confluence for text it contains, it is not in the results. I found this error in the log files: 2005-01-20 15:54:09,188 ERROR [search.lucene.mapping.AttachmentLuceneDocumentFactory] Error extracting text from attachment: Database Versioning - Howto.doc java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:426) at org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:150) at bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.getAttachmentStringContent(AttachmentLuceneDocumentFactory.java:107) at bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.createDocument(AttachmentLuceneDocumentFactory.java:56) at com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:14) 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)

    Atlassian JIRA | 1 decade ago | RefuX Zanzeebarr
    java.util.NoSuchElementException
  2. 0

    Word Document not being indexed. There is only one copy of "Database Versioning - Howto.doc" in the attachments dir and it opens up in word just fine. However it I search in confluence for text it contains, it is not in the results. I found this error in the log files: 2005-01-20 15:54:09,188 ERROR [search.lucene.mapping.AttachmentLuceneDocumentFactory] Error extracting text from attachment: Database Versioning - Howto.doc java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:426) at org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:150) at bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.getAttachmentStringContent(AttachmentLuceneDocumentFactory.java:107) at bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.createDocument(AttachmentLuceneDocumentFactory.java:56) at com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:14) 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)

    Atlassian JIRA | 1 decade ago | RefuX Zanzeebarr
    java.util.NoSuchElementException
  3. 0

    JHeadstart 10.1.2.1: NoSuchElementException in generated JSP

    Oracle Community | 1 decade ago | paskal_alma
    java.util.NoSuchElementException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoSuchElement exception on cancelling evaluation

    Eclipse Bugzilla | 1 decade ago | Darin_Swanson
    java.util.NoSuchElementException
  6. 0

    ICompilationUnit.createType failing with unexpected exception

    Eclipse Bugzilla | 8 years ago | jerome_lanneluc
    java.util.NoSuchElementException

    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.util.NoSuchElementException

      No message provided

      at java.util.AbstractList$Itr.next()
    2. Java RT
      AbstractList$Itr.next
      1. java.util.AbstractList$Itr.next(AbstractList.java:426)
      1 frame
    3. org.textmining.text
      WordExtractor.extractText
      1. org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:150)
      1 frame
    4. bucket.search.lucene
      AttachmentLuceneDocumentFactory.createDocument
      1. bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.getAttachmentStringContent(AttachmentLuceneDocumentFactory.java:107)
      2. bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.createDocument(AttachmentLuceneDocumentFactory.java:56)
      2 frames
    5. com.atlassian.confluence
      ConfluenceAttachmentLuceneDocumentFactory.createDocument
      1. com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:14)
      1 frame
    6. bucket.search.lucene
      LuceneIndexer.indexAll
      1. bucket.search.lucene.LuceneIndexer.getDocument(LuceneIndexer.java:156)
      2. bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:94)
      2 frames
    7. com.atlassian.confluence
      ConfluenceIndexer.indexAll
      1. com.atlassian.confluence.search.lucene.ConfluenceIndexer.indexAll(ConfluenceIndexer.java:47)
      1 frame
    8. bucket.search.lucene
      AbstractBatchIndexer.indexEntities
      1. bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57)
      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
      $Proxy22.indexEntities
      1. $Proxy22.indexEntities(Unknown Source)
      1 frame
    14. com.atlassian.confluence
      IndexingTask.run
      1. com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24)
      1 frame
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame