Skip to content

Plugin for IDEA generates errors on every key press #3721

Closed

Description

@mak-42

Before submitting your bug report

Relevant environment info

- OS: Windows 10
- Continue version: v0.0.83-jetbrains
- IDE version: IntelliJ IDEA 2024.3
- Model: Qwen 2.5 Coder
- config.json:
  
  "models": [
    {
      "title": "Qwen v2.5 Coder",
      "provider": "ollama",
      "model": "qwen2.5-coder:14b",
      "apiBase": "http://localhost:11434"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Qwen 2.5 Coder",
    "provider": "ollama",
    "model": "qwen2.5-coder:14b",
    "apiBase": "http://localhost:11434"
  },
  "tabAutocompleteOptions": {
    "multilineCompletions": "always",
    "useCache": false
  },
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "edit",
      "description": "Edit selected code"
    },
    {
      "name": "comment",
      "description": "Write comments for the selected code"
    },
    {
      "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"
    }
  ],
  "allowAnonymousTelemetry": false,
  "embeddingsProvider": {
    "provider": "transformers.js"
  },
  "docs": []
}

Description

After updating plugin for IDEA from version 0.0.75 to 0.0.83 it generates new notification like this on every key press in any file editor, which modifies text:

Error handling message of type getDiff: java.io.IOException: Cannot run program "git" (in directory "D:\work\test\branch3\Test Branch3.iml"): CreateProcess error=267, The directory name is invalid

It looks very suspicious, because "Test Branch3.iml" is a IDEA module settings file, which was opened.

It stops generating the warnings after downgrading plugin to version 0.0.75.
I tries to upgrade plugin to version 0.0.85, but the plugin completely hangs IDEA (i thing because of #3709)

To reproduce

No response

Log output

No response

Activity

  1. added
    ide:jetbrains
    kind:bug
    priority:highest
    on Jan 14, 2025
  2. AfterStories commented on Jan 14, 2025

    @AfterStories

    Maybe the same issue
    #3709

  3. that-guy-scott commented on Jan 14, 2025

    @that-guy-scott

    It completely locks up my editor as soon as I type anything. I have to go into task manager and kill the process.

  4. AfterStories commented on Jan 14, 2025

    @AfterStories

    @that-guy-scott I'm the same as you. Intellij is completely crashed

  5. mak-42 commented on Jan 14, 2025

    @mak-42
    Author

    Maybe the same issue #3709

    It might be, but it most likely has a same cause with #3454. The behavior looks familiar, but I don't use WSL for git (use Git for Windows).

  6. tomasz-stefaniak commented on Jan 14, 2025

    @tomasz-stefaniak
    Contributor

    As also described here, we are currently working on a fix and on improving our testing pipeline to not let a bug like this to slip through the cracks again!

  7. Patrick-Erichsen commented on Jan 15, 2025

    @Patrick-Erichsen
    Contributor

    Hi all, #3726 should resolve the issue. A recent change that attempted to resolve a latency issue with autocomplete logic had caused an unintended block on the main Event Dispatch Thread (EDT) in JetBrains.

    We will publish 0.0.86 tonight with this fix, and are spending time this week polishing our CI/CD around JetBrains across Windows, Linux, and macOS as @tomasz-stefaniak outlined 👍

    Improving stability of JB is high on our priority list going forwards based on this event and other regressions over the past month or two. Appreciate everyone's patience as we move towards that goal!

  8. Kleisli commented on Jan 16, 2025

    @Kleisli

    @Patrick-Erichsen when do you plan to release a new stable version on the jetbrains marketplace?

  9. Patrick-Erichsen commented on Jan 20, 2025

    @Patrick-Erichsen
    Contributor

    @Kleisli apologies for the delay here, we had some other critical bugs pop up that prevented us from releasing 0.0.86, but we are planning to do so this evening. That will stay in EAP for the week to harden, and we will plan to release 0.0.87 as a stable release on Friday.

  10. mak-42 commented on Feb 17, 2025

    @mak-42
    Author

    It seem it was a problem of my workspace. It gone when I fixed it (other plugins did not suffer from it).
    I close the issue.

  11. abyssss52 commented on Feb 18, 2025

    @abyssss52

    It seem it was a problem of my workspace. It gone when I fixed it (other plugins did not suffer from it). I close the issue.

    I am encountering this issue even after updating to the latest version. How did you resolve it?

  12. mak-42 commented on Feb 18, 2025

    @mak-42
    Author

    I am encountering this issue even after updating to the latest version. How did you resolve it?

    I recreated IDEA workspace from scratch.

  13. abyssss52 commented on Feb 18, 2025

    @abyssss52

    I am encountering this issue even after updating to the latest version. How did you resolve it?

    I recreated IDEA workspace from scratch.

    Thank you for your reply. @mak-42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ide:jetbrainskind:bugpriority:highest

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions