Skip to main content
Avan .12
Associate II
March 15, 2023
Solved

NullPointerException in com.st.stm32cube.ide.mcu.toolchain.ui.ToolChainHelper

  • March 15, 2023
  • 4 replies
  • 1506 views

I get the following exception when I try to debug en.fp-sns-allmems1:

!ENTRY org.eclipse.core.jobs 4 2 2023-03-15 11:08:42.955

!MESSAGE An internal error occurred during: "Launching SensorTile".

!STACK 0

java.lang.NullPointerException

at com.st.stm32cube.ide.mcu.toolchain.ui.ToolChainHelper.validateDebugLaunch(ToolChainHelper.java:38)

at com.st.stm32cube.ide.mcu.debug.launch.DSFDelegate.preLaunchCheck(DSFDelegate.java:100)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:767)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:716)

at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1021)

at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1224)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

This topic has been closed for replies.
Best answer by Avan .12

Please ignore this question : i think it has something to do with me incorrectly connection the ST Link to the sensortile. ​

4 replies

Avan .12
Avan .12Author
Associate II
March 15, 2023

!SESSION 2023-03-15 11:04:31.296 -----------------------------------------------

eclipse.buildId=Version 1.12.0

java.version=11.0.17

java.vendor=Eclipse Adoptium

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=nl_NL

Command-line arguments: -os win32 -ws win32 -arch x86_64

Semer CHERNI
ST Employee
March 16, 2023

Hello @Avan .12​ 

First let me thank you for posting.

I wonder if this behavior occur when debugging all your projects or just a specific one?

Could you import the project you are debugging into an other clean workspace and tell if the issue keep exiting?

BR,

Semer.

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.
Avan .12
Avan .12Author
Associate II
March 16, 2023

1) I updated stm32cubeide to latest 1.12 version

2) created a newIt clean workspace and

3) imported : https://www.st.com/en/embedded-software/fp-sns-allmems1.html

4) i am able to compile it successfully

5) when I hit debug button in stm32cubeide I get this exception immediately

project for sensor tile : https://www.st.com/en/evaluation-tools/steval-stlcs02v1.html

Cheers

Avan .12
Avan .12AuthorBest answer
Associate II
April 8, 2023

Please ignore this question : i think it has something to do with me incorrectly connection the ST Link to the sensortile. ​