Skip to main content
DaveP
Associate
February 16, 2023
Solved

An internal error occurred during: "Launching Src". java.lang.NullPointerException

  • February 16, 2023
  • 2 replies
  • 3691 views

This is using STMCube and an STM32F4-discovery with an STM32f429I

This topic has been closed for replies.
Best answer by Semer CHERNI

Hi @Community member​ 

It seems that something have corrupt the original workspace.

Concerning the tutorials, I don't know which one you are referring to; but I advice you to give a look to this series.

Best regards,

Semer.

2 replies

Semer CHERNI
ST Employee
February 20, 2023

Hello @Community member​ 

First let me thank you for posting and welcome you to the community.

Could you provide more detail about mentioned error:

  • Which tool version you are using
  • The steps you made to get to this error
  • The .log file you can find under the workspace in the .metadata folder
  • Maybe try to import your project to a new workspace

Kind regards,

Semer.

DaveP
DavePAuthor
Associate
February 20, 2023
Hi Semer,
Thank you for your response. I have actually gotten around the problem by removing all older versions of the IDE (1.5.1 and 1.11.0), installing the latest (1.11.2), and using a new workspace. Still not a clue as to why I could not, following the steps in the tutorials to create a workspace: identify the discovery board I am using (stm32f4-discovery) or the chip (stm32f429zi6tu), creating the code template, building a debug image, and trying to run the code resulted in the error message I referenced.
Any insight would be appreciated - I am in the process of learning to use the STM32 devices for a research project.
Best,
Dave
Semer CHERNI
Semer CHERNIBest answer
ST Employee
February 20, 2023

Hi @Community member​ 

It seems that something have corrupt the original workspace.

Concerning the tutorials, I don't know which one you are referring to; but I advice you to give a look to this series.

Best regards,

Semer.

Technical Moderator
February 21, 2023

Hello @Community member​,

Could you please more details about the example you are using? Version of CubeIDE?

It is possible that this is due to a missing dependency or misconfiguration. Try to clean and rebuild the project. If this doesn't help, it could be due to this thread STM32CubeIDE - In-tool update issue! (Solved in 1.11.2)

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.Best regards,FBL
DaveP
DavePAuthor
Associate
February 22, 2023

I did do a clean and rebuild to no avail. I finally uninstalled the versions I had tried, 1.5 and 1.11, and installed 1.12 and the problem went away.

Thanks for the support,

Dave