IBM Support

IV25573: NIO.CREATETEMPFILE() FAIL WITH FILE.ENCODING=US.ASCII ON ZOS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: nio.createTempFile() throws NoSuchFileException
    when file.encoding is set to US-ASCII
    .
    Stack Trace: java.nio.file.NoSuchFileException:
    /tmp/imageio2792457201094418643.tmp
            at
    sun.nio.fs.UnixException.translateToIOException(UnixException.ja
    va:89)
            at
    sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java
    :108)
            at
    sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java
    :113)
            at
    sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemP
    rovider.java:217)
            at java.nio.file.Files.newByteChannel(Files.java:317)
            at java.nio.file.Files.createFile(Files.java:583)
            at
    java.nio.file.TempFileHelper.create(TempFileHelper.java:140)
            at
    java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:
    163)
            at java.nio.file.Files.createTempFile(Files.java:801)
    .
    

Local fix

Problem summary

  • nio.createTempFile() throws NoSuchFileException when
    file.encoding is set to US-ASCII
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR2
    .
    Fixed issue with zos on 70sr2 release by calling zos wrapper to
    take care of parameter conversion
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV25573

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-01

  • Closed date

    2012-08-01

  • Last modified date

    2012-09-04

  • 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

  • R700 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":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022