Closed Arnaud-Trouche closed 3 years ago
The issue comes from the following line in OutputFunctionExpression newInstanceOfType()
:
return (OutputFunctionExpression) klass.getConstructor(args.length == 1 ? String.class : new String[args.length].getClass()).newInstance(args.length == 1 ? args[0] : (Object) args);
When we want to create a "AnythingND" with only one parameter, the line call a AnythingND(String)
constructor that does not exists, only the AnythingNd(String [])
exists
The initialisation of this class seems to have issues in Funz: