This line triggers an error if there is no system_json['java_system_information']
Error:
ERROR -- : undefined method `[]' for nil:NilClass
E, [2024-08-28T23:46:25.887016 #103040] ERROR -- : /tmp/kpm-0.11.1-linux-x86_64/lib/vendor/ruby/2.6.0/gems/kpm-0.11.1/lib/kpm/diagnostic_file.rb:150:in `system_catalina_base'
IDK how common this is, but it happens when I try to use kpm diagnostic.
I fixed the issue locally by adding return if system_json['java_system_information'].nil?