org.apache.commons.vfs.FileSystemException: Could not read from "file:///X:/EclipseWorkspace/Project/Project/src/main/com/company/product/Klass.java" because it is a not a file.

  1. 0

    company-emacs-eclim uses wrong path for project

    Stack Overflow | 3 months ago | Fredrik Håård
    org.apache.commons.vfs.FileSystemException: Could not read from "file:///X:/EclipseWorkspace/Project/Project/src/main/com/company/product/Klass.java" because it is a not a file.
  2. 0

    org.apache.commons.vfs.FileSystemException: Could not read from url

    Stack Overflow | 2 years ago | Lucky
    org.apache.commons.vfs.FileSystemException: Could not read from "<Some_URL>" because it is a not a file.
  3. 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
  6. 0

    [VFS-200] [SFTP] Failure when files are very large - ASF JIRA

    apache.org | 1 year ago
    org.apache.commons.vfs.FileSystemException: Could not read file "sftp:// @ /returned/ccp_allusers.20080219010439.01.noe.clean_C_.txt".

    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.vfs.FileSystemException

      Could not read from "file:///X:/EclipseWorkspace/Project/Project/src/main/com/company/product/Klass.java" because it is a not a file.

      at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream()
    2. Commons VFS
      DefaultFileContent.getInputStream
      1. org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1109)
      2. org.apache.commons.vfs.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:317)
      2 frames
    3. org.eclim.util
      FileUtils.byteOffsetToCharOffset
      1. org.eclim.util.file.FileUtils.byteOffsetToCharOffset(FileUtils.java:75)
      1 frame
    4. org.eclim.plugin
      AbstractCodeCompleteCommand.execute
      1. org.eclim.plugin.core.command.AbstractCommand.getOffset(AbstractCommand.java:99)
      2. org.eclim.plugin.core.command.AbstractCommand.getOffset(AbstractCommand.java:71)
      3. org.eclim.plugin.core.command.complete.AbstractCodeCompleteCommand.execute(AbstractCodeCompleteCommand.java:60)
      3 frames
    5. org.eclim.command
      Main$1.run
      1. org.eclim.command.Main$1.run(Main.java:100)
      1 frame
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4203)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3819)
      4 frames
    7. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      1 frame
    8. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    9. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      1 frame
    10. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      1 frame
    11. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
      1 frame
    12. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    13. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
      1 frame
    14. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      1 frame
    15. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      1 frame
    16. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    17. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      4 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    19. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      3 frames