I’m using Itext in our web application. It works fine for me in development within my websphere SWING application. Works fine in test, the first go-around…but the 2nd time you try to export the JTABLE, I get the following error..

 

DocumentException: java.lang.NullPointerException

            at com.lowagie.text.pdf.ColumnText.setSimpleVars(ColumnText.java(Compiled Code))

            at com.lowagie.text.pdf.ColumnText.setACopy(ColumnText.java(Compiled Code))

            at com.lowagie.text.pdf.ColumnText.duplicate(ColumnText.java(Inlined Compiled Code))

            at com.lowagie.text.pdf.PdfPRow.writeCells(PdfPRow.java(Compiled Code))

            at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(PdfPTable.java:510)

            at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(PdfPTable.java:586)

            at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(PdfPTable.java:542)

            at com.lowagie.text.pdf.ColumnText.goComposite(ColumnText.java:1370)

            at com.lowagie.text.pdf.ColumnText.go(ColumnText.java(Compiled Code))

            at com.lowagie.text.pdf.ColumnText.go(ColumnText.java:752)

            at com.lowagie.text.pdf.PdfDocument.addPTable(PdfDocument.java:992)

            at com.lowagie.text.pdf.PdfDocument.add(PdfDocument.java:1937)

            at com.lowagie.text.Document.add(Document.java:281)

            at gov.mostars.psi.certification.CertReport.<init>(CertReport.java:181)

            at gov.mostars.psi.certification.TermPanel.displaySaveDialog(TermPanel.java:884)

            at gov.mostars.psi.certification.TermPanel.actionPerformed(TermPanel.java:297)

            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1461)

            at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1515)

            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:392)

            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:264)

            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:254)

            at java.awt.Component.processMouseEvent(Component.java:3799)

            at java.awt.Component.processEvent(Component.java:3628)

            at java.awt.Container.processEvent(Container.java:1205)

            at java.awt.Component.dispatchEventImpl(Component.java:2678)

            at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))

            at java.awt.Component.dispatchEvent(Component.java(Inlined Compiled Code))

            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java(Compiled Code))

            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2265)

            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2174)

            at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))

            at java.awt.Window.dispatchEventImpl(Window.java:964)

            at java.awt.Component.dispatchEvent(Component.java(Inlined Compiled Code))

            at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled Code))

            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java(Compiled Code))

            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)

            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:132)

            at java.awt.EventDispatchThread.run(EventDispatchThread.java:124)

null

 

 

Angie Phillips

Systems Programmer

Missouri Department of Higher Education

Phone: (573) 751-2361

Fax:    (573) 751-6635

E-mail: [EMAIL PROTECTED]

website: www.dhe.mo.gov

mailto:[EMAIL PROTECTED] 

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to