Open codaptor with snakesandladders-cordapp on the corda github Advanced examples
After startup an error is displayed with the following message -
{"cause":{"class":"tech.b180.cordaptor.rest.SerializationException","message":"Error finding serializer for property value of object Parameterised(CordaFlowResult<List (erased)>)","cause":"java.lang.AssertionError: Don't know how to make instances of interface java.util.List"},"errorType":"GENERIC_ERROR","message":"Unknown server error"}
Edit:
It seems the issue is because the Flow return type for flow AccountInfoByName under Accounts SDK of Corda has nested parametrisation - e.x., FlowLogic<List<StateAndRef>>
The SerialiserKey in this case is not being created correctly
Steps to reproduce:
{"cause":{"class":"tech.b180.cordaptor.rest.SerializationException","message":"Error finding serializer for property value of object Parameterised(CordaFlowResult<List (erased)>)","cause":"java.lang.AssertionError: Don't know how to make instances of interface java.util.List"},"errorType":"GENERIC_ERROR","message":"Unknown server error"}
Edit:It seems the issue is because the Flow return type for flow>>
AccountInfoByName
under Accounts SDK of Corda has nested parametrisation - e.x., FlowLogic<List<StateAndRefThe SerialiserKey in this case is not being created correctly