import XFDF using PDFBOX
i am using pdfbox to import the xfdf file into the pdf file on this debug its throws an error as given below
Exception in thread "main" java.lang.NullPointerException
at org.pdfbox.ImportXFDF.importXFDF(ImportXFDF.java:1 09)
Could anyone to help me on this to solve and proceed the work
Are there no references to your code in the stack trace? If not look at the methods/constructors you are trying to call and read the API specs for them to find out the conditions under which they throw a NPE.