Page 1 of 1

I am getting error message Automatic maximum bitrate calculation failed with: Cannot invoke "java.util.List.iterator()"

Posted: Sun Dec 04, 2022 10:39 pm
by go_nuts
I am working on a playstation3 and I am getting an error message
Automatic maximum bitrate calculation failed with: Cannot invoke "java.util.List.iterator()" because "ls" is null
This seems to be coming from that ping was not automatically installed on my machine.. (which is something that you might expect but I assume that Ubuntu is optimizing for cloud services where OS are commodities )

Possible Cause
Seems like the issue likely got tripped up on in SpeedStats#doPing ..

Resolution
I resolved with sudo apt-get install iputils-ping working as expected..

I assume that you might want to protect against this in some way like making its at least an empty list since this is something that can happen (which I would have never thought that it would have been) . Or at least give a better error message when the one that I go.

Re: I am getting error message Automatic maximum bitrate calculation failed with: Cannot invoke "java.util.List.iterator

Posted: Sun Dec 04, 2022 11:10 pm
by mik_s
I'll make an issue on GitHub so the Devs can add this check and maybe install ping if it is not available. I think they assumed that this was a basic function on all OSs, I had no Idea it was not.

Re: I am getting error message Automatic maximum bitrate calculation failed with: Cannot invoke "java.util.List.iterator

Posted: Tue Dec 13, 2022 9:26 pm
by RaceRachael
I have same problem..