Skip to main content
SGheo.1
Visitor II
March 13, 2021
Solved

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

  • March 13, 2021
  • 2 replies
  • 4517 views

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

This topic has been closed for replies.
Best answer by Markus GIRDLAND

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

2 replies

Markus GIRDLAND
ST Employee
March 15, 2021

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
Markus GIRDLANDBest answer
ST Employee
March 16, 2021

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