Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64922

java.lang.UnsupportedOperationException: NOFOLLOW_LINKS not supported when opening file from workspace or artifacts

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We recently upgraded to Jenkins 2.263.4 (previous version
      2.235.1) ,now we have issue opening files form workspace.
      Below error is logged in logfile

      2021-02-23 10:48:50.237+0000 [id=76] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID 9a8eb3ec-a05c-49cd-b4e1-f0c540d8d668
      java.lang.UnsupportedOperationException: NOFOLLOW_LINKS not supported
      at sun.nio.fs.UnixChannelFactory$Flags.toFlags(UnixChannelFactory.java:105)
      at sun.nio.fs.UnixChannelFactory.newFileChannel(UnixChannelFactory.java:131)
      at sun.nio.fs.UnixChannelFactory.newFileChannel(UnixChannelFactory.java:160)
      at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:224)
      at java.nio.file.Files.newByteChannel(Files.java:372)
      at java.nio.file.Files.newByteChannel(Files.java:418)
      at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:395)
      at java.nio.file.Files.newInputStream(Files.java:163)
      at hudson.FilePath.newInputStreamDenyingSymlinkAsNeeded(FilePath.java:2111)
      at hudson.FilePath.read(FilePath.java:2096)
      at jenkins.util.VirtualFile$FilePathVF.open(VirtualFile.java:1024)

        Attachments

          Activity

            People

            Assignee:
            jthompson Jeff Thompson
            Reporter:
            anjali_waghmare Anjali
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: