cancel
Showing results for 
Search instead for 
Did you mean: 

Setupstm32cubemonitorpower crash

Frog
Associate II

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,

1 ACCEPTED SOLUTION

Accepted Solutions
Richard.Chvr
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

5 REPLIES 5
Richard.Chvr
ST Employee

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.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

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,

Richard.Chvr
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Frog
Associate II

It works on v17, thanks.

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

 

Frog
Associate II

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.