Skip to main content
Cash
Associate II
Aug 15, 2019 8:29 AM UTC
Solved

Cannot build X-CUBE-SPN2 in CubeIDE

Hi All,  

I am trying to import the X-CUBE-SPN2 in CubeIDE, I have followed all the correct steps and am importing the project through the filesystem. However, when I try to build the project I constantly keep getting an error stating that:

An internal error occurred during:

"Build Project".java.lang.NullPointerException.

Please find the attached

This topic has been closed for replies.
mattias norlander
ST Technical Moderator
Aug 15, 2019 1:45 PM UTC

The .cproject files in this x-cube package for SW4STM32 seem to be corrupt. SW4STM32 apparently still is able to read it. But CubeIDE cannot. Has been bug reporter to SPN2 team.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.

2 replies

mattias norlander
ST Technical Moderator
Aug 15, 2019 1:45 PM UTC

The .cproject files in this x-cube package for SW4STM32 seem to be corrupt. SW4STM32 apparently still is able to read it. But CubeIDE cannot. Has been bug reporter to SPN2 team.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Associate II
Jan 18, 2025 6:10 AM UTC

Has this issue been solved yet?