All pastes #849330 Raw Edit

Anonymous

public java v1 · immutable
#849330 ·published 2008-01-10 11:34 UTC
rendered paste body
java.lang.NullPointerException: null attribute        at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147)        at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121)        at sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263)        at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437)        at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195)        at sun.print.ServiceDialog.<init>(ServiceDialog.java:124)        at javax.print.ServiceUI.printDialog(ServiceUI.java:188)        at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855)        at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421)        at hu.piller.enykp.print.MainPrinter.doPrint(MainPrinter.java:716)        at hu.piller.enykp.print.MainPrinter.access$300(MainPrinter.java:43)        at hu.piller.enykp.print.MainPrinter$3.actionPerformed(MainPrinter.java:337)        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)        at java.awt.Component.processMouseEvent(Component.java:6038)        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)        at java.awt.Component.processEvent(Component.java:5803)        at java.awt.Container.processEvent(Container.java:2058)        at java.awt.Component.dispatchEventImpl(Component.java:4410)        at java.awt.Container.dispatchEventImpl(Container.java:2116)        at java.awt.Component.dispatchEvent(Component.java:4240)        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)        at java.awt.Container.dispatchEventImpl(Container.java:2102)        at java.awt.Window.dispatchEventImpl(Window.java:2429)        at java.awt.Component.dispatchEvent(Component.java:4240)        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)        at java.awt.Dialog$1.run(Dialog.java:1039)        at java.awt.Dialog$3.run(Dialog.java:1091)        at java.security.AccessController.doPrivileged(Native Method)        at java.awt.Dialog.show(Dialog.java:1089)        at java.awt.Component.show(Component.java:1419)        at java.awt.Component.setVisible(Component.java:1372)        at java.awt.Window.setVisible(Window.java:801)        at java.awt.Dialog.setVisible(Dialog.java:979)        at hu.piller.enykp.print.MainPrinter.panelEpites(MainPrinter.java:475)        at hu.piller.enykp.print.MainPrinter.init(MainPrinter.java:218)        at hu.piller.enykp.gui.framework.Menubar$13.execute(Menubar.java:669)        at hu.piller.enykp.gui.framework.ToolbarPane$1.actionPerformed(ToolbarPane.java:49)        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)        at java.awt.Component.processMouseEvent(Component.java:6038)        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)        at java.awt.Component.processEvent(Component.java:5803)        at java.awt.Container.processEvent(Container.java:2058)        at java.awt.Component.dispatchEventImpl(Component.java:4410)        at java.awt.Container.dispatchEventImpl(Container.java:2116)        at java.awt.Component.dispatchEvent(Component.java:4240)        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)        at java.awt.Container.dispatchEventImpl(Container.java:2102)        at java.awt.Window.dispatchEventImpl(Window.java:2429)        at java.awt.Component.dispatchEvent(Component.java:4240)        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)