Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using classes from external jar packages, automatic completion will report no file system provider found error. #3795

Open
2 of 3 tasks
CloudSen opened this issue Jan 21, 2025 · 3 comments
Assignees
Labels
area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior priority:medium Indicates medium priority

Comments

@CloudSen
Copy link

Before submitting your bug report

Relevant environment info

- OS: MacOS 15.2 (24C101)
- Continue version: 0.9.253
- IDE version: VSCODE 1.96.4
- Model: deepseek-coder-V2 and deepseek-chat-V3
- config.json:
  
{
  "completionOptions": {
    "BaseCompletionOptions": {
      "temperature": 0.0,
      "maxTokens": 4096
    }
  },
  "models": [
    {
      "title": "DeepSeek",
      "model": "deepseek-chat",
      "contextLength": 128000,
      "apiKey": "sk-xxx",
      "provider": "deepseek",
      "apiBase": "https://api.deepseek.com/beta"
    }
  ],
  "tabAutocompleteModel": {
    "title": "DeepSeek",
    "model": "deepseek-coder",
    "apiKey": "sk-xxx",
    "provider": "deepseek",
    "apiBase": "https://api.deepseek.com/beta"
  },
  "tabAutocompleteOptions": {
    "debounceDelay": 200,
    "multilineCompletions": "always"
  },
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ]
}

Description

When I write a java program, this warning often pops up:

ENOPRO: No file system provider found for resource 'jdt://contents/rt.jar/java.lang/Long.class?%3Dapp-datakits-open-gateway-spi-abs%2F%5C%2FUsers%5C%2Fclouds3n%5C%2F.sdkman%5C%2Fcandidates%5C%2Fjava%5C%2F8.0.402-zulu%5C%2Fzulu-8.jdk%5C%2FContents%5C%2FHome%5C%2Fjre%5C%2Flib%5C%2Frt.jar%3D%2Fjavadoc_location%3D%2Fhttps%3A%5C%2F%5C%2Fdocs.oracle.com%5C%2Fjavase%5C%2F8%5C%2Fdocs%5C%2Fapi%5C%2F%3D%2F%3D%2Fmaven.pomderived%3D%2Ftrue%3D%2F%3Cjava.lang%28Long.class'

Now I have no idea why this is happening or how to troubleshoot.
I guess that the class I use may come from the external jar package introduced by mavn, and then there is a problem with the automatic completion.

To reproduce

No response

Log output

console.ts:137 [Extension Host] stack trace: Error: ENOENT: no such file or directory, lstat '/Users/clouds3n/Coding/cisdi/java/datakits/app-datakits-open-gateway/app-datakits-open-gateway-spi/app-datakits-open-gateway-spi-abs/src/main/java/cn/cisdigital/datakits/gateway/open/spi/abs/common/authentication/strategy/CryptoAuthenticationStrategy.java.git'
EYi @ console.ts:137
log.ts:445   ERR ENOENT: no such file or directory, lstat '/Users/clouds3n/Coding/cisdi/java/datakits/app-datakits-open-gateway/app-datakits-open-gateway-spi/app-datakits-open-gateway-spi-abs/src/main/java/cn/cisdigital/datakits/gateway/open/spi/abs/common/authentication/strategy/CryptoAuthenticationStrategy.java.git': Error: ENOENT: no such file or directory, lstat '/Users/clouds3n/Coding/cisdi/java/datakits/app-datakits-open-gateway/app-datakits-open-gateway-spi/app-datakits-open-gateway-spi-abs/src/main/java/cn/cisdigital/datakits/gateway/open/spi/abs/common/authentication/strategy/CryptoAuthenticationStrategy.java.git'
@dosubot dosubot bot added area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior labels Jan 21, 2025
@ansjcy
Copy link

ansjcy commented Feb 15, 2025

+1 on this. I encountered the same issue when I was playing with LM studio + deepseek-coder-v2-lite-instruct-mlx model. Here's the config I'm using

  "tabAutocompleteModel": {
      "title": "Local",
      "provider": "lmstudio",
      "model": "deepseek-coder-v2-lite-instruct-mlx",
      "apiKey": "placeholder"
  },

I have no way verifying if it affects the autocomplete functionalities - seems no impact? But would appreciate some verification.

Any plans fixing this if impact exists?

@tomasz-stefaniak tomasz-stefaniak added priority:medium Indicates medium priority and removed needs-triage labels Feb 27, 2025
@cmuller27
Copy link

+1, i encounter it too. Autocomplete stops working after this error until I restart VSCode.

Unable to resolve filesystem provider with relative file path 'jar:file:/home/user/.m2/repository/org/springframework/spring-web/6.2.3/spring-web-6.2.3-sources.jar!/org/springframework/web/multipart/MultipartFile.java

  • OS: Fedora Linux 41
  • Continue version: 1.0.4
  • IDE version: VSCode 1.98.0
  • Model: qwen2.5-coder:14b on local Ollama
  • config.json:
{
  "models": [
    {
      "title": "Ollama 127.0.0.1 Qwen2.5 Coder 14B",
      "model": "qwen2.5-coder:14b",
      "provider": "ollama",
      "apiBase": "http://127.0.0.1:11434/"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Tab Autocomplete Model",
    "model": "qwen2.5-coder:14b",
    "provider": "ollama",
    "apiBase": "http://127.0.0.1:11434/"
  },
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ],
  "data": []
}

@YashAkYT
Copy link

+1 me too

ENOPRO: No file system provider found for resource 'jdt://contents/java.base/java.lang/String.class?%3DPrac3_897bfb4c%2FC%3A%5C%2FProgram%20Files%5C%2FJava%5C%2Fjdk-21%5C%2Flib%5C%2Fjrt-fs.jar%60java.base%3D%2Fjavadoc_location%3D%2Fhttps%3A%5C%2F%5C%2Fdocs.oracle.com%5C%2Fen%5C%2Fjava%5C%2Fjavase%5C%2F21%5C%2Fdocs%5C%2Fapi%5C%2F%3D%2F%3Cjava.lang%28String.class'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior priority:medium Indicates medium priority
Projects
None yet
Development

No branches or pull requests

5 participants