Uploaded image for project: 'Corda'
  1. CORDA-1711

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

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Corda 3.2, Corda 3.3
    • Component/s: None
    • Labels:
      None
    • Severity:
      Medium
    • Target Version/s:
    • Feature Team:
      Experience and Production Readiness
    • Sprint:

      Description

      Steps to reproduce:

      Following error is generated:

      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:

        Attachments

          Activity

            People

            • Assignee:
              Tommy.Lillehagen Tommy Lillehagen
              Reporter:
              Anthony.Keenan Anthony Keenan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: