Skip to main content
NickO
Associate III
November 17, 2025
Solved

GitHub Copilot seems broken (Cube IDE 1.19)

  • November 17, 2025
  • 2 replies
  • 639 views

Running ST Cube IDE 1.19 on Windows 11, co-pilot autocompletions seem to be causing an issue. I see the suggestion, then a dialog pops up saying the following:

An internal error occurred during: "Generating completion...".

Invalid thread access

I look at the error log as I see the following:

Failed to parse wmic output

Exception Stack Trace:

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:262)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)
at com.st.stm32cube.ide.mpu.remote.serial.internal.SerialPortProviderWindows.run(SerialPortProviderWindows.java:127)
at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
at java.base/java.util.TimerThread.run(Timer.java:516)
Best answer by Ghofrane GSOURI

Hello @NickO 

Let’s try reinstalling WMIC by following the steps provided in  LINK 

 

2 replies

Ghofrane GSOURI
Technical Moderator
November 17, 2025

Hello @NickO 

I'm currently checking this behavior. I will be back to you asap.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
NickO
NickOAuthor
Associate III
November 17, 2025

I am using Windows 11 Version 10.0.26200 Build 26200

 

Ghofrane GSOURI
Technical Moderator
November 17, 2025

Hello @NickO 

Just to confirm, which version did you use exactly?

GhofraneGSOURI_0-1763391221451.png

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
NickO
NickOAuthor
Associate III
November 18, 2025

Quite possibly (glad it's not just me - I was wondering!). Also, check for an update to the Github Copilot plugin. I had one come in yesterday.

Associate
November 19, 2025

I am also being offered to update the IDE to version 2.0.0. Is it worth doing, or is it still buggy?

NickO
NickOAuthor
Associate III
November 19, 2025

I'd not seen that. I'm going to try on my own PC first. Did you get GHCP working?