Giter VIP home page Giter VIP logo

Comments (5)

peternhale avatar peternhale commented on August 19, 2024 2

@brandbarr Try these steps:

  • exit vscode
  • In a terminal navigate to the project's root dir
  • run rm -fr .sfdx/tools/246
  • start vsocde

from salesforcedx-vscode.

brandbarr avatar brandbarr commented on August 19, 2024

@peternhale Thanks for the suggestion. This worked to clear the error but it keeps happening and still getting orphaned apex language server processes because of it.

Screenshot from this morning.
Screenshot 2023-12-11 at 11 43 54 AM

from salesforcedx-vscode.

peternhale avatar peternhale commented on August 19, 2024

@brandbarr sorry this keeps happening. Are you terminating the processes using the UI in vscode when the orphans are detected?

from salesforcedx-vscode.

brandbarr avatar brandbarr commented on August 19, 2024

@brandbarr sorry this keeps happening. Are you terminating the processes using the UI in vscode when the orphans are detected?

Yep. Had 6 orphans this morning when I started vscode but the database was not corrupted which was new. Not sure the corruption is tied to the orphans or if there are two distinct issues here. I killed the 6 through the vscode interface and restarted vscode and it seems to be working OK at the moment.

from salesforcedx-vscode.

peternhale avatar peternhale commented on August 19, 2024

@brandbarr One of the issues we thought we solved is making sure the language server has an opportunity to shutdown gracefully when either vscode is exited normally or when the workspace is closed.

Simple experiment, if you don't mind, shutdown vscode and restart. Do you get the message regarding orphaned processes?

from salesforcedx-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.