could you upload a sample file to a public location for inspection? What if the field uses e.g. Arial TrueType?
Which version of PDFBox are you using? BR Maruan Am 19.02.2015 um 19:46 schrieb Lorena Leishman <[email protected]>: > Hello everyone, > I am having some error messages when I am trying to set values to some fields > in a PDF form. Many of the values are set fine but then I get these error for > some fields. > > java.lang.NullPointerExceptionpdmodel.interactive.form.PDAppearance.calculateFontSize > pdmodel.interactive.form.PDAppearance.setAppearanceValue > > I noticed that the fields that get updated have font size = 12 and font type > Helvetica. If I manually go to the file and change the fields that are not > being updated to size =12, font type Helvetica then it works!! > I can not have all the fields be the same size and font type. Is there a way > to get around this? and why do I have this problem in first place? > Any help would be appreciated. Thanks!

