printing error

User fdee5ee126

20-06-2008 07:48:45

Hi there,


when I try to print from IJC, I get the following error:





java.lang.NullPointerException: null attribute


at sun.print.IPPPrintService.isAttributeValueSupported(Unknown Source)


at sun.print.ServiceDialog$OrientationPanel.updateInfo(Unknown Source)


at sun.print.ServiceDialog$PageSetupPanel.updateInfo(Unknown Source)


at sun.print.ServiceDialog.updatePanels(Unknown Source)


at sun.print.ServiceDialog.initPrintDialog(Unknown Source)


at sun.print.ServiceDialog.<init>(Unknown Source)


at javax.print.ServiceUI.printDialog(Unknown Source)


at sun.print.RasterPrinterJob.printDialog(Unknown Source)


at javax.swing.JTable.print(Unknown Source)


at javax.swing.JTable.print(Unknown Source)


at javax.swing.JTable.print(Unknown Source)


at javax.swing.JTable.print(Unknown Source)


at javax.swing.JTable.print(Unknown Source)


at com.im.ijc.widgets.table.WBTable.print(WBTable.java:735)


[catch] at com.im.ijc.gridview.GridViewTopComponent$1.run(GridViewTopComponent.java:84)


at java.awt.event.InvocationEvent.dispatch(Unknown Source)


at java.awt.EventQueue.dispatchEvent(Unknown Source)


at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)


at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)


at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


at java.awt.EventDispatchThread.run(Unknown Source)





my java is:


markus@akb-16:~$ java -version


java version "1.6.0_03"


Java(TM) SE Runtime Environment (build 1.6.0_03-b05)


Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)


markus@akb-16:~$


I am working with Ubuntu 7.10 and IJC version 2.3.1





Thanks in advance,


Markus

ChemAxon 3b366b17e5

20-06-2008 09:49:01

Known problem in jdk. You can use workaround described at


https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191/comments/18





Petr