We're updating the issue view to help you get more done. 

corda-finance cordapp from O/S v3.1 not compatible with enterprise due to use of internals

Description

Steps to reproduce:

Following error is generated:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 E 16:55:15+0100 [main] internal.Node.installCordaServices - Corda service net.corda.finance.flows.ConfigHolder failed to instantiate java.lang.NoSuchMethodError: net.corda.core.internal.InternalUtils.div(Ljava/lang/String;Ljava/lang/String;)Ljava/nio/file/Path; at net.corda.finance.flows.ConfigHolder.<init>(CashConfigDataFlow.kt:38) ~[corda-finance-3.1-corda.jar:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_172] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_172] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_172] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_172] at net.corda.node.internal.AbstractNode.installCordaService(AbstractNode.kt:622) ~[corda-node-3.0.0-RC01.jar:?] at net.corda.node.internal.AbstractNode.installCordaServices(AbstractNode.kt:538) [corda-node-3.0.0-RC01.jar:?] at net.corda.node.internal.AbstractNode.access$installCordaServices(AbstractNode.kt:196) [corda-node-3.0.0-RC01.jar:?] at net.corda.node.internal.AbstractNode$start$5.invoke(AbstractNode.kt:390) [corda-node-3.0.0-RC01.jar:?] at net.corda.node.internal.AbstractNode$start$5.invoke(AbstractNode.kt:196) [corda-node-3.0.0-RC01.jar:?] at net.corda.nodeapi.internal.persistence.CordaPersistence.inTopLevelTransaction(CordaPersistence.kt:173) [corda-node-api-3.0.0-RC01.jar:?] at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:158) [corda-node-api-3.0.0-RC01.jar:?] at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:136) [corda-node-api-3.0.0-RC01.jar:?] at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:142) [corda-node-api-3.0.0-RC01.jar:?] at net.corda.node.internal.AbstractNode.start(AbstractNode.kt:328) [corda-node-3.0.0-RC01.jar:?] at net.corda.node.internal.Node.start(Node.kt:383) [corda-node-3.0.0-RC01.jar:?] at net.corda.node.internal.EnterpriseNode.start(EnterpriseNode.kt:170) [corda-node-3.0.0-RC01.jar:?] at net.corda.node.internal.NodeStartup.startNode(NodeStartup.kt:177) [corda-node-3.0.0-RC01.jar:?] at net.corda.node.internal.NodeStartup.run(NodeStartup.kt:144) [corda-node-3.0.0-RC01.jar:?] at net.corda.node.Corda.main(Corda.kt:25) [corda-node-3.0.0-RC01.jar:?]

Looks like it was probably caused by this commit:

Status

Assignee

Tommy Lillehagen

Reporter

Anthony Keenan

Labels

None

Affected OS

None

Severity

Medium

Target Version/s

Corda 3.2
Corda 3.3

Feature Team

Operational Experience

Fix versions

Priority

Medium