IBM Support

IV92361: PRINTEXCEPTION (JAVAX.PRINT.PRINTEXCEPTION) AFTER THE PRINT JOB IS COMPLETE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: javax.print.PrintException: java.io.IOException:
    error=1 running: '/usr/bin/lpr' '-Pinbegb41' '-J Java Printing'
    '-o media=A4' '/tmp/javaprint3964909005796195268'
                    /usr/bin/lpr: No file!?!
            at
    sun.print.UnixPrintJob$PrinterSpooler.run(UnixPrintJob.java:1100
    )
            at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:594)
            at sun.print.UnixPrintJob.print(UnixPrintJob.java:622)
            at TestPrinter2.printExec(TestPrinter2.java:88)
            at TestPrinter2.main(TestPrinter2.java:47)
    Caused by: java.io.IOException: error=1 running: '/usr/bin/lpr'
    '-Pinbegb41' '-J Java Printing' '-o media=A4'
    '/tmp/javaprint3964909005796195268'
                    /usr/bin/lpr: No file!?!
            at
    sun.print.UnixPrintJob$PrinterSpooler.handleProcessFailure(UnixP
    rintJob.java:1071)
            at
    sun.print.UnixPrintJob$PrinterSpooler.run(UnixPrintJob.java:1094
    )
            ... 4 more
    .
    

Local fix

Problem summary

  • The execution of UnixPrintJob was returning prematurely in a
    specific code path which results in the failure.
    

Problem conclusion

  • The JDK has been update to return correctly in all execution
    path of UnixPrintJob.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR4 FP2   (8.0.4.2)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV92361

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-01-17

  • Closed date

    2017-03-10

  • Last modified date

    2017-03-10

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022