Thursday, 15 August 2019

system.Private.CoreLib: Exception while executing function: Functions.uppercase. System.Private.CoreLib: Result: Failure

if you are running spring cloud function for azure: https://github.com/spring-cloud/spring-cloud-function/tree/master/spring-cloud-function-samples/function-sample-azure 

and you found below error:

system.Private.CoreLib: Exception while executing function: Functions.uppercase. System.Private.CoreLib: Result: Failure

then, it is not your fault.

you need to change spring cloud function and spring boot dependency version to 2.0.1.RELEASE


and in the actual azure  function java code  --- the function parameter, change

foo to HttpRequestMessage<Optional<Foo>>



https://stackoverflow.com/questions/54037296/error-while-running-spring-cloud-functions-sample-for-azure-functions


1 comment: