Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8229393

Bug when print from macos

XMLWordPrintable

    • x86
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      jdk8, jdk12, jdk14

      IMPORTANT: On macos with jdk8 or jdk12 it works

      A DESCRIPTION OF THE PROBLEM :
      When i try print from java or javafx on JDK 8, JDK 12 or JDK 14 i got the same error:

      2019-08-09 22:59:20.914 java[49747:4453762] Cocoa AWT: Running on AppKit thread 0 when not expected. (
      0 libawt_lwawt.dylib 0x00000001398340fc nsPrintInfoToJavaPageFormat + 49
      1 libawt_lwawt.dylib 0x0000000139833f46 Java_sun_lwawt_macosx_CPrinterJob_getDefaultPage + 49
      2 ??? 0x0000000119fc3c90 0x0 + 4730928272
      )
      2019-08-09 22:59:20.914 java[49747:4453762] Please file a bug report at http://bugreport.java.com/bugreport with this message and a reproducible test case.


      IMPORTANT: On macos with jdk8 or jdk12 it works

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      I made an example to test:

      https://github.com/prsolucoes/jrprintpreview

      Run:
      mvn clean
      mvn compile
      mvn javafx:run

      In the application click on "print" or click on print from preview

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Print the report to printer.

      IMPORTANT: On macos with jdk8 or jdk12 it works

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: