Created
February 28, 2018 18:43
-
-
Save lite1979/8a0c83650d42cb8c9fd4e7037193c51b to your computer and use it in GitHub Desktop.
'Illegal dimension' error when forcing size in 2.1 RC4 QZ-Tray
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEBUG] 2018-02-28 13:42:26,209 @ qz.ws.PrintSocketClient:? | |
Message: {"call":"print","promise":{},"params":{"printer":{"name":"TMBAEpson"},"options":{"colorType":"grayscale","copies":"1","density":"","duplex":false,"fallbackDensity":null,"interpolation":"","jobName":"","margins":"0","orientation":"","paperThickness":"","printerTray":"","rasterize":false,"rotation":"0","scaleContent":false,"size":{"width":"80","height":""},"units":"mm","altPrinting":false,"encoding":"","endOfDoc":"","perSpool":"1"},"data":[{"type":"pixel","format":"html","flavor":"file","data":"file:///opt/qz-tray/demo/assets/john.html","options":{"pageWidth":"","pageHeight":""}}]},"timestamp":1519843346205,"uid":"60gibk"} | |
[WARN] 2018-02-28 13:42:26,219 @ qz.ws.PrintSocketClient:? | |
Bad signature on request | |
[ERROR] 2018-02-28 13:42:26,230 @ qz.utils.FileUtilities:? | |
Cannot setup file blocked (Shared) | |
java.io.IOException: No such file or directory | |
at java.io.UnixFileSystem.createFileExclusively(Native Method) | |
at java.io.File.createNewFile(File.java:1012) | |
at qz.utils.FileUtilities.getFile(Unknown Source) | |
at qz.auth.Certificate.isBlocked(Unknown Source) | |
at qz.ui.GatewayDialog.prompt(Unknown Source) | |
at qz.common.TrayManager.lambda$showGatewayDialog$3(Unknown Source) | |
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) | |
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) | |
at java.awt.EventQueue.access$500(EventQueue.java:97) | |
at java.awt.EventQueue$3.run(EventQueue.java:709) | |
at java.awt.EventQueue$3.run(EventQueue.java:703) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) | |
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) | |
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) | |
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) | |
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) | |
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) | |
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) | |
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) | |
at java.awt.Dialog.show(Dialog.java:1084) | |
at java.awt.Component.show(Component.java:1671) | |
at java.awt.Component.setVisible(Component.java:1623) | |
at java.awt.Window.setVisible(Window.java:1014) | |
at java.awt.Dialog.setVisible(Dialog.java:1005) | |
at qz.ui.LogDialog.setVisible(Unknown Source) | |
at qz.common.TrayManager$4.actionPerformed(Unknown Source) | |
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) | |
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) | |
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) | |
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) | |
at javax.swing.AbstractButton.doClick(AbstractButton.java:376) | |
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842) | |
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886) | |
at java.awt.Component.processMouseEvent(Component.java:6533) | |
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) | |
at java.awt.Component.processEvent(Component.java:6298) | |
at java.awt.Container.processEvent(Container.java:2237) | |
at java.awt.Component.dispatchEventImpl(Component.java:4889) | |
at java.awt.Container.dispatchEventImpl(Container.java:2295) | |
at java.awt.Component.dispatchEvent(Component.java:4711) | |
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889) | |
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526) | |
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467) | |
at java.awt.Container.dispatchEventImpl(Container.java:2281) | |
at java.awt.Window.dispatchEventImpl(Window.java:2746) | |
at java.awt.Component.dispatchEvent(Component.java:4711) | |
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) | |
at java.awt.EventQueue.access$500(EventQueue.java:97) | |
at java.awt.EventQueue$3.run(EventQueue.java:709) | |
at java.awt.EventQueue$3.run(EventQueue.java:703) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) | |
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) | |
at java.awt.EventQueue$4.run(EventQueue.java:731) | |
at java.awt.EventQueue$4.run(EventQueue.java:729) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) | |
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) | |
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) | |
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) | |
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) | |
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) | |
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) | |
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) | |
[INFO] 2018-02-28 13:42:27,642 @ qz.common.TrayManager:? | |
Allowed localhost to print to TMBAEpson | |
[TRACE] 2018-02-28 13:42:27,643 @ qz.utils.PrintingUtilities:? | |
Waiting for processor, 0/14 already in use | |
[DEBUG] 2018-02-28 13:42:27,644 @ qz.utils.PrintingUtilities:? | |
Using qz.printer.action.PrintHTML to print | |
[DEBUG] 2018-02-28 13:42:27,645 @ qz.printer.PrintServiceMatcher:? | |
Searching for PrintService matching TMBAEpson | |
[DEBUG] 2018-02-28 13:42:27,646 @ qz.printer.PrintServiceMatcher:? | |
Found 10 printers | |
[DEBUG] 2018-02-28 13:42:27,647 @ qz.printer.PrintServiceMatcher:? | |
Found match: TMBAEpson | |
[DEBUG] 2018-02-28 13:42:27,648 @ qz.printer.action.PrintHTML:? | |
Parsed 1 html records | |
[ERROR] 2018-02-28 13:42:27,650 @ qz.utils.PrintingUtilities:? | |
Failed to print | |
java.lang.IllegalArgumentException: Illegal dimension | |
at javafx.print.Paper.<init>(Paper.java:56) | |
at javafx.print.Printer$1.createPaper(Printer.java:424) | |
at com.sun.javafx.print.PrintHelper.createPaper(PrintHelper.java:58) | |
at qz.printer.action.PrintHTML.print(Unknown Source) | |
at qz.utils.PrintingUtilities.processPrintRequest(Unknown Source) | |
at qz.ws.PrintSocketClient.processMessage(Unknown Source) | |
at qz.ws.PrintSocketClient.onMessage(Unknown Source) | |
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:70) | |
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:68) | |
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver$2.run(JettyAnnotatedEventDriver.java:210) | |
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) | |
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) | |
at java.lang.Thread.run(Thread.java:748) | |
[TRACE] 2018-02-28 13:42:27,658 @ qz.utils.PrintingUtilities:? | |
Returning processor back to pool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment