poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60005] New: NPE in XSLFTextParagraph.getDefaultFontSize()
Date Mon, 15 Aug 2016 15:43:09 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60005

            Bug ID: 60005
           Summary: NPE in XSLFTextParagraph.getDefaultFontSize()
           Product: POI
           Version: 3.15-dev
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLF
          Assignee: dev@poi.apache.org
          Reporter: onealj@apache.org

Found by running the regression tests for POI 3.15 beta 3 RC1 against the
CommonCrawl corpus.

* 4 times NullPointerException in XSLFTextParagraph.getDefaultFontSize()

> java.lang.NullPointerException
>         at o.a.p.xslf.usermodel.XSLFTextParagraph.getDefaultFontSize(XSLFTextParagraph.java:935)
>         at o.a.p.sl.draw.DrawTextParagraph.getAttributedString(DrawTextParagraph.java:567)
>         at o.a.p.sl.draw.DrawTextParagraph.breakText(DrawTextParagraph.java:235)
>         at o.a.p.sl.draw.DrawTextShape.drawParagraphs(DrawTextShape.java:158)
>         at o.a.p.sl.draw.DrawTextShape.getTextHeight(DrawTextShape.java:219)
>         at o.a.p.sl.draw.DrawTextShape.drawContent(DrawTextShape.java:102)
>         at o.a.p.sl.draw.DrawSimpleShape.draw(DrawSimpleShape.java:93)
>         at o.a.p.sl.draw.DrawSheet.draw(DrawSheet.java:67)
>         at o.a.p.sl.draw.DrawSlide.draw(DrawSlide.java:39)
>         at o.a.p.xslf.usermodel.XSLFSlide.draw(XSLFSlide.java:301)
>         at o.a.p.stress.SlideShowHandler.renderSlides(SlideShowHandler.java:120)
>         at o.a.p.stress.SlideShowHandler.handleSlideShow(SlideShowHandler.java:43)
>         at o.a.p.stress.XSLFFileHandler.handleFile(XSLFFileHandler.java:43)
>         at org.dstadler.commoncrawl.FileHandlingRunnable.run(FileHandlingRunnable.java:58)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message