java.lang.NullPointerException

Atlassian JIRA | Michael Seager [Atlassian] | 8 years ago
  1. 0

    Seems to be an issue with certain images in Powerpoint files, Confluence will display the "<filename>.ppt is being converted. Please refresh after some time" message repeatedly and the file itself never converts. Stack trace issued during the conversion is as follows: {noformat} java.lang.NullPointerException at com.benryan.graphics.emf.GdiBrush.<init>(GdiBrush.java:89) at com.benryan.graphics.emf.DeviceContext.copy(DeviceContext.java:263) at com.benryan.graphics.emf.DeviceContext.<init>(DeviceContext.java:230) at com.benryan.graphics.emf.DeviceContext.saveDC(DeviceContext.java:276) at com.benryan.graphics.emf.SaveDC.render(SaveDC.java:40) at com.benryan.graphics.emf.AbstractTranscoder.iterateRecords(AbstractTranscoder.java:248) at com.benryan.graphics.emf.AbstractTranscoder.doRender(AbstractTranscoder.java:207) at com.benryan.graphics.emf.AbstractTranscoder.transcode(AbstractTranscoder.java:137) at com.benryan.escher.EscherRenderer.renderImage(EscherRenderer.java:168) at com.benryan.escher.EscherRenderer.walkShapes(EscherRenderer.java:235) at com.benryan.ppt.PptRenderer.render(PptRenderer.java:95) at com.benryan.conversion.SlideConversionThread.convertFile(SlideConversionThread.java:64) at com.benryan.conversion.SlideConversionThread.run(SlideConversionThread.java:137) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:613) {noformat} h5. Workaround: Save the file as .ppt. However this may or may not apply to all PowerPoint files.

    Atlassian JIRA | 8 years ago | Michael Seager [Atlassian]
    java.lang.NullPointerException
  2. 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
  3. 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.benryan.graphics.emf.GdiBrush.<init>()
    2. com.benryan.graphics
      AbstractTranscoder.transcode
      1. com.benryan.graphics.emf.GdiBrush.<init>(GdiBrush.java:89)
      2. com.benryan.graphics.emf.DeviceContext.copy(DeviceContext.java:263)
      3. com.benryan.graphics.emf.DeviceContext.<init>(DeviceContext.java:230)
      4. com.benryan.graphics.emf.DeviceContext.saveDC(DeviceContext.java:276)
      5. com.benryan.graphics.emf.SaveDC.render(SaveDC.java:40)
      6. com.benryan.graphics.emf.AbstractTranscoder.iterateRecords(AbstractTranscoder.java:248)
      7. com.benryan.graphics.emf.AbstractTranscoder.doRender(AbstractTranscoder.java:207)
      8. com.benryan.graphics.emf.AbstractTranscoder.transcode(AbstractTranscoder.java:137)
      8 frames
    3. com.benryan.escher
      EscherRenderer.walkShapes
      1. com.benryan.escher.EscherRenderer.renderImage(EscherRenderer.java:168)
      2. com.benryan.escher.EscherRenderer.walkShapes(EscherRenderer.java:235)
      2 frames
    4. com.benryan.ppt
      PptRenderer.render
      1. com.benryan.ppt.PptRenderer.render(PptRenderer.java:95)
      1 frame
    5. com.benryan.conversion
      SlideConversionThread.run
      1. com.benryan.conversion.SlideConversionThread.convertFile(SlideConversionThread.java:64)
      2. com.benryan.conversion.SlideConversionThread.run(SlideConversionThread.java:137)
      2 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:123)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      6. java.lang.Thread.run(Thread.java:613)
      6 frames