java.io.IOException: Invalid header signature; read 7015536635646467195, expected -2226271756974174256

Atlassian JIRA | Sulka Haro | 1 decade ago
  1. 0

    At least one of the exceptions seems to be caused by an RTF document attachment. I verified the document opens correctly in both Word and TextEdit so it should be valid. Sep 10, 2004 10:15:19 AM bucket.search.lucene.LuceneIndexer indexAll SEVERE: Erroring indexing object: com.atlassian.confluence.pages.Attachment@9e java.lang.NullPointerException at com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:14) at bucket.search.lucene.LuceneIndexer.indexSingleObject(LuceneIndexer.java:239) at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:112) at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57) at bucket.search.lucene.AbstractBatchIndexer$$FastClassByCGLIB$$e0fab4d1.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:189) at org.springframework.aop.framework.Cglib2AopProxy$MethodInvocationImpl.invokeJoinpoint(Cglib2AopProxy.java:393) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:118) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:191) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.Cglib2AopProxy.intercept(Cglib2AopProxy.java:144) at com.atlassian.confluence.search.lucene.BatchIndexer$$EnhancerByCGLIB$$ecef86e2.indexEntities(<generated>) at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24) at java.lang.Thread.run(Thread.java:534) Sep 10, 2004 10:15:19 AM bucket.search.lucene.LuceneIndexer indexAll SEVERE: Erroring indexing object: com.atlassian.confluence.pages.Attachment@aa java.lang.NullPointerException at com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:14) at bucket.search.lucene.LuceneIndexer.indexSingleObject(LuceneIndexer.java:239) at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:112) at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57) at bucket.search.lucene.AbstractBatchIndexer$$FastClassByCGLIB$$e0fab4d1.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:189) at org.springframework.aop.framework.Cglib2AopProxy$MethodInvocationImpl.invokeJoinpoint(Cglib2AopProxy.java:393) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:118) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:191) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.Cglib2AopProxy.intercept(Cglib2AopProxy.java:144) at com.atlassian.confluence.search.lucene.BatchIndexer$$EnhancerByCGLIB$$ecef86e2.indexEntities(<generated>) at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24) at java.lang.Thread.run(Thread.java:534) Sep 10, 2004 10:15:20 AM bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory getAttachmentStringContent SEVERE: Error extracting text from attachment: foobar.rtf java.io.IOException: Invalid header signature; read 7015536635646467195, expected -2226271756974174256 at org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.java:125) at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:120) at org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:32) at bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.getAttachmentStringContent(AttachmentLuceneDocumentFactory.java:104) at bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.createDocument(AttachmentLuceneDocumentFactory.java:53) at com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:12) at bucket.search.lucene.LuceneIndexer.indexSingleObject(LuceneIndexer.java:239) at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:112) at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57) at bucket.search.lucene.AbstractBatchIndexer$$FastClassByCGLIB$$e0fab4d1.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:189) at org.springframework.aop.framework.Cglib2AopProxy$MethodInvocationImpl.invokeJoinpoint(Cglib2AopProxy.java:393) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:118) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:191) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.Cglib2AopProxy.intercept(Cglib2AopProxy.java:144) at com.atlassian.confluence.search.lucene.BatchIndexer$$EnhancerByCGLIB$$ecef86e2.indexEntities(<generated>) at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24) at java.lang.Thread.run(Thread.java:534) Also seeing lots of errors mentioned in CONF-1713

    Atlassian JIRA | 1 decade ago | Sulka Haro
    java.io.IOException: Invalid header signature; read 7015536635646467195, expected -2226271756974174256
  2. 0

    At least one of the exceptions seems to be caused by an RTF document attachment. I verified the document opens correctly in both Word and TextEdit so it should be valid. Sep 10, 2004 10:15:19 AM bucket.search.lucene.LuceneIndexer indexAll SEVERE: Erroring indexing object: com.atlassian.confluence.pages.Attachment@9e java.lang.NullPointerException at com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:14) at bucket.search.lucene.LuceneIndexer.indexSingleObject(LuceneIndexer.java:239) at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:112) at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57) at bucket.search.lucene.AbstractBatchIndexer$$FastClassByCGLIB$$e0fab4d1.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:189) at org.springframework.aop.framework.Cglib2AopProxy$MethodInvocationImpl.invokeJoinpoint(Cglib2AopProxy.java:393) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:118) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:191) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.Cglib2AopProxy.intercept(Cglib2AopProxy.java:144) at com.atlassian.confluence.search.lucene.BatchIndexer$$EnhancerByCGLIB$$ecef86e2.indexEntities(<generated>) at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24) at java.lang.Thread.run(Thread.java:534) Sep 10, 2004 10:15:19 AM bucket.search.lucene.LuceneIndexer indexAll SEVERE: Erroring indexing object: com.atlassian.confluence.pages.Attachment@aa java.lang.NullPointerException at com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:14) at bucket.search.lucene.LuceneIndexer.indexSingleObject(LuceneIndexer.java:239) at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:112) at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57) at bucket.search.lucene.AbstractBatchIndexer$$FastClassByCGLIB$$e0fab4d1.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:189) at org.springframework.aop.framework.Cglib2AopProxy$MethodInvocationImpl.invokeJoinpoint(Cglib2AopProxy.java:393) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:118) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:191) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.Cglib2AopProxy.intercept(Cglib2AopProxy.java:144) at com.atlassian.confluence.search.lucene.BatchIndexer$$EnhancerByCGLIB$$ecef86e2.indexEntities(<generated>) at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24) at java.lang.Thread.run(Thread.java:534) Sep 10, 2004 10:15:20 AM bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory getAttachmentStringContent SEVERE: Error extracting text from attachment: foobar.rtf java.io.IOException: Invalid header signature; read 7015536635646467195, expected -2226271756974174256 at org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.java:125) at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:120) at org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:32) at bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.getAttachmentStringContent(AttachmentLuceneDocumentFactory.java:104) at bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.createDocument(AttachmentLuceneDocumentFactory.java:53) at com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:12) at bucket.search.lucene.LuceneIndexer.indexSingleObject(LuceneIndexer.java:239) at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:112) at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57) at bucket.search.lucene.AbstractBatchIndexer$$FastClassByCGLIB$$e0fab4d1.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:189) at org.springframework.aop.framework.Cglib2AopProxy$MethodInvocationImpl.invokeJoinpoint(Cglib2AopProxy.java:393) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:118) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:191) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.Cglib2AopProxy.intercept(Cglib2AopProxy.java:144) at com.atlassian.confluence.search.lucene.BatchIndexer$$EnhancerByCGLIB$$ecef86e2.indexEntities(<generated>) at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24) at java.lang.Thread.run(Thread.java:534) Also seeing lots of errors mentioned in CONF-1713

    Atlassian JIRA | 1 decade ago | Sulka Haro
    java.io.IOException: Invalid header signature; read 7015536635646467195, expected -2226271756974174256
  3. 0

    Document opens fine. Only one version in the attchments dir so I know I was opening the correct one. None of its text is indexed. 2005-01-20 15:54:11,423 ERROR [search.lucene.mapping.AttachmentLuceneDocumentFactory] Error extracting text from attachment: WSAD 5.0 setup.rtf java.io.IOException: Invalid header signature; read 7015536635646467195, expected -2226271756974174256 at org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.java:125) at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:120) at org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:48) 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.io.IOException: Invalid header signature; read 7015536635646467195, expected -2226271756974174256
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Document opens fine. Only one version in the attchments dir so I know I was opening the correct one. None of its text is indexed. 2005-01-20 15:54:11,423 ERROR [search.lucene.mapping.AttachmentLuceneDocumentFactory] Error extracting text from attachment: WSAD 5.0 setup.rtf java.io.IOException: Invalid header signature; read 7015536635646467195, expected -2226271756974174256 at org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.java:125) at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:120) at org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:48) 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.io.IOException: Invalid header signature; read 7015536635646467195, expected -2226271756974174256
  6. 0

    Getting the Exception error while converting Docx file to XML using Apache POi

    Stack Overflow | 5 years ago | Abhishek
    java.io.IOException: Invalid header signature; read 0x4353414E2023233C, expected 0xE11AB1A1E011CFD0

    2 unregistered visitors
    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.io.IOException

      Invalid header signature; read 7015536635646467195, expected -2226271756974174256

      at org.apache.poi.poifs.storage.HeaderBlockReader.<init>()
    2. POI
      POIFSFileSystem.<init>
      1. org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.java:125)
      2. org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:120)
      2 frames
    3. org.textmining.text
      WordExtractor.extractText
      1. org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:32)
      1 frame
    4. bucket.search.lucene
      AttachmentLuceneDocumentFactory.createDocument
      1. bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.getAttachmentStringContent(AttachmentLuceneDocumentFactory.java:104)
      2. bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.createDocument(AttachmentLuceneDocumentFactory.java:53)
      2 frames
    5. com.atlassian.confluence
      ConfluenceAttachmentLuceneDocumentFactory.createDocument
      1. com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:12)
      1 frame
    6. bucket.search.lucene
      AbstractBatchIndexer$$FastClassByCGLIB$$e0fab4d1.invoke
      1. bucket.search.lucene.LuceneIndexer.indexSingleObject(LuceneIndexer.java:239)
      2. bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:112)
      3. bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57)
      4. bucket.search.lucene.AbstractBatchIndexer$$FastClassByCGLIB$$e0fab4d1.invoke(<generated>)
      4 frames
    7. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:189)
      1 frame
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$MethodInvocationImpl.invokeJoinpoint(Cglib2AopProxy.java:393)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:118)
      2 frames
    9. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:191)
      1 frame
    10. Spring AOP
      Cglib2AopProxy.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
      2. org.springframework.aop.framework.Cglib2AopProxy.intercept(Cglib2AopProxy.java:144)
      2 frames
    11. com.atlassian.confluence
      IndexingTask.run
      1. com.atlassian.confluence.search.lucene.BatchIndexer$$EnhancerByCGLIB$$ecef86e2.indexEntities(<generated>)
      2. com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24)
      2 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame