xadisk
  1. xadisk
  2. XADISK-118

NullPonterExcepton when listing file

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.2.2
    • Component/s: filesystem
    • Labels:
      None
    • Environment:

      Windows 7 64bit
      JDK 1.6.0_29

      Description

      Invoking method XADiskBasicIOOperations.listFiles causes NPE when passed file is actually a file and not a directory:

      at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
      at java.util.Arrays.asList(Arrays.java:3343)
      at org.xadisk.filesystem.virtual.VirtualViewDirectory.listFilesAndDirectories(VirtualViewDirectory.java:186)
      at org.xadisk.filesystem.virtual.TransactionVirtualView.listFiles(TransactionVirtualView.java:127)
      at org.xadisk.filesystem.NativeSession.listFiles(NativeSession.java:483)

        Activity

        Hide
        Nitin Verma added a comment -

        Checked-in the changes to trunk.

        Show
        Nitin Verma added a comment - Checked-in the changes to trunk.

          People

          • Assignee:
            Nitin Verma
            Reporter:
            titmus
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: