[Bug]

Open Beginner friendly
#451 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
desktop, devtools

Research direction

Start in CopilotModelService.java at restoreModelName (line 293), reached from the job at line 88. Reproduce the “Fetching model list...” operation with a null defaultModel and inspect the surrounding model-restoration flow. Done means the operation no longer throws this NullPointerException when no default model is available.

Written by the indexing model from the issue text.

Description

bug

This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

!ENTRY com.microsoft.copilot.eclipse 1 0 2026-09-18 18:17:13.118
!MESSAGE [Info] Starting language server with binary lsp agent.

!ENTRY com.microsoft.copilot.eclipse 1 0 2026-09-18 18:17:13.139
!MESSAGE [Info] Lsp agent started successfully.

!ENTRY com.microsoft.copilot.eclipse 1 0 2026-09-18 18:17:13.490
!MESSAGE [Info] No proxy data found

!ENTRY org.eclipse.lsp4e 1 0 2026-09-18 18:17:15.088
!MESSAGE [Info] [lsp] GitHub Copilot Language Server 1.290.0 initialized

!ENTRY org.eclipse.ui 2 2 2026-09-18 18:17:33.749
!MESSAGE Invalid preference category path: org.eclipse.pde.ui.MainPreferencePage (bundle: org.jboss.tools.pde.sourcelookup.ui, page: org.jboss.tools.pde.sourcelookup.ui.preferences.PluginSourceLookupPreferencePage)

!ENTRY org.eclipse.lsp4e 1 0 2026-09-18 18:17:52.894
!MESSAGE [Info] [certificates] Removed 16 expired certificates

!ENTRY org.eclipse.core.jobs 4 2 2026-09-18 18:18:51.830
!MESSAGE An internal error occurred during: "Fetching model list...".
!STACK 0
java.lang.NullPointerException: Cannot invoke "com.microsoft.copilot.eclipse.core.lsp.protocol.CopilotModel.getModelName()" because "this.defaultModel" is null
at com.microsoft.copilot.eclipse.ui.chat.services.CopilotModelService.restoreModelName(CopilotModelService.java:293)
at com.microsoft.copilot.eclipse.ui.chat.services.CopilotModelService$1.run(CopilotModelService.java:88)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Dominant language
Java
Stars
126
Forks
60
Avg merge
2d 6h
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/copilot-for-eclipse

All issues in microsoft/copilot-for-eclipse

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.