Re: [iText-questions] [SPAM] Re: acrofields count is 0

2014-10-08 Thread TvT
2014-10-08 15:50 GMT+02:00 mkl : > If indeed "the returned acrofields is null", your proposal to do > "acroFields.getFields()" will result in a null pointer exception (or the > @mkl But since "acroFields" is never null this it not going to happen (checked that of course)... --

[iText-questions] [SPAM] Re: acrofields count is 0

2014-10-08 Thread mkl
TvT, TvT wrote > Try this: > > AcroFields acroFields = stamper.getAcroFields(); > Map fields = acroFields.getFields(); > > 2014-10-08 9:45 GMT+02:00 < > tanshishu@ > >: >> AcroFields acroFields = pdf.AcroFields; >> >> but the returned acrofields is null. If indeed "th

[iText-questions] [SPAM] Re: acrofields count is 0

2014-10-08 Thread mkl
tanshishu, tanshishu wrote > it worked fine in some pdf, but there was problem in some other pdf. That obviously indicates that there is some relevant distinction between those sets of files. Have you tried to compare them to find that distinction? If you tried without success or if you simply