microsoft / microsoft/copilot-for-eclipse
[Bug] database is locked during Eclipse startup
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 126
- Forks
- 60
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 5
Description
Environment
- OS: Windows 10
- Eclipse Version: 2026-03
- Plugin Version: GitHub Copilot 0.18.0.202605200009
Describe the bug
Error message occurs during every Eclipse startup in its logs
!ENTRY org.eclipse.lsp4e 4 0 2026-06-08 12:11:51.143
!MESSAGE [LS:GitHub Copilot Language Server][Error] [default] unhandledRejection: Error: database is locked
at new PersistentTfIdf (C:\snapshot\cls-source\dist\tfidfWorker.js:41:2679)
at new TfidfWorker (C:\snapshot\cls-source\dist\tfidfWorker.js:95:2551)
at main (C:\snapshot\cls-source\dist\tfidfWorker.js:95:4444)
at Object. (C:\snapshot\cls-source\dist\tfidfWorker.js:95:4481)
at Module. (node:internal/modules/cjs/loader:1709:14)
at Module._compile (pkg/prelude/bootstrap.js:1832:32)
at Object..js (node:internal/modules/cjs/loader:1842:10)
at Module.load (node:internal/modules/cjs/loader:1445:32)
at Function._load (node:internal/modules/cjs/loader:1267:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
code: 'ERR_SQLITE_ERROR',
errcode: 5,
errstr: 'database is locked'
}
To Reproduce
Steps to reproduce the behavior:
- Start Eclipse
- Check logs
- See error
Expected behavior
No errors expected during Eclipse boot.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by starting Eclipse on Windows 10 and inspect the startup logs. The reported entry point is dist/tfidfWorker.js, involving PersistentTfIdf and TfidfWorker with SQLite error code 5; done means Eclipse starts without the database-locked error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sqlite
- Domain
- database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100