Skip to content

Can not apply, insert code at cursor or "copy" from ChatWindow in IntelliJ #2952

Closed as not planned

Description

@florian-hansen-mw

Before submitting your bug report

Relevant environment info

- OS: MacOS
- Continue version: 0.0.81
- IDE version: 2024.3 Ultimate
- Model: GPT-4o
- config.json:
%

Description

When I have successfully prompted the model in the chat window in IntelliJ, I can not insert the code at cursor. I receive this error

I get a balloon error: Error handling message of type insertAtCursor: java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String

hitting "apply" yields

Error handling message of type applyToFile: java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String

hitting "copy" does not copy the code

To reproduce

  1. Prompt the LLM in the Chat Window
  2. Hit "Insert at Cursor" in the code suggestion

Log output

Error handling message of type applyToFile: java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String

Activity

  1. added
    area:chat
    ide:jetbrains
    kind:bug
    priority:medium
    on Nov 15, 2024
  2. Patrick-Erichsen commented on Nov 15, 2024

    @Patrick-Erichsen
    Contributor

    @florian-hansen-mw we're recommending folks downgrade to 0.0.75 at the moment. Please see this main issue for details: #2956

  3. github-actions commented on Mar 3, 2025

    @github-actions
    Contributor

    This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

  4. github-actions commented on Mar 14, 2025

    @github-actions
    Contributor

    This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

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

Metadata

Metadata

Labels

area:chatide:jetbrainskind:bugpriority:mediumstale

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions