Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Rep Power

    Arrow import XFDF using PDFBOX

    Hi all,

    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.ImportFDF.importFDF(
    at org.pdfbox.ImportXFDF.importXFDF( 09)
    at org.pdfbox.ImportXFDF.main(

    Could anyone to help me on this to solve and proceed the work


  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Rep Power


    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.

Similar Threads

  1. Reading text using PDFBOX
    By umadas in forum Advanced Java
    Replies: 15
    Last Post: 01-21-2012, 09:47 AM
  2. import problem
    By anki.gulsvart in forum Networking
    Replies: 9
    Last Post: 10-16-2009, 07:03 PM
  3. Read text content from pdf using pdfbox
    By cssatheesh in forum Advanced Java
    Replies: 0
    Last Post: 09-22-2009, 08:54 PM
  4. Gwt how to import external gar?
    By trust in forum Web Frameworks
    Replies: 2
    Last Post: 07-14-2009, 04:31 AM
  5. import statement.
    By diRisig in forum New To Java
    Replies: 2
    Last Post: 02-08-2008, 01:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts