Skip to main content
Visitor
June 23, 2026
Question

MxRegistry.getIDE helper is null, and .ELF file can't be found. Previously worked but it's been a while since working on this branch.

  • June 23, 2026
  • 2 replies
  • 41 views

when I try to clean I get this error: 
Errors running builder 'CDT Builder' on project 'SomeProject'.

Cannot invoke "com.st.stm32cube.common.mx.registry.IIdeHelper.getRootProject(org.eclipse.core.resources.IProject)" because the return value of "com.st.stm32cube.common.mx.registry.MxRegistry.getIdeHelper()" is null

When I try to program (by pressing Core), I get an error about the ELF missing:


Program file does not exist …. SomeProject.elf not found

Yet, in Run configurations, 
“Project: “ and “C/C++ Application:” are correctly set (AFAIK). 

I don’t understand how to re-set this up. It was set up prior to me, so I’m at a loss right now. Am I supposed to set build configurations before handling the run config, or something? I look at build config and it shows basically the same info… so I’m just confused ATP. 

Also I know for sure this code works, or did at one point, and haven’t encountered these issues. It’s been a long time since switching to this branch. 

I tried resetting the program, selecting the project (as shown in the photo), and even regenerating the code via CubeMX. No change or fix! 

2 replies

hlinhweAuthor
Visitor
June 23, 2026

I solved the issue. But if anyone has any information to share, please do- I am learning. 

hlinhweAuthor
Visitor
June 23, 2026

nvm, it came back after switching branches….