-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
It seems like custom SerializationWhitelists are not loaded when the node-server loads CorDapp jars. If a CorDapp depens on this the node-server reports the error below
2022-03-28 18:11:26.408 ERROR 1 --- [nio-8580-exec-3] n.c.s.i.amqp.DeserializationInput : Serialization failed direction="Deserialize", type="org.foo.Bar" msg="Class "class org.foo.Bar" is not on the whitelist or annotated with @CordaSerializable.", ClassChain="org.foo.Bar"
This makes the node-explorer UI unable to show transactions.
It seems like the problem lies somewhere in TransactionServiceImpl.java and in the way that the classes are loaded. In particular, there are no calls to java.util.ServiceLoader.
Metadata
Metadata
Assignees
Labels
No labels