redhat-developer / redhat-developer/vscode-java
TypeError: Cannot set properties of undefined (setting 'text')
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
rejected promise not handled within 1 second: TypeError: Cannot set properties of undefined (setting 'text')
extensionHostProcess.js:108
stack trace: TypeError: Cannot set properties of undefined (setting 'text')
at Object.update (c:\Work\Code\vscode-java\src\languageStatusItemFactory.ts:146:12)
at RuntimeStatusBarProvider. (c:\Work\Code\vscode-java\src\runtimeStatusBarProvider.ts:220:33)
at Generator.next ()
at fulfilled (c:\Work\Code\vscode-java\dist\extension.js:100929:58)
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
Start with src/languageStatusItemFactory.ts:146 and trace the update call from src/runtimeStatusBarProvider.ts:220. Reproduce the rejected-promise error in the VS Code Java extension and inspect the surrounding status-bar lifecycle. Done means the reported TypeError no longer occurs in this path and the affected behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- developer-experience, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100