cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube IDE issue: "Open Declaration" has encounter a problem ?!

SGheo.1
Associate

Hello community!

I have an issue using STM32Cube IDE.

For some reason today, "ctrl + click" on functions doesn't work anymore, I receive the following error:

An internal error occurred during: "Open Declaration".

java.lang.NullPointerException

I have upgraded the STM32Cube IDE to 1.6.0 with no avail.

Does anyone know what might be the issue?0693W000008woiGQAQ.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Markus GIRDLAND
ST Employee

Update:

I received the workspace log and these steps seems to work if anyone is facing the same problem:

  1. Close STM32CubeIDE, it can not be left open during this process.
  2. Navigate to your workspace and go to: .metadata\.plugins\org.eclipse.cdt.core
  3. Delete all the .pdom files in that directory

View solution in original post

2 REPLIES 2
Markus GIRDLAND
ST Employee

Hello SGheo!

Is this for every project or a specific one only?

Can you send me the workspace log located at $workspace/.metadata/log ?

You can pm it to me so I can take a look!

Markus GIRDLAND
ST Employee

Update:

I received the workspace log and these steps seems to work if anyone is facing the same problem:

  1. Close STM32CubeIDE, it can not be left open during this process.
  2. Navigate to your workspace and go to: .metadata\.plugins\org.eclipse.cdt.core
  3. Delete all the .pdom files in that directory