IBM Support

IV91410: JAVA.IO.IOEXCEPTION FROM JAVA.IO.FILE.GETCANONICALPATH()

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: java.io.IOException: An unexpected network error
    occurred.
    at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:426
    at java.io.File.getCanonicalPath(File.java:630)
    .
    

Local fix

Problem summary

  • From Microsoft documentation, FindFirstFile() call to access the
    subfolder of a shared folder without sufficient acceess rights,
    on Windows Server 2012, can return errors like
    'ERROR_UNEXP_NET_ERR' and 'ERROR_INVALID_PARAMETER' instead of
    'ERROR_ACCESS_DENIED' and those error codes has to be treated
    like 'ERROR_ACCESS_DENIED'. For details, refer:
    https://support.microsoft.com/en-in/kb/2990989
    

Problem conclusion

  • JDK is updated to treat the errors 'ERROR_UNEXP_NET_ERR' and
    'ERROR_INVALID_PARAMETER' same as 'ERROR_ACCESS_DENIED'.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR10 FP1  (7.0.10.1)
       8    SR4 FP1   (8.0.4.1)
       7 R1 SR4 FP1   (7.1.4.1)
    .
    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

    IV91410

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-08

  • Closed date

    2017-02-15

  • Last modified date

    2017-02-15

  • 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

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

Document Information

Modified date:
22 February 2022