Problem with proxy.startFlowDynamic


phuocsonhh@...
 

Hi everyone,

          I'm facing with proxy.startFlowDynamic.problem
          Related to https://github.com/corda/samples/tree/token-samples/non-fungible-token-dvp I issued the FiatCurrency in shell successfully with the command :
s
tart FiatCurrencyIssueFlow currency: USD, amount: 100000000, recipient: PartyC

But when I tried to issue in Web controller by
     proxy.startFlowDynamic(FiatCurrencyIssueFlow.class ,"USD", 10000, otherParty)
     it throw exception as be low
net.corda.core.CordaRuntimeException: net.corda.serialization.internal.amqp.IllegalCustomSerializerException: exception(java.lang.Throwable) -> Custom serializer net.corda.serialization.internal.amqp.custom.ThrowableSerializer registered to serialize non-custom-serializable type class net.corda.core.flows.IllegalFlowLogicException
I worked with Java , Corda 4.1 and token SDK-1.0

I searched everywhere but only found
https://r3-cev.atlassian.net/browse/CORDA-3043 but it isn't resolved yet and I'm not sure it is the problem I'm facing so if you have any experience to handle this issue , please help to tell me. Thanks in advance.

Best regards,
Son Huynh








phuocsonhh@...
 

Hi all,

       This problem occurs when I'm working with java and use wrong type for parameter (int instead long).
       I changed the type and it works.

Best regards,
Son Huynh