Byomokesh Sahoo wrote:
> Hi,
> 
> I am getting trouble about filehandle using itext. 
> 
> My file is
> 
> private final static int INPUT_FILE = 0;
>     private final static int OUTPUT_FILE = 1;
> 
> PdfReader reader = new PdfReader(args[INPUT_FILE]);
> 
> When run this file it showing error 
> "java.lang.ArrayIndexOutOfBoundsException: 0
> at PageBoundaries.main(PageBoundaries.java:42)"
> 
> 
> Please anyone suggest me how i will call file handle.

Are you running the application without passing any arguments?
If so, this is not an iText problem, but a very simple Java question.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to