It shows the error right after printing. I see an icon in the lower corner of the screen that tells me it was sent, but it does not appear in the printer queue or output.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
I get the following error when I try to print my task list.
Any Ideas?
Error
Message:
java.lang.IllegalArgumentException: justificationWidth <= 0 passed to TextLayout.getJustifiedLayout()
Level:
WARNING
Stack Trace:
justificationWidth = 0 passed to TextLayout.getJustifiedLayout()
java.awt.font.TextLayout.getJustifiedLayout(Unknown Source)
sun.swing.SwingUtilities2.drawString(Unknown Source)
sun.swing.SwingUtilities2.drawStringUnderlineCharAt(Unknown Source)
javax.swing.plaf.basic.BasicGraphicsUtils.drawStringUnderlineCharAt(Unknown Source)
javax.swing.plaf.basic.BasicGraphicsUtils.drawString(Unknown Source)
com.jtattoo.plaf.JTattooUtilities.drawStringUnderlineCharAt(Unknown Source)
com.jtattoo.plaf.BaseLabelUI.paintEnabledText(Unknown Source)
javax.swing.plaf.basic.BasicLabelUI.paint(Unknown Source)
javax.swing.plaf.ComponentUI.update(Unknown Source)
javax.swing.JComponent.paintComponent(Unknown Source)
org.jdesktop.swingx.renderer.JRendererLabel.paintComponent(JRendererLabel.java:141)
javax.swing.JComponent.printComponent(Unknown Source)
javax.swing.JComponent.paint(Unknown Source)
javax.swing.CellRendererPane.paintComponent(Unknown Source)
javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
javax.swing.plaf.ComponentUI.update(Unknown Source)
javax.swing.JComponent.paintComponent(Unknown Source)
javax.swing.JComponent.printComponent(Unknown Source)
javax.swing.JComponent.paint(Unknown Source)
javax.swing.JComponent.print(Unknown Source)
com.leclercb.taskunifier.gui.components.print.TableReport.print(TableReport.java:243)
sun.print.RasterPrinterJob.printPage(Unknown Source)
sun.print.RasterPrinterJob.print(Unknown Source)
com.leclercb.taskunifier.gui.components.print.PrintUtils.printTable(PrintUtils.java:79)
com.leclercb.taskunifier.gui.components.tasks.table.TaskTable.printTasks(TaskTable.java:288)
com.leclercb.taskunifier.gui.actions.ActionPrint.print(ActionPrint.java:85)
com.leclercb.taskunifier.gui.actions.ActionPrint.actionPerformed(ActionPrint.java:69)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.AbstractButton.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
com.leclercb.taskunifier.gui.swing.EventQueueProxy.dispatchEvent(EventQueueProxy.java:51)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)
Does it print and show the error ? Or it only shows the error ?
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
It shows the error right after printing. I see an icon in the lower corner of the screen that tells me it was sent, but it does not appear in the printer queue or output.
https://sourceforge.net/p/taskunifier/bugs/184/