Skip to main content
ABlak.1
Associate III
December 29, 2022
Solved

Generated .ioc file causes STM32CubeIde to throw an exception when it tries to open it

The attached ioc file causes STM32CubeIde to throw a nullptr excp.

It was generated by doing the following:

Open motor control wb 6.1.0

Follow the wizard to enter a v low inductance/resistance motor.

Select the B-G431B-ESC1 board

Generate the project

STM32CubeMX opens

"Generate Code"

Open STM32CubeIde

It opens and throws a NullPtrExcp

Please could someone at ST fix this defect?

This topic has been closed for replies.
ABlak.1
ABlak.1Best answer
Associate III
December 29, 2022

I downloaded the installer again and reinstalled it - it now works.

2 replies

ABlak.1
ABlak.1Author
Associate III
December 29, 2022

I subsequently discovered this is the fault of the IDE and not specifically the ioc file. The IDE will not open any ioc file and in every case give a NullPtrExcp.

STM32CubeIDE

Version: 1.11.0

Build: 13638_20221122_1308 (UTC)

Windows 10.

ABlak.1
ABlak.1AuthorBest answer
Associate III
December 29, 2022

I downloaded the installer again and reinstalled it - it now works.