org.apache.commons.vfs2.FileSystemException: Invalid descendent file name "one\test.txt".

Pentaho BI Platform Tracking | Paula Clemente | 6 months ago
  1. 0

    When we are editing an ETL Metadata Injection step and we click on the "Browse" button, if we navigate to a location that contains files with the special character " \ " (backslash) or " / " (slash) in its name, the UI doesn't list any files/folders and if we check the command line logs we have a FileSystemException. Eg: Filenames like "one\test.txt", "\test.txt", "one/test.txt" or "/test.txt" break the 'Browse' functionality. \\ Full Stacktrace: {noformat} org.apache.commons.vfs2.FileSystemException: Invalid descendent file name "one\test.txt". at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:887) at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1215) at org.pentaho.vfs.ui.VfsBrowser$11.run(VfsBrowser.java:537) at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source) at org.pentaho.vfs.ui.VfsBrowser.populateFileSystemTree(VfsBrowser.java:616) at org.pentaho.vfs.ui.VfsBrowser$9.treeExpanded(VfsBrowser.java:259) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.TreeItem.sendExpand(Unknown Source) at org.eclipse.swt.widgets.Tree.expandItem_expandChildren(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Unknown Source) at org.eclipse.swt.widgets.Widget.mouseDownSuper(Unknown Source) at org.eclipse.swt.widgets.Tree.mouseDownSuper(Unknown Source) at org.eclipse.swt.widgets.Widget.mouseDown(Unknown Source) at org.eclipse.swt.widgets.Control.mouseDown(Unknown Source) at org.eclipse.swt.widgets.Tree.mouseDown(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Unknown Source) at org.eclipse.swt.widgets.Widget.windowSendEvent(Unknown Source) at org.eclipse.swt.widgets.Shell.windowSendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.applicationProc(Unknown Source) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:516) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:420) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:411) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:404) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:384) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:374) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.selectFileTrans(MetaInjectDialog.java:1007) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.access$400(MetaInjectDialog.java:110) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog$7.widgetSelected(MetaInjectDialog.java:430) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:324) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:125) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8789) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3073) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:756) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1347) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7995) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9275) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:663) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) {noformat} \\ Attached is a recording that shows the issue. \\ Note: this is not a regression as it also happens in 6.1.0.1 GA.

    Pentaho BI Platform Tracking | 6 months ago | Paula Clemente
    org.apache.commons.vfs2.FileSystemException: Invalid descendent file name "one\test.txt".
  2. 0

    When we are editing an ETL Metadata Injection step and we click on the "Browse" button, if we navigate to a location that contains files with the special character " \ " (backslash) or " / " (slash) in its name, the UI doesn't list any files/folders and if we check the command line logs we have a FileSystemException. Eg: Filenames like "one\test.txt", "\test.txt", "one/test.txt" or "/test.txt" break the 'Browse' functionality. \\ Full Stacktrace: {noformat} org.apache.commons.vfs2.FileSystemException: Invalid descendent file name "one\test.txt". at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:887) at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1215) at org.pentaho.vfs.ui.VfsBrowser$11.run(VfsBrowser.java:537) at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source) at org.pentaho.vfs.ui.VfsBrowser.populateFileSystemTree(VfsBrowser.java:616) at org.pentaho.vfs.ui.VfsBrowser$9.treeExpanded(VfsBrowser.java:259) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.TreeItem.sendExpand(Unknown Source) at org.eclipse.swt.widgets.Tree.expandItem_expandChildren(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Unknown Source) at org.eclipse.swt.widgets.Widget.mouseDownSuper(Unknown Source) at org.eclipse.swt.widgets.Tree.mouseDownSuper(Unknown Source) at org.eclipse.swt.widgets.Widget.mouseDown(Unknown Source) at org.eclipse.swt.widgets.Control.mouseDown(Unknown Source) at org.eclipse.swt.widgets.Tree.mouseDown(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Unknown Source) at org.eclipse.swt.widgets.Widget.windowSendEvent(Unknown Source) at org.eclipse.swt.widgets.Shell.windowSendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.applicationProc(Unknown Source) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:516) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:420) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:411) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:404) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:384) at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:374) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.selectFileTrans(MetaInjectDialog.java:1007) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.access$400(MetaInjectDialog.java:110) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog$7.widgetSelected(MetaInjectDialog.java:430) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:324) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:125) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8789) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3073) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:756) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1347) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7995) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9275) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:663) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) {noformat} \\ Attached is a recording that shows the issue. \\ Note: this is not a regression as it also happens in 6.1.0.1 GA.

    Pentaho BI Platform Tracking | 6 months ago | Paula Clemente
    org.apache.commons.vfs2.FileSystemException: Invalid descendent file name "one\test.txt".
  3. 0

    Error - Invalid descendent file name by using SFTP

    YouTrack | 3 years ago
    org.apache.commons.vfs2.FileSystemException: Invalid descendent file name "eprasys-integration\log\".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SMB Test is failing on Travis CI

    GitHub | 10 months ago | ysb33r
    org.apache.commons.vfs2.FileSystemException: Could not determine the type of file "foo://GROOVYVFS\jlan:***@127.0.0.1:1445/READROOT/test-files".

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.commons.vfs2.FileSystemException

      Invalid descendent file name "one\test.txt".

      at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName()
    2. Commons VFS Core
      AbstractFileObject.getChildren
      1. org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:887)
      2. org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1215)
      2 frames
    3. org.pentaho.vfs
      VfsBrowser$11.run
      1. org.pentaho.vfs.ui.VfsBrowser$11.run(VfsBrowser.java:537)
      1 frame
    4. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
      1 frame
    5. org.pentaho.vfs
      VfsBrowser$9.treeExpanded
      1. org.pentaho.vfs.ui.VfsBrowser.populateFileSystemTree(VfsBrowser.java:616)
      2. org.pentaho.vfs.ui.VfsBrowser$9.treeExpanded(VfsBrowser.java:259)
      2 frames
    6. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      7. org.eclipse.swt.widgets.TreeItem.sendExpand(Unknown Source)
      8. org.eclipse.swt.widgets.Tree.expandItem_expandChildren(Unknown Source)
      9. org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
      9 frames
    7. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    8. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.callSuper(Unknown Source)
      2. org.eclipse.swt.widgets.Widget.mouseDownSuper(Unknown Source)
      3. org.eclipse.swt.widgets.Tree.mouseDownSuper(Unknown Source)
      4. org.eclipse.swt.widgets.Widget.mouseDown(Unknown Source)
      5. org.eclipse.swt.widgets.Control.mouseDown(Unknown Source)
      6. org.eclipse.swt.widgets.Tree.mouseDown(Unknown Source)
      7. org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
      7 frames
    9. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    10. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.callSuper(Unknown Source)
      2. org.eclipse.swt.widgets.Widget.windowSendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Shell.windowSendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
      4 frames
    11. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    12. RWT
      Display.applicationProc
      1. org.eclipse.swt.widgets.Display.applicationSendEvent(Unknown Source)
      2. org.eclipse.swt.widgets.Display.applicationProc(Unknown Source)
      2 frames
    13. org.eclipse.swt
      NSApplication.sendEvent
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(Unknown Source)
      2 frames
    14. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      1 frame
    15. org.pentaho.vfs
      VfsFileChooserDialog.open
      1. org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:516)
      2. org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:420)
      3. org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:411)
      4. org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:404)
      5. org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:384)
      6. org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:374)
      6 frames
    16. org.pentaho.di
      MetaInjectDialog$7.widgetSelected
      1. org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.selectFileTrans(MetaInjectDialog.java:1007)
      2. org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.access$400(MetaInjectDialog.java:110)
      3. org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog$7.widgetSelected(MetaInjectDialog.java:430)
      3 frames
    17. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      7. org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
      8. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      9. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      9 frames
    18. org.pentaho.di
      TransGraph.mouseDoubleClick
      1. org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:324)
      2. org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:125)
      3. org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8789)
      4. org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3073)
      5. org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:756)
      5 frames
    19. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      7. org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
      8. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      9. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      9 frames
    20. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1347)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7995)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9275)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:663)
      4 frames
    21. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    22. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame