java.lang.NullPointerException

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.lang.NullPointerException
  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.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument()
    2. com.atlassian.confluence
      ConfluenceAttachmentLuceneDocumentFactory.createDocument
      1. com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:14)
      1 frame
    3. 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
    4. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:189)
      1 frame
    5. 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
    6. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:191)
      1 frame
    7. 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
    8. 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
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame