Skip to main content
VRami.1
Associate III
December 17, 2020
Solved

Error unknown nature on STM32Cube IDE after update

  • December 17, 2020
  • 17 replies
  • 13332 views

Hi all, how are you?. I'm making a project with an STM32F401VE and I've updated the IDE, after that there are about ten dependencies that says something related to inknown dependencies and the .ioc project doesn't opens. I read some over there and some other people had the same problem after the STM32Cube IDE was updated, currently for me is showing this problem with the version Version: 1.5.1, Build: 9029_20201210_1234 (UTC).

I tried also to import the project or creating a new project but the behavior is the same. How could this problem be solved?

In the meantime I will simply reinstall the IDE

This topic has been closed for replies.
Best answer by Julien D

The problem here is about the JRE version.

STM32CubeIDE embeds Java8 while, because of a 3rd-party installation (eGit, etc...), an indirect core dependency is updated and depends on Java11.

How to solve it

Notice: STM32CubeIDE has not been entirely validated on Java11, I strongly suggest to keep a backup of the jre folder.

  1. Download Java11 from AdoptOpenJDK, binary archive not installer (https://adoptopenjdk.net/archive.html?variant=openjdk11&jvmVariant=hotspot)
  2. Go to STM32CubeIDE root directory and rename jre/ to jre.backup/
  3. Unpack Java11 archive and rename it to jre/
  4. (good practice: report any troubles you could face with Java11 on ST Community, but clearly state that the JRE version is not the default)

17 replies

Ons KOOLI
Associate
December 17, 2020

Hi VRami.1,

Can you please screenshot the errors?

Best Regards,

Ons.

VRami.1
VRami.1Author
Associate III
December 17, 2020

Well Ons, I forgot to take a screenshot and I've reinstalled the IDE, but the first references That I found on the web about the problem are

https://stackoverflow.com/questions/53287813/unknown-referenced-nature-org-springframework-ide-eclipse-core-springnature

and

https://www.openstm32.org/forumthread6094

the only picture that I can send right now is the one showing that my .ioc file was made in a CubeMX version newer that the one currently installed so until I can update the Cube IDe I can't easily modify the configuration of my project.

here is the picture

0693W000006GCzbQAG.pngmay be with the version of the STM32CubeMX you can track the update that is related to the problem but right now I don't have screenshots of the problem.

Johnny1
Graduate II
December 18, 2020

I have the same Problem. After installing the 1.5.1 update, this problem occurs and it's not possible to Build a project anymore.

0693W000006GFpZQAW.png

Ons KOOLI
Associate
December 18, 2020

Hi VRami.1,

What Operation System you are working with ? is it Windows?

Best Regards,

Ons.

VRami.1
VRami.1Author
Associate III
December 18, 2020

Hi, windows 10 Pro 64 bits, and it's what @Johnny​ says, the problem is with the IDE update version 1.5.1 and the screenshots attached by him shows the same notifications that I saw

EJOHA
Associate
December 18, 2020

Hi VRami.1 and johnny

I am sorry to hear about your upgrade problems. It looks like the upgrade was failed by some reason. 

From which version of STM32CubeIDE did you made the upgrade from, did you upgrade it from version 1.5.0 or some older version?

For investigations we would like to get the workspace log file. It will be good to have the ".log" file both from the workspace used when doing the upgrade and current workspace log file. Also the ".ide.log" is of interest. 

These log files are available in the Workspace/.metadata folder.

I have updated the topic field for this forum post to make it visible for STM32CubeIDE and STM32CubeMX.

VRami.1
VRami.1Author
Associate III
December 19, 2020

Hi @EJOHA​ , how are you? I tried the installation and update againg and it happen again, in my case was updating from version 1.5.0 to version 1.5.1, the only .log file that I can send you is the currrent one on the version 1.5.1 (attached).

EJOHA
Associate
December 19, 2020

Hi VRami.1, Thank you for sending the log file and reporting the problem. I will ask our developers to look into it. Currently there is no full installer available for version 1.5.1 so if the update does not work you will have to use v1.5.0 until the problem can be solved. I hope you can continue your work with the older version of STM32CubeIDE.

Reinhard Panhuber
Associate
December 20, 2020

Hi, same problem happended here; windows 10 Pro 64 bits.

I updated from 1.4 and now after updating to 1.5.1 even my build button is grayed out!

EJOHA
Associate
December 21, 2020

Hi Reinhard,

Please try to install the full version of 1.5.0 first and then upgrade to 1.5.1. Let me know how it works.

EJOHA
Associate
December 21, 2020

It was mentioned in this post that the problem could have been caused by having installed the "dark theme" plugin.

Please let me know also if you have installed the "dark theme" plugin.

MLE S.1
Associate II
December 21, 2020

Same issue after an update from 1.5 to 1.5.1 ... How can i return to 1.5.0 because now i can't build a project !!!

MLE S.1
Associate II
December 21, 2020

Also have installed "dark theme"

Cartu38 OpenDev
Graduate II
December 21, 2020

Just curious. Which dark theme contribution are you relying on. So many available:

0693W000006GRkWQAW.jpg

MLE S.1
Associate II
December 21, 2020

For me the first in your list

KSzcz.2
Associate
December 21, 2020

I confirm the same problem. In my case: Windows 10, upgrade from v1.5.0, project imported from file system, no "dark theme" (Enable theming - off)

BTW Is it possible to withdraw the broken version from the update center to avoid frustration of unaware of problem users?

Cartu38 OpenDev
Graduate II
December 21, 2020

Eclipse common way to revert update is to rely on About dialog (Help > About) .

Press Installation details button then move to Installation history tab. From here you should be able to revert an update if your tool is not fully corrupted.

KSzcz.2
Associate
December 21, 2020

Before your hint came, I used the force method. I deleted the folder with the STM32CudeIDE installation (well, I lost the link to the uninstaller) and the new one installed (v1.5.0), then the update to v1.5.1. And now it works!