https://bz.apache.org/bugzilla/show_bug.cgi?id=63818

            Bug ID: 63818
           Summary: PPT to image bug
           Product: POI
           Version: 4.0.0-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
          Assignee: dev@poi.apache.org
          Reporter: 253684...@qq.com
  Target Milestone: ---

I tried converting ppt to image in HSLF.
I created a HSLFSlide,then initialized a Graphics2D object,When I call
HSLFSlide's draw(Graphics2D) method, appear NullPointerException,like this:
Exception in thread "main" java.lang.NullPointerException
        at
org.apache.poi.hslf.usermodel.HSLFTextParagraph.getBulletFont(HSLFTextParagraph.java:683)
        at
org.apache.poi.hslf.usermodel.HSLFTextParagraph$1.getBulletFont(HSLFTextParagraph.java:495)
        at
org.apache.poi.sl.draw.DrawTextParagraph.getBullet(DrawTextParagraph.java:354)
        at
org.apache.poi.sl.draw.DrawTextParagraph.draw(DrawTextParagraph.java:169)
        at
org.apache.poi.sl.draw.DrawTextShape.drawParagraphs(DrawTextShape.java:178)
        at
org.apache.poi.sl.draw.DrawTextShape.drawContent(DrawTextShape.java:127)
        at
org.apache.poi.sl.draw.DrawSimpleShape.draw(DrawSimpleShape.java:103)
        at org.apache.poi.sl.draw.DrawSheet.draw(DrawSheet.java:71)
        at org.apache.poi.sl.draw.DrawSlide.draw(DrawSlide.java:41)
        at org.apache.poi.hslf.usermodel.HSLFSlide.draw(HSLFSlide.java:474)

POI version is 4.1.0,but when i used POI version 3.15,this exception does not
exist

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to