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

node.conf with rogue line results non-comprehensive error

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects versions: Corda 4, Corda Enterprise 4
    • Fix versions: Corda 4.1
    • Components: None
    • Labels:
      None
    • Affected OS:
      Linux
    • Severity:
      Medium
    • Target Version/s:
    • Feature Team:
      Enterprise Robustness
    • Sprint:

      Description

      This been discovered during testing of: R3T-1355

      node.conf with:

      myLegalName="O=PartyA,L=London,C=GB"
      p2pAddress="localhost:10003"
      This is a line in the conf file.. here I am
      rpcSettings {
          address="localhost:10004"
          adminAddress="localhost:10005"
      }
      rpcUsers=[
          {
              password=test
              permissions=[
                  ALL
              ]
              user=user1
          }
      ]
      

      results the following error:

      acBook-NonDev-06:PartyA lamarthomas$ ls -tlr node.conf
      lrwxr-xr-x  1 lamarthomas  staff  27 Nov 19 08:09 node.conf -> node.conf.R3T1255.TestCase1
      MacBook-NonDev-06:PartyA lamarthomas$ java -jar corda.jar
      CAPSULE EXCEPTION: null while processing attribute Native-Dependencies: {} (for stack trace, run with -Dcapsule.log=verbose)
      MacBook-NonDev-06:PartyA lamarthomas$
      

      Expectation would be to to have an error saying along the line: Un-parseable content at "node.conf" line 3

        Attachments

          Activity

            People

            • Assignee:
              Bogdan.Paunescu Bogdan Paunescu
              Reporter:
              Viktor.Kolomeyko Viktor Kolomeyko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: