I'm submitting a bug.
Short description of the issue/suggestion:
Terminating app due to uncaught exception when executing the app on a Mac where there is no Java (JDK) available.
Steps to reproduce the issue/enhancement:
- Execute the app on a Mac with no JDK in the system
What is the expected behavior?
Exception should be handled the with a proper error message
What is the current behavior?
It is failing with below uncaught exception
Unable to find any JVMs matching version "(null)".
No Java runtime present, try --request to install.
Print: Entry, ":0:JVMVersion", Does Not Exist
Print: Entry, ":0:JVMHomePath", Does Not Exist
2020-10-19 11:59:32.898 PlistBuddy[75396:4189457] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFArray objectAtIndex:]: index (-1 (or possibly larger)) beyond bounds (0)'
*** First throw call stack:
Do you have screenshots, GIFs, demos or samples which demonstrate the problem or enhancement?
NA
What is the motivation / use case for changing the behavior?
Executing the app on Mac with no Java
Please tell us about your environment:
- universalJavaApplicationStub version: 3.1.0-beta
- Mac OS version: 10.14.6
- Java version(s): No JDK
Other information (e.g. related issues, suggestions how to fix, links for us to have context)