-
Bug
-
Resolution: Duplicate
-
P4
-
17, 20, 22, 23, 24
-
x86
-
os_x
java/awt/print/PrinterJob/Cancel/PrinterJobCancel.java fails with the following exception
2024-10-27 17:18:31.567 java[19354:4079463] Java Exception
2024-10-27 17:18:31.570 java[19354:4079463] (
0 CoreFoundation 0x00007ff80eee5dc6 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff80e9d59dd objc_exception_throw + 48
2 CoreFoundation 0x00007ff80eee5c66 +[NSException raise:format:] + 214
3 libawt_lwawt.dylib 0x000000012b7a7028 -[PrinterView complete:] + 552
4 libawt_lwawt.dylib 0x000000012b7a52bf -[PrintModel safePrintLoop:withEnv:] + 175
5 libawt_lwawt.dylib 0x000000012b747644 Java_sun_lwawt_macosx_CPrinterJob_printLoop + 3892
6 ??? 0x0000000118c50d7c 0x0 + 4710534524
)
java.lang.NullPointerException: Null component provided to invokeLater
at java.base/java.util.Objects.requireNonNull(Objects.java:246)
at java.desktop/sun.lwawt.macosx.LWCToolkit.invokeLater(LWCToolkit.java:747)
at java.desktop/sun.lwawt.macosx.CPrinterJob.cancelCheck(CPrinterJob.java:755)
at java.desktop/sun.lwawt.macosx.CPrinterJob.printLoop(Native Method)
at java.desktop/sun.lwawt.macosx.CPrinterJob.print(CPrinterJob.java:373)
at java.desktop/sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1497)
at PrinterJobCancel.run(PrinterJobCancel.java:53)
DONE PRINTING
Didn't get the expected PrintAbortException
2024-10-27 17:18:31.567 java[19354:4079463] Java Exception
2024-10-27 17:18:31.570 java[19354:4079463] (
0 CoreFoundation 0x00007ff80eee5dc6 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff80e9d59dd objc_exception_throw + 48
2 CoreFoundation 0x00007ff80eee5c66 +[NSException raise:format:] + 214
3 libawt_lwawt.dylib 0x000000012b7a7028 -[PrinterView complete:] + 552
4 libawt_lwawt.dylib 0x000000012b7a52bf -[PrintModel safePrintLoop:withEnv:] + 175
5 libawt_lwawt.dylib 0x000000012b747644 Java_sun_lwawt_macosx_CPrinterJob_printLoop + 3892
6 ??? 0x0000000118c50d7c 0x0 + 4710534524
)
java.lang.NullPointerException: Null component provided to invokeLater
at java.base/java.util.Objects.requireNonNull(Objects.java:246)
at java.desktop/sun.lwawt.macosx.LWCToolkit.invokeLater(LWCToolkit.java:747)
at java.desktop/sun.lwawt.macosx.CPrinterJob.cancelCheck(CPrinterJob.java:755)
at java.desktop/sun.lwawt.macosx.CPrinterJob.printLoop(Native Method)
at java.desktop/sun.lwawt.macosx.CPrinterJob.print(CPrinterJob.java:373)
at java.desktop/sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1497)
at PrinterJobCancel.run(PrinterJobCancel.java:53)
DONE PRINTING
Didn't get the expected PrintAbortException
- duplicates
-
JDK-8335231 [macos] Test java/awt/print/PrinterJob/Cancel/PrinterJobCancel.java failed on macOS because the case didn't get the expected PrintAbortException
- Open