IBM Support

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

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

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



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 700

Reference #: IV91410

Modified date: 15 February 2017