If you check the documentation of this Java action you can read the following:
Use this Java action as a template for your own String-to-Enumeration conversions. Studio Pro requires specifying the exact Enumeration to return in the definition of a Java action so we cannot provide a generic implementation. This implementation will throw a NoSuchElementException if an invalid toConvert parameter is given, so remember to handle this error gracefully.
So you need to insert an string that exactly matches an enumeration value or otherwise handle this error to use this Java action.
The error you’re seeing is because it has been unable to find an enumeration for that string value.
I think you need to check your spelling and if you are passing a valid value to the Java Action.
Yes there is. Two ways. See the solutions provided by Bart Rikers and another by Ronald Caterels in https://forum.mendix.com/link/questions/102428. Use whichever solution works for you.