Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-34

[vfs] NullPointerException in DefaultFileContent.getLastModifiedTime()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • None
    • None
    • Operating System: Linux
      Platform: PC

    • 38105

    Description

      I'm testing the VFS based JCommander on Linux right now and I came across a
      strange exception. It's a NullPointerException in DefaultFileContent in
      getLastModifiedTime() method (line 157). Basically getType() returns null for
      the file (org.apache.commons.vfs.provider.local.LocalFile)
      file:///home/robert/.gnome-system-monitor.robert

      My user has rwx right on the file and it is a Unix socket file (see "man 7 unix"
      for more details on this).

      I'm using VFS 1.0 RC7 and I'm running j2sdk 1.4.2_08 on Ubuntu Linux
      2.6.12-9-686 (Breezy).

      Attachments

        Activity

          People

            Unassigned Unassigned
            renyedi@yahoo.com Robert Enyedi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: