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

    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(ImportFDF.java:71)
    at org.pdfbox.ImportXFDF.importXFDF(ImportXFDF.java:1 09)
    at org.pdfbox.ImportXFDF.main(ImportXFDF.java:89)

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

    thanks,
    jk

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    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, 08: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, 12: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
  •