-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.4.0
-
None
-
x86
-
linux
The PrinterJob.pageDialog and PrinterJob.printDialog dialogs do not always come up on Linux. The dialogs may come up the 1st time the applet is loaded but they do not display when later applets try to make use of them (subsequent use of these dialogs doesn't work). Clicking on the print button in the applets has no affect.
I've seen (tried) this on RH Linux 6.2, 7.1.
The printer tests are located at:
http://sqesvr.eng.sun.com/deployment1/ws/doc/proc/JPI_printing.html
Also there is an print test (PrintTest_A) attached to this bug.
Things that may happen when you click on the print button in the applet.
The message "Printer job is Created" will appear in the Java Console but no print dialog displays.
The "No print service found" message will display in a popup message dialog, even though there are printers installed on the system.
I've have also seen the below 1 or 2 times after clicking on the print button.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x822DE2B
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
There have been problems in the recent pass with these dialogs on Linux.
Below are some exceptions I have seen before in past builds.
java.lang.Error
at javax.swing.UIDefaults.getUIError(UIDefaults.java:655)
at javax.swing.UIDefaults.getUI(UIDefaults.java:685)
at javax.swing.UIManager.getUI(UIManager.java:780)
at javax.swing.JOptionPane.updateUI(JOptionPane.java:1700)
at javax.swing.JOptionPane.<init>(JOptionPane.java:1663)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:813)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:627)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:598)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:569)
at sun.print.ServiceDialog.showNoPrintService(ServiceDialog.java:451)
at sun.print.RasterPrinterJob.pageDialog(RasterPrinterJob.java:428)
at PrintTest_A.actionPerformed(PrintTest_A.java:180)
at java.awt.Button.processActionEvent(Button.java:384)
at java.awt.Button.processEvent(Button.java:353)
at java.awt.Component.dispatchEventImpl(Component.java:3488)
at java.awt.Component.dispatchEvent(Component.java:3349)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
-------------------------------------------------------------------------------
java.lang.NullPointerException
at sun.awt.SunToolkit.postEvent(SunToolkit.java:274)
at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:167)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:297)
at java.awt.Component.dispatchEventImpl(Component.java:3379)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Window.dispatchEventImpl(Window.java:1531)
at java.awt.Component.dispatchEvent(Component.java:3349)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
I've seen (tried) this on RH Linux 6.2, 7.1.
The printer tests are located at:
http://sqesvr.eng.sun.com/deployment1/ws/doc/proc/JPI_printing.html
Also there is an print test (PrintTest_A) attached to this bug.
Things that may happen when you click on the print button in the applet.
The message "Printer job is Created" will appear in the Java Console but no print dialog displays.
The "No print service found" message will display in a popup message dialog, even though there are printers installed on the system.
I've have also seen the below 1 or 2 times after clicking on the print button.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x822DE2B
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
There have been problems in the recent pass with these dialogs on Linux.
Below are some exceptions I have seen before in past builds.
java.lang.Error
at javax.swing.UIDefaults.getUIError(UIDefaults.java:655)
at javax.swing.UIDefaults.getUI(UIDefaults.java:685)
at javax.swing.UIManager.getUI(UIManager.java:780)
at javax.swing.JOptionPane.updateUI(JOptionPane.java:1700)
at javax.swing.JOptionPane.<init>(JOptionPane.java:1663)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:813)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:627)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:598)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:569)
at sun.print.ServiceDialog.showNoPrintService(ServiceDialog.java:451)
at sun.print.RasterPrinterJob.pageDialog(RasterPrinterJob.java:428)
at PrintTest_A.actionPerformed(PrintTest_A.java:180)
at java.awt.Button.processActionEvent(Button.java:384)
at java.awt.Button.processEvent(Button.java:353)
at java.awt.Component.dispatchEventImpl(Component.java:3488)
at java.awt.Component.dispatchEvent(Component.java:3349)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
-------------------------------------------------------------------------------
java.lang.NullPointerException
at sun.awt.SunToolkit.postEvent(SunToolkit.java:274)
at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:167)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:297)
at java.awt.Component.dispatchEventImpl(Component.java:3379)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Window.dispatchEventImpl(Window.java:1531)
at java.awt.Component.dispatchEvent(Component.java:3349)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
- duplicates
-
JDK-4450194 Applet can only be printed one at a time
-
- Closed
-