Skip to main content
Sebastien1
Associate II
August 21, 2018
Question

STM32CubeMX project open bug : I can't open my project file since the last update.

  • August 21, 2018
  • 10 replies
  • 6638 views

Hello,

Since the last update of STM32CubeMX 4.26.1, I can't open my project file anymore.

Right after clicking on the 'open' button, the software freezes and one of the processor cores stays at 100%. The only available action, then, is to close the application.

As I can't download an older version of STM32CubeMX, I am out of options.

I attached the project file in question to this post.

Thanks in advance for your help.

    This topic has been closed for replies.

    10 replies

    Morty Morty
    Associate III
    August 21, 2018

    Running

    java -jar "c:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe"

    from the commandline might give some hints.

    Sebastien1
    Associate II
    August 21, 2018

    Yes, effectively !!

    But how I can resolve the problem ?

    I have a NullPointerException in "com.st.microxplorer.mcu.IP.getOnlyRefParameters(IP.java:1236)"

    Thanks !

    Sebastien1
    Associate II
    August 21, 2018

    I found the bug !!!

    Here the steps to produce it :

    1. Start the STM32CubeMx software with the following command (to able to show the output debug)
    java -jar "c:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe"
    1.  
    2. Click on "New Project".
    3. Write in "Part Number Search" : STM32F207VC
    4. Double click on the only part available.
    5. As soon as you are in "PinOut" tabulation, uncollapse "ADC1".
    6. Activate "IN0".

    The bug appear.

    Khouloud GARSI
    ST Employee
    August 23, 2018

    Hello @Community member​ ,

    The seen behavior is now reported internally for check.

    We will answer you ASAP.

    Khouloud.

    Houda GHABRI
    ST Employee
    August 27, 2018

    Hello @Community member​ ,

    Thanks for your effort to debug the problem.

    Effectively  there is ADC issue , it will be resolved in next CubeMX release 4.27.0 scheduled next week (W36).

    regards,

    Houda

    Sebastien1
    Associate II
    September 3, 2018

    Thanks in advance for resolve the bug.

    Can you give the possibility to the user of the software to download the previous version ?

    Because, since 2 weeks, I am stuck, and now I need to wait additionnal 2 weeks.

    My boss don't understand this situation.

    Currently, when a new version of STM32CubeMX come, the software download and install the new version.

    But, if the new version have a bug, it is impossible to roll back to the previous version. It is also impossible to download anywhere the previous version. Why ?

    The simple way is give the possibility to download the previous version of the software like this :

    Current version :

    CubeMX release 4.27.0

    Previous version :

    CubeMX release 4.26.1

    With this solution, a user can continue to work before a solution can be found by your team.

    Seb.

    EKirs
    Associate II
    May 15, 2019

    I am having the same issue with CubeMX 5.2.0: when I am trying to open a project saved with earlier version of CubeMX it freezes.

    Houda GHABRI
    ST Employee
    May 16, 2019

    ​Hi @Community member​ @Community member​ ,

    can you tell me the old project is created by any version of CubeMX?

    Also which MCU family your are using (H7, F4, ...)?

    Thanks,

    Houda

    EKirs
    Associate II
    May 16, 2019

    The project was created using CubeMX 4.27.0. The MCU is STM32L475RCT.

    I eventually found a solution after posting yesterday.

    I downloaded intermediate version 5.1.0, which was able to open the project, then saved project in that version of CubeMX.

    Then, version 5.2.0 was finally able to open the re-saved project.

    Marco Stucchi
    Associate
    July 13, 2019

    I have CubeMx version 5.2.1 and I cannot open an IOC project made with TouchGFX.

    The error I get is :

    2019-07-13 08:53:41,769 [INFO] ApiDbMcu:444 - Load IP Config File for GRAPHICS

    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 8

         at com.st.microxplorer.plugins.projectmanager.gui.ProjectChoiceTab.updateToolChainSelection(ProjectChoiceTab.java:1895)