cancel
Showing results for 
Search instead for 
Did you mean: 

GitHub Copilot seems broken (Cube IDE 1.19)

NickO
Associate III

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)
15 REPLIES 15

It's not working for me.

Did you reinstall WMIC ?

Yes. Maybe it's related to problems with Cloudflare right now.

NickO
Associate III

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.

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

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