Skip to main content
Visitor II
May 6, 2025
Solved

Setupstm32cubemonitorpower crash

  • May 6, 2025
  • 3 replies
  • 1143 views

Hi,

 

I'm using a fresh debian testing (12) and when i try to launch "SetupSTM32CubeMonitor-Power.jar", i get the error :

Command line arguments: 
SEVERE: java.lang.ArrayIndexOutOfBoundsException: Index 70131 out of bounds for length 22674

Debian is not in the supported operating system, but ubuntu should not be so far. I found on the forum, that the error occured on stm32cubemonitor on ubuntu recent version.

Is there a patch/upgraded planned or anyway to make it run ?

Could someone on ubuntu tell me if it work on it ?

 

Thanks in advance,

    This topic has been closed for replies.
    Best answer by Richard.Chvr

    should work on v17 (the one I tried on my Ubuntu) and as far as I understand, only V21 fails

    3 replies

    Technical Moderator
    May 7, 2025

    Hello @Frog 

    This issue can be linked to the java version used in your Debian machine. The installer tool used by STM32CubeMonitor-Power is not compatible with version 21 of java.

    You can try to use an older one.

    on ubuntu, use:

    update-java-alternatives --list

    to get the list of installed version and see if one can feet.

    FrogAuthor
    Visitor II
    May 7, 2025

    Hi Richard,

     

    Is it possible to know on which version of java it should work ? I can't find that information. Or maybe, it is only for v21. I tried with other java version from debian repository with no success.

     

    Thanks,

    Technical Moderator
    May 7, 2025

    should work on v17 (the one I tried on my Ubuntu) and as far as I understand, only V21 fails

    FrogAuthor
    Visitor II
    May 7, 2025

    It works on v17, thanks.

    I would suggest to add the version of java inside documentation.

     

    FrogAuthor
    Visitor II
    May 7, 2025

    In fact, there is some scalling problem. For the setup, the argument :

    -Dsun.java2d.uiScale=2.0

    work, but looks like for the application it doesn't work.

     

    Also tried

    -Dglass.gtk.uiScale=2.0 

     With no effect.