This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
Terminating app due to uncaught exception when executing on a Mac where there is no Java #93
Closed
1 of 3 tasks
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:
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:
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
The text was updated successfully, but these errors were encountered: