Re: [iText-questions] NullpointerException when merging pdf with form AND freeing reader

2014-07-14 Thread iText mailing list
On 7/14/2014 1:20 PM, Emiel Ackermann wrote: > Is this a bug, or is it simply not possible to merge forms, while > freeing readers? It's not possible to free the PdfReader in "mergeFields mode". If we did allow freeing the reader, we'd not be able to properly build the fields tree. We will add

[iText-questions] NullpointerException when merging pdf with form AND freeing reader

2014-07-14 Thread Emiel Ackermann
Dear iText community, I'm trying to copy a pdf containing a form (copy.mergeFields()), while limiting the memory usage(copy.freeReader(reader)) with code similar to this main class: import java.io.ByteArrayOutputStream; import java.io.IOException; import com.itextpdf.text.Document; import com.i

Re: [iText-questions] NullPointerException inStandardDecryption.finish

2013-05-10 Thread Radek Kotowicz
Balder/iText Soft,   thanks for your prompt replies. I feared 1.4.x might be too old to talk about. I'll take a look at the conversion/merging process for this particular file and consider updating iText if that doesn't help.   Regards, Radek---

Re: [iText-questions] NullPointerException in StandardDecryption.finish

2013-05-10 Thread Balder VC
On 05/10/2013 12:28 PM, Radek Kotowicz wrote: > iText 1.4.8 to watermark Itext 1.x is very very old, and not supported anymore and most likely there are numerous other bugs. Consider upgrading! -- Learn Graph Databases - D

Re: [iText-questions] NullPointerException in StandardDecryption.finish

2013-05-10 Thread iText Software
On Fri, 10 May 2013 12:28:38 +0200, Radek Kotowicz wrote:I suspect there might be an illegal construct in the source PDF but the Adobe reader has no issue reading the file. Would it be hard to trace the problematic construct down?It would be extremely hard because you're using an iText version th

[iText-questions] NullPointerException in StandardDecryption.finish

2013-05-10 Thread Radek Kotowicz
Hi,   We're using iText 1.4.8 to watermark a PDF which is a result of multiple conversion & mergin with xDocs package from Cambridge Docs. I'm aware of one output document so far that generates the following error when calling stamp.close() in the method below:   public static void addWatermark

[iText-questions] NullPointerException getting action from the button

2011-10-11 Thread Fausto Bencosme
Hi, I need to change the submit action of a button added to pdf file. But I have a problem, the action is null and I can figure out why or what is the reason of it. My code is the following: 1. final PushbuttonField submitBtn = createSubmitButton( stamper); //Creating a s

Re: [iText-questions] NullpointerException on document.close()

2010-11-03 Thread riffla
Hi Eclipse is my IDE, and I know the cause now. There were a few parts in the code that weren't covered completely in the exception handling so a getter in a domain object returned null, nothing more than that. But sometimes you miss the obvious and start looking for more complicated answers... S

Re: [iText-questions] NullpointerException on document.close()

2010-11-03 Thread Klas Lindbäck
If you use lower level constructs like directcontent it is possible to get strange errors if you write stuff out of order or if you have unclosed sections or sections with the wrong kind of content. So I think your idea to comment out all rendering code is a good one. I don't know which tool you

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread 1T3XT info
On 2/11/2010 23:57, riffla wrote: > > Thanks for supporting me... but for you Mark, if you look at the third > message from top in this thread you can see what I mean about the > stacktrace, and that I doubt it'll give you any hint 'bout the original > cause. That wasn't what we meant when we aske

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread riffla
Thanks for supporting me... but for you Mark, if you look at the third message from top in this thread you can see what I mean about the stacktrace, and that I doubt it'll give you any hint 'bout the original cause. Getting back to work tomorrow I think the best way to attack this problem is to co

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread Mark Storer
er Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: riffla [mailto:rif...@hotmail.com] > Sent: Tuesday, November 02, 2010 9:32 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] NullpointerException on >

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread 1T3XT info
On 2/11/2010 17:32, riffla wrote: > > I am debuggin at my best, but the stacktrace says nothing. And at the most > basic level inside the doc has only one iterator, but digging deeper in the > doc tree there seems to be more, I'm using both doc.add and contentbyte code > to generate pdf (if that af

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread riffla
I am debuggin at my best, but the stacktrace says nothing. And at the most basic level inside the doc has only one iterator, but digging deeper in the doc tree there seems to be more, I'm using both doc.add and contentbyte code to generate pdf (if that affects things) /R -- View this message in

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread 1T3XT info
On 2/11/2010 17:15, riffla wrote: > > Another question (urgent situation, hence all questions in a row)... > Is it possible to attach souce.jar to debug itext code (noticed that the > source jar default package does not match the compiled jar, there's a 'core' > prefixing the source jar packages)..

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread 1T3XT info
On 2/11/2010 17:08, riffla wrote: > > Inside the close() method there is an iteration over the listeners > collection, could it be that it iterates and tries to cast itr.next() (that > could be null for some reason) to a listener... Wouldn't it be easier to debug the problem if you printed the st

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread riffla
Another question (urgent situation, hence all questions in a row)... Is it possible to attach souce.jar to debug itext code (noticed that the source jar default package does not match the compiled jar, there's a 'core' prefixing the source jar packages)... A way to go? /R -- View this message i

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread riffla
Inside the close() method there is an iteration over the listeners collection, could it be that it iterates and tries to cast itr.next() (that could be null for some reason) to a listener... Expanded the document instance in the expression viewer which gave this: "document"= Document (id=9622)

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread riffla
This is the document in the expression viewer: "document"= Document (id=9583) compress= true ITEXT= "iText" (id=9586) ITEXT_VERSION= "iText 2.1.7 by 1T3XT" (id=9587) plainRandomAccess= false RELEASE= "2.1.7" (id=9588) wmfF

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread riffla
"e"= NullPointerException (id=9554) serialVersionUID (RuntimeException)= -7034897190745766939 cause= NullPointerException (id=9554) detailMessage= null stackTrace= null serialVersionUID (Throwable)= -304268

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread 1T3XT info
On 2/11/2010 16:13, riffla wrote: > > Getting a NullPointer on document.close(), though debugging shows document is > not null... The stack trace probably points to some object used in the close() method, but without the stack trace we can't help you. > Is there a known issue on this...? No. >

[iText-questions] NullpointerException on document.close()

2010-11-02 Thread riffla
Getting a NullPointer on document.close(), though debugging shows document is not null... And document is a Document (not a PdfDocument)... Is there a known issue on this...? Rebuild helps sometimes, but now it seems I'm stuck... /R -- View this message in context: http://itext-general.2136553.

Re: [iText-questions] NullPointerException during creation/update of barcode object

2009-06-15 Thread Bruno Lowagie
twinmar wrote: > Hi Bruno, > > Don't get me wrong - I'm not asking anyone to debug my code or write me new > code - I just posted it in the hope that it might highlight an issue. OK, now that I know in which line to look. You declare a variable: public Barcode39 ipdfbar39; This line is equiva

Re: [iText-questions] NullPointerException during creation/update of barcode object

2009-06-15 Thread twinmar
Hi Bruno, Don't get me wrong - I'm not asking anyone to debug my code or write me new code - I just posted it in the hope that it might highlight an issue. Line 205 is the barcode.setCode(code) line. All I need to know is how the barcode object is created. If I create a piece of code in my mai

Re: [iText-questions] NullPointerException during creation/update of barcode object

2009-06-15 Thread Bruno Lowagie
twinmar wrote: > I was under the impression that when a new class was constructed, that all > variables within that class are also constructed and that these variables > could then be used. I'm not sure if this is an iText issue or my java. > > Any assistance on this issue would be most appreciat

[iText-questions] NullPointerException during creation/update of barcode object

2009-06-15 Thread twinmar
I am having problems creating an updating a barcode object within a class. My barcode class is created as follows: public void addBarcode39(String bartype, String barcode, String minbarwidth, String barmultiply, String barfontbase, String barfontttf,

Re: [iText-questions] NullPointerException in PdfWriter.getNewObjectNumber

2009-04-16 Thread Michael Schierl
On Thu, 16 Apr 2009 20:32:35 +0200, 1T3XT info wrote: > Michael Schierl wrote: >> The same exception is thrown if I include the PdfContentByte of that page >> and copy it over to the new document. > > What do you mean by this? A PdfImportedPage or just a content stream? // after document.newPage

Re: [iText-questions] NullPointerException in PdfWriter.getNewObjectNumber

2009-04-16 Thread 1T3XT info
Michael Schierl wrote: > And, it still crashes, if you use jPDF Tweak and let it rescale the PDF > (scaling both the content and the hyperlinks) to, say, A3 format. Let me rephrase my question: has this ever worked? Because at first sight, I can't see how it would work. -- This answer is provided

Re: [iText-questions] NullPointerException in PdfWriter.getNewObjectNumber

2009-04-16 Thread 1T3XT info
Michael Schierl wrote: > The same exception is thrown if I include the PdfContentByte of that page > and copy it over to the new document. What do you mean by this? A PdfImportedPage or just a content stream? > I removed that part from the example > to make it clear that the hyperlinks are the cu

Re: [iText-questions] NullPointerException in PdfWriter.getNewObjectNumber

2009-04-16 Thread Michael Schierl
On Thu, 16 Apr 2009 19:56:34 +0200, 1T3XT info wrote: > Xavier Le Vourch wrote: >> I've just added two new tests cases in SVN based on the two pdf files >> you sent to the list. The first one is now fixed by Bruno's change but >> the one from this thread still fails with a NPE. > > And it SHOULD

Re: [iText-questions] NullPointerException in PdfWriter.getNewObjectNumber

2009-04-16 Thread 1T3XT info
Xavier Le Vourch wrote: > I've just added two new tests cases in SVN based on the two pdf files > you sent to the list. The first one is now fixed by Bruno's change but > the one from this thread still fails with a NPE. And it SHOULD fail! Maybe not with a NullPointerException, but the example doe

Re: [iText-questions] NullPointerException in PdfWriter.getNewObjectNumber

2009-04-16 Thread Xavier Le Vourch
Michael Schierl wrote: > Hello again, > > now I managed to condense the "bad" PDF I wrote about in the > postscriptum of my last email to one small page that still shows the > behaviour. I've just added two new tests cases in SVN based on the two pdf files you sent to the list. The first one is n

[iText-questions] NullPointerException in PdfWriter.getNewObjectNumber

2009-04-16 Thread Michael Schierl
Hello again, now I managed to condense the "bad" PDF I wrote about in the postscriptum of my last email to one small page that still shows the behaviour. This time, the code to reproduce is a bit longer: PdfReader currentReader = new PdfReader("D:/temp/bug.pdf"); Document documen

Re: [iText-questions] NullPointerException in onEndPage

2008-06-03 Thread Paulo Soares
im Tönnsen" > Sent: Tuesday, June 03, 2008 5:57 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] NullPointerException in onEndPage > > @paulo: First of all: I would show you the code, but my boss > doesn't allow to publish any kind of cod

Re: [iText-questions] NullPointerException in onEndPage

2008-06-03 Thread Tim Tönnsen
al Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of "Tim Tönnsen" > > Sent: Tuesday, June 03, 2008 5:14 PM > > To: Post all your questions about iText here > > Subject: Re: [iText-questions] NullPointerException

Re: [iText-questions] NullPointerException in onEndPage

2008-06-03 Thread Paulo Soares
Tuesday, June 03, 2008 5:14 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] NullPointerException in onEndPage > > Yes, of course it can be a problem related to the JVM, but I > never hat a problem like this before, so I guessed it is > related

Re: [iText-questions] NullPointerException in onEndPage

2008-06-03 Thread glen . hamel
. 570 Orwell Street, Unit 1 Mississauga, Ontario L5A 3V7 Phone 905.361.7621 Fax 905.274.3912 http://www.auricnet.ca From: "Tim Tönnsen" <[EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net Date: 06/03/2008 10:51 AM Subject: [iText-questions] NullPointerException in

Re: [iText-questions] NullPointerException in onEndPage

2008-06-03 Thread Tim Tönnsen
found for the stuff i am doing! Original-Nachricht > Datum: Tue, 3 Jun 2008 17:01:16 +0100 > Von: "Paulo Soares" <[EMAIL PROTECTED]> > An: "Post all your questions about iText here" > > Betreff: Re: [iText-questions] NullPointerExcep

Re: [iText-questions] NullPointerException in onEndPage

2008-06-03 Thread Tim Tönnsen
; An: "Post all your questions about iText here" > > Betreff: Re: [iText-questions] NullPointerException in onEndPage > Hi Tim, > > On 03/06/2008, "Tim Tönnsen" <[EMAIL PROTECTED]> wrote: > > I am using the iText libraries to generate the PDF, so I a

Re: [iText-questions] NullPointerException in onEndPage

2008-06-03 Thread Paulo Soares
ding Sun's. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of "Tim Tönnsen" > Sent: Tuesday, June 03, 2008 4:53 PM > To: Post all your questions about iText here; > itext-questions@lists.sourceforge.net > Su

Re: [iText-questions] NullPointerException in onEndPage

2008-06-03 Thread Alexis Pigeon
Hi Tim, On 03/06/2008, "Tim Tönnsen" <[EMAIL PROTECTED]> wrote: > I am using the iText libraries to generate the PDF, so I am Producing my > Problem with > iText, or did I misunderstood your question? But you also use a JVM, probably Sun's, so why wouldn't Sun be the culprit? What Paulo meant w

Re: [iText-questions] NullPointerException in onEndPage

2008-06-03 Thread Tim Tönnsen
; > An: "Post all your questions about iText here" > > Betreff: Re: [iText-questions] NullPointerException in onEndPage > In what way is this related to iText? > > Paulo > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[E

Re: [iText-questions] NullPointerException in onEndPage

2008-06-03 Thread Paulo Soares
In what way is this related to iText? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of "Tim Tönnsen" > Sent: Tuesday, June 03, 2008 3:54 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-que

[iText-questions] NullPointerException in onEndPage

2008-06-03 Thread Tim Tönnsen
Hi Everybody, in the moment I am writing an application for a Customer. One functionality is the option to generate a pdf-file. To do this, I wrote a Controller which extends the PdfPageEventHelper. the Controller has a print(DataObject toPrint) method. These PrintMethod prints the Data's given

Re: [iText-questions] NullPointerException in PdfDocument.newPage

2008-05-22 Thread 1T3XT info
Abhishek Kaukuntla wrote: > Java.lang.NullPointerException > > At com.lowagie.text.pdf.PdfDocument.newPage (Unknown Source) There's a fix in SVN. A NullPointerException in newPage() occurred when using Type3 fonts. Were you using a Type3 font? -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] NullPointerException in PdfDocument.newPage

2008-05-21 Thread 1T3XT info
Abhishek Kaukuntla wrote: > I was working with PDFs the other day and suddenly I got this exception: You should clarify and tell us what you were doing. Do you have a code sample that reproduces the problem? Note that I can reproduce a similar problem caused by the UTF32 support added in iText 2.1

[iText-questions] NullPointerException in PdfDocument.newPage

2008-05-21 Thread Abhishek Kaukuntla
Hello, This is Abhishek mailing you. I was working with PDFs the other day and suddenly I got this exception: Java.lang.NullPointerException At com.lowagie.text.pdf.PdfDocument.newPage (Unknown Source) At com.lowagie.text.pdf.PdfDocument.close (Unknown Source)

Re: [iText-questions] NullPointerException in PdfReader$PageRefs.iteratePages

2008-05-09 Thread Bruno Lowagie
Gregor Karlinger wrote: > Hi, > > I get a NullPointerException in PdfReader$PageRefs.iteratePages when > trying to read the attached PDF document with i-text 2.0.7. > > Has anyone of you an idea how this happens? I don't understand why you are even asking this question! Please don't blame iTex

Re: [iText-questions] NullPointerException in PdfReader$PageRefs.iteratePages

2008-05-09 Thread Howard Shank
Gregor, Your smie.p7m attachment appears to have a virus in it. You may want to check your system. Howard Shank - Original Message From: Gregor Karlinger <[EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net Sent: Friday, May 9, 2008 10:01:17 AM Subject: [iText-que

Re: [iText-questions] NullPointerException in PdfReader$PageRefs.iteratePages

2008-05-09 Thread Gregor Karlinger
smime.p7m Description: S/MIME encrypted message - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://

[iText-questions] NullPointerException in PdfReader$PageRefs.iteratePages

2008-05-09 Thread Gregor Karlinger
smime.p7m Description: S/MIME encrypted message - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://

Re: [iText-questions] NullPointerException

2007-03-13 Thread Bruno Lowagie (iText)
Khan, Aziz wrote: > Error is: at com.lowagie.text.pdf.PdfWriter.close(Unknown Source) > at com.lowagie.text.pdf.PdfDocument.close(Unknown Source) > > Can you help now? No, that's even less information than you gave us in your previous mail. All I can say is that I'm 99% sure it's not an iText rel

Re: [iText-questions] NullPointerException

2007-03-13 Thread Khan, Aziz
Experience at www.capgemini.com "Dream as if you'll live forever, Live as if you'll die today" -Original Message- From: Bruno Lowagie (iText) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 6:25 PM To: Post all your questions about iText here; Khan, Aziz Subject:

Re: [iText-questions] NullPointerException

2007-03-13 Thread Bruno Lowagie (iText)
Khan, Aziz wrote: > Hi, > When the pdf file is more than 100 pages I am getting below error. > Can you please provide the solution for this I don't see anything in my crystal ball; do you know how I could repair it? best regards, Bruno -

[iText-questions] NullPointerException

2007-03-13 Thread Khan, Aziz
Hi, When the pdf file is more than 100 pages I am getting below error. Can you please provide the solution for this java.lang.NullPointerException at com.lowagie.text.pdf.PRStream.(Unknown Source) at com.lowagie.text.pdf.PdfReaderInstance.getFormXObject(Unknown Source

[iText-questions] NullPointerException RTF

2007-03-07 Thread Bruno Lowagie
Dhruba Bandopadhyay wrote: > Hi, > > Thanks a lot for these fixes. There are also a few in there that I've > been wishing for, for quite some time, that were holding us back. > > It seems however that my earlier report of NullPointerException: > > http://www.nabble.com/NullPointerException-in-R

[iText-questions] NullPointerException in RtfDocument.filterSpecialChar

2007-02-21 Thread Dhruba Bandopadhyay
Hi, In my application today I got the error when converting the attached html file to rtf. Caused by: java.lang.NullPointerException at com.lowagie.text.rtf.document.RtfDocument.filterSpecialChar(RtfDocument.java:218) at com.lowagie.text.rtf.field.RtfAnchor.writeFieldInstConten

Re: [iText-questions] NullPointerException when adding table to document (solved)

2006-08-25 Thread bruno
[EMAIL PROTECTED] wrote: >Thanks for listening! ;) > It was the least we could do ;-) I'm glad you found the problem, because I really had no clue. br, Bruno - Using Tomcat but need to do more? Need to support web services, s

Re: [iText-questions] NullPointerException when adding table to document (solved)

2006-08-25 Thread KSchaeuble
Thanks for listening! ;) I found the problem in a properties file that somehow did not generate a FileNotFoundException although it was not found. *rolleyes* - Using Tomcat but need to do more? Need to support web services, s

Re: [iText-questions] NullPointerException when adding table to document

2006-08-25 Thread KSchaeuble
o Post all your questions about iText here To itext-questions@lists.sourceforge.net cc Subject [iText-questions] NullPointerException when adding table to document I'm trying to piece a report together by creating several parts in different classes. I first ran this code locally and had

[iText-questions] NullPointerException when adding table to document

2006-08-25 Thread KSchaeuble
I'm trying to piece a report together by creating several parts in different classes. I first ran this code locally and had no prblems creating the Pdf. When I now integrate it into my web-app and use a real object I'm getting an exception while generating the document: I tried to hunt it down b

[iText-questions] NullPointerException PdfDocument.close JasperReport

2005-06-09 Thread stephane
I generate a PDF document within a servlet. I get the following exception : ExceptionConverter: java.lang.NullPointerException at com.lowagie.text.pdf.PdfDocument.close(Unknown Source) at com.lowagie.text.Document.close(Unknown Source) at net.sf.jasperreports.engine.export. JRPdfExporter.exportR

RE: [iText-questions] NullPointerException in ColumnText

2005-04-29 Thread Paulo Soares
PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] NullPointerException in ColumnText > > I've just upgraded to version 1.3 from 1.01 of iText. Running my > existing application, I found I got the stack trace: > > java.lang.NullPointerException >

[iText-questions] NullPointerException in ColumnText

2005-04-29 Thread Mike Fowler
I've just upgraded to version 1.3 from 1.01 of iText. Running my existing application, I found I got the stack trace: java.lang.NullPointerException at com.lowagie.text.pdf.ColumnText.findLimitsPoint(ColumnText.java:477) at com.lowagie.text.pdf.ColumnText.findLimitsOneLine(ColumnText.java:493) at c

Re: [iText-questions] NullPointerException in PdfWriter.close

2005-03-28 Thread Paulo Soares
That was fixed long ago in itext-paulo-137 (2004-09-08) and in the official 1.1 version. - Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "itext" Sent: Monday, March 28, 2005 10:47 PM Subject: [iText-questions] NullPointerException

[iText-questions] NullPointerException in PdfWriter.close

2005-03-28 Thread David Thielen
Hi; Has anyone seen this happen? It only occurs on one users system (not local so we can't debug of course) and only if they are running multiple threads calling this at the same time. Thanks - dave ExceptionConverter: java.lang.NullPointerException at com.lowagie.text.pdf.Rand

[iText-questions] NullPointerException in Phrase.init

2005-01-31 Thread August Detlefsen
If you try to instantiate Phrase with a null String (for example if your DB query did not return a value for a particular field), you'll get a NullPointerException. To remedy, I changed Phrase.java line 197 from: if (string.length() != 0) { to: if (string != null && string.len

RE: [iText-questions] NullPointerException in PdfReader

2004-10-06 Thread JEckert
d a checkbox whose export value was greater than 127 bytes. -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 5:07 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [iText-questions] NullPointerException in PdfReader It's probabl

RE: [iText-questions] NullPointerException in PdfReader

2004-10-06 Thread Paulo Soares
ED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Wednesday, October 06, 2004 3:22 AM > To: [EMAIL PROTECTED] > Subject: [iText-questions] NullPointerException in PdfReader > > Hi, > > We've been succesfully using i-text for several months no

[iText-questions] NullPointerException in PdfReader

2004-10-05 Thread JEckert
Hi, We've been succesfully using i-text for several months now to merge PDF templates and FDF Files, but have suddenly run into a problem. I assume it is a problem with the source PDF template we are using, but I be sure. I'm using version 1.02b. With this particular PDF, when I construct the Pd

[iText-questions] NullPointerException in tutorial's examples Chap0703.jave and Chap0704.java

2004-06-17 Thread nekto nikto
Hi, Null PointerException in two samples, please help!?!? ExceptionConverter: ExceptionConverter: java.lang.NullPointerException at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:658) at org.apache.crimson.parser.Parser2.parse(Parser2.java:333) at org.apache.cr

[iText-questions] NullPointerException in Chap0704.java

2004-02-04 Thread Laubie Marc
Hi, I try to execute le Chap0704 example and I have this message : ExceptionConverter: ExceptionConverter: java.lang.NullPointerExceptionat org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)at org.apache.crimson.parser.Parser2.parse(Unknown Source)at org.apache.crimson.parser.X

RE: [iText-questions] NullPointerException while merging pdfs

2003-06-12 Thread Chadha, Jaideep
I figured out the problem. This message can be ignored. Thanks -Original Message- From: Chadha, Jaideep Sent: Thursday, June 12, 2003 11:36 AM To: '[EMAIL PROTECTED]' Subject: [iText-questions] NullPointerException while merging pdfs I am getting a NullPointerException whi

[iText-questions] NullPointerException while merging pdfs

2003-06-12 Thread Chadha, Jaideep
I am getting a NullPointerException while merging pdfs. I am using almost the same code as concat_pdf.java. Code snippet follows the message. Any help would be greatly appreciated. Jaideep Iterator it = _listOfPages.iterator(); finalPDF = (String)it.next(); while (i

RE: [iText-questions] NullPointerException with FontFactory

2003-02-06 Thread Paulo Soares
ulo Soares > -Original Message- > From: Bendik R.Johansen [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 17:10 > To: [EMAIL PROTECTED] > Subject: Re: [iText-questions] NullPointerException with FontFactory > > Thanks! > That got rid of the NullPoi

Re: [iText-questions] NullPointerException with FontFactory

2003-02-06 Thread Bendik R . Johansen
/iTextAsian.jar and put it in your classpath. By the way, what OS and JDK are you using? Best Regards, Paulo Soares -Original Message- From: Bendik R.Johansen [SMTP:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 16:25 To: [EMAIL PROTECTED] Subject: Re: [iText-questions] NullPointerException

RE: [iText-questions] NullPointerException with FontFactory

2003-02-06 Thread Paulo Soares
6:25 > To: [EMAIL PROTECTED] > Subject: Re: [iText-questions] NullPointerException with FontFactory > > Thanks, > I am not able to catch this exception either. > Is there any other way to accomplish this? > It seems to work sometimes, with type 1 fonts, but not when using

Re: [iText-questions] NullPointerException with FontFactory

2003-02-06 Thread Bendik R . Johansen
5 To: [EMAIL PROTECTED] Subject: Re: [iText-questions] NullPointerException with FontFactory Here is the Stack trace. I have have tried with absolute paths too, but it did not work either. java.lang.NullPointerException at java.io.Reader.(Reader.java:59) at java.io.InputStre

RE: [iText-questions] NullPointerException with FontFactory

2003-02-06 Thread Paulo Soares
IL PROTECTED]] > Sent: Thursday, February 06, 2003 14:15 > To: [EMAIL PROTECTED] > Subject: Re: [iText-questions] NullPointerException with FontFactory > > Here is the Stack trace. I have have tried with absolute paths too, but > it did not work either. > > java.la

Re: [iText-questions] NullPointerException with FontFactory

2003-02-06 Thread Bendik R . Johansen
(Thread.java:491) On torsdag, feb 6, 2003, at 11:51 Europe/Oslo, Paulo Soares wrote: -Original Message- From: Bendik R.Johansen [SMTP:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 6:47 To: [EMAIL PROTECTED] Subject: [iText-questions] NullPointerException with FontFactory Hello, Iget a

RE: [iText-questions] NullPointerException with FontFactory

2003-02-06 Thread Paulo Soares
> -Original Message- > From: Bendik R.Johansen [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 6:47 > To: [EMAIL PROTECTED] > Subject: [iText-questions] NullPointerException with FontFactory > > Hello, > Iget a NullPointerException when i tr

[iText-questions] NullPointerException with FontFactory

2003-02-05 Thread Bendik R . Johansen
Hello, Iget a NullPointerException when i try to register å new font wit FontFactory code: FontFactory.register("../fonts/edmunds.ttf"); The font is in that location, I am absolutely sure :) What I am trying to achieve, is to write a specific piece of text, with a certain font, at a fixed plac