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

Provide a better error msg when the notary type is misconfigured on the net params

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Low
    • Resolution: Done
    • Affects versions: Corda 3.3, Corda 4, Corda Enterprise 4 RC04
    • Fix versions: Corda 4.1
    • Components: None
    • Labels:
      None
    • Severity:
      Low
    • Feature Team:
      Notaries
    • Sprint:

      Description

      If a notary service is misconfigured and advertised as validating on the network parameters, but is actually run in non-validating mode (or vice versa) an error occurs on the notary:
      java.lang.ClassCastException: net.corda.core.transactions.SignedTransaction cannot be cast to net.corda.core.transactions.CoreTransaction at
      which doesn't explain the issue. We need to provide a better error message that specifies the root problem.

        Attachments

          Activity

            People

            • Assignee:
              jonathan.locke Jonathan Locke
              Reporter:
              andrius.dagys Andrius Dagys
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: