Hi everybody!

This is my first posting to the list.

I am experiencing the following problem:

I get a PDF from a 3rd-party tool, which shows pretty
fine as is. However, I wish to "massage" it through
iText. What, happens is that before I even begin doing
any "massaging", I get an IOException at the following
line of code:

PdfReader reader = new PdfReader(blob)

where blob is the byte[] containing the original
report, and which shows pretty fine on its own.

The exact exception is below.

(Please note that I got this exception, both with the
0.98 iText jar that I normally use, as well as with
the latest - 1.02- jar).

Any help with this would be greatly appreciated!!!

Thanks in advance,
Panagiotis.

java.io.IOException: Invalid object number. at file
pointer 4346

at
gr.novabank.epdc.webapp.controller.PdfPipe.pipePdf(PdfPipe.java:92)

at
gr.novabank.epdc.webapp.controller.BusinessObjectsServlet.performTask(BusinessObjectsServlet.java:416)

at
gr.novabank.epdc.webapp.controller.BusinessObjectsServlet.doGet(BusinessObjectsServlet.java:151)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)

at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)

at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)

at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)

at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)

at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)

at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)

at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:678)

at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:331)

at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:117)

at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)

at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:239)

at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)

at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)

at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:154)

at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)

at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)

at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)

at
com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)

at
com.ibm.ws.util.CachedThread.run(ThreadPool.java:137)



__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to