IBM Support

IV77988: WITH FILE ENCODING ISO8859-1 JAVA.NIO.FILE.FILES.WALKFILETREE FAILS WITH NOSUCHFILEEXCEPTION WHILE SCANNING THE FILE TREE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: Scan directory: ./
    Exception in thread "main" java.nio.file.NoSuchFileException:
    ./K
            at
    sun.nio.fs.UnixException.translateToIOException(UnixException.ja
    va:99)
            at
    sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java
    :115)
            at
    sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java
    :120)
            at
    sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileA
    ttributeViews.java:68)
            at
    sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemP
    rovider.java:157)
            at java.nio.file.Files.readAttributes(Files.java:1698)
            at
    java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:117)
            at
    java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:211)
            at
    java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:81)
            at java.nio.file.Files.walkFileTree(Files.java:2614)
            at java.nio.file.Files.walkFileTree(Files.java:2647)
            at Misc2.main(Misc2.java:22)
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • The JDK used the file encoding instead of the system encoding
    for file names. As a result, the file separater character was
    not properly encoded to EBCDIC.
    

Problem conclusion

  • The JDK has been updated to use the proper encoding to recognize
    the filename properly.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR3 FP40  (7.1.3.40)
       7    SR9 FP40  (7.0.9.40)
    
    .
    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

    IV77988

  • 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

    2015-10-13

  • Closed date

    2015-12-31

  • Last modified date

    2015-12-31

  • 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