Jump to content

No valid column line found.


Recommended Posts

By: Achim Hilwers - hilwers

No valid column line found.

2003-07-25 09:22

Hi!

 

I'm having a very strange problem with JasperReports 0.4.5.

 

I've got these font-definitions in the top of my report:

 

<reportFont name="Arial_Normal" isDefault="true" fontName="Arial" size="12" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>

<reportFont name="Arial_Bold" isDefault="false" fontName="Arial" size="12" isBold="true" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>

<reportFont name="Arial_Italic" isDefault="false" fontName="Arial" size="12" isItalic="true" pdfFontName="Helvetica-Oblique" pdfEncoding="Cp1252" isPdfEmbedded="false"/>

 

With these settings all works fine. But now there's too much text that I want to print on one page so that i just changed the size="12" to size="10".

 

After changing these simple value the pdf-generation doesn' work anymore - i only get an error "No valid column line found". If I change back to size="12" all works fine again.

 

What's wrong with a font size of 10?

 

Here's the stack-trace:

 

No valid column line found.

java.lang.RuntimeException: No valid column line found.

at com.lowagie.text.pdf.ColumnText.convertColumn(Unknown Source)

at com.lowagie.text.pdf.ColumnText.setColumns(Unknown Source)

at com.lowagie.text.pdf.ColumnText.setSimpleColumn(Unknown Source)

at com.lowagie.text.pdf.ColumnText.setSimpleColumn(Unknown Source)

at dori.jasper.engine.export.JRPdfExporter.exportText(JRPdfExporter.java:1155)

at dori.jasper.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:346)

at dori.jasper.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:295)

at dori.jasper.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:217)

at dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:135)

at dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:101)

at Verwaltung.FMain.printINILetters(FMain.java:228)

at Verwaltung.FMain$ToolbarListener.actionPerformed(FMain.java:138)

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

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

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

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

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

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)

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

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

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

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

at java.awt.Container.dispatchEventImpl(Container.java:1437)

at java.awt.Component.dispatchEvent(Component.java:3367)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)

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

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

at java.awt.Container.dispatchEventImpl(Container.java:1423)

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

at java.awt.Component.dispatchEvent(Component.java:3367)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)

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

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

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

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

 

Can anybody help me? It must be possible to use a font-size of 10... :-)

 

Achim

 

P.S. size="11" works, size="14", too

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...