Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.4
-
None
-
None
Description
in org.apache.pdfbox.rendering.PageDrawer.java
// return border info. BorderStyle must be provided as parameter because
// method is not available in the base class
private AnnotationBorder getAnnotationBorder(PDAnnotation annotation,
PDBorderStyleDictionary borderStyle)
{
AnnotationBorder ab = new AnnotationBorder();
COSArray border = annotation.getBorder();
if (borderStyle == null)
{
// this code may throw NullPointerException
if (border.get(2) instanceof COSNumber)
if (border.size() > 3)
{
COSBase base3 = border.getObject(3);
if (base3 instanceof COSArray)
}
}
i can not find the pdf file that has this promble.