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

Checking Version of `corda.jar` without `node.conf` Issue

    Details

    • Feature Team:
      Operational Experience
    • Target Version/s:
    • Story Points:
      1
    • Sprint:

      Description

      When checking the version of corda.jar, without the node.conf or supporting node files present (using the command below), and exception error is raised that could be handled better:

      Command

      java -jar corda.jar --version
      

      Exception

      com.typesafe.config.ConfigException$IO: /home/nealshah/node.conf: java.io.FileNotFoundException: /home/nealshah/node.conf (No such file or directory)
      	at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:188)
      	at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:174)
      	at com.typesafe.config.impl.Parseable.parse(Parseable.java:299)
      	at com.typesafe.config.ConfigFactory.parseFile(ConfigFactory.java:688)
      	at CordaCaplet.parseConfigFile(CordaCaplet.java:53)
      	at CordaCaplet.prelaunch(CordaCaplet.java:79)
      	at Capsule.prelaunch(Capsule.java:1476)
      	at Capsule.prepareForLaunch(Capsule.java:1329)
      	at Capsule.launch(Capsule.java:1258)
      	at Capsule.main0(Capsule.java:394)
      	at Capsule.main(Capsule.java:374)
      Caused by: java.io.FileNotFoundException: /home/nealshah/node.conf (No such file or directory)
      	at java.io.FileInputStream.open0(Native Method)
      	at java.io.FileInputStream.open(FileInputStream.java:195)
      	at java.io.FileInputStream.<init>(FileInputStream.java:138)
      	at com.typesafe.config.impl.Parseable$ParseableFile.reader(Parseable.java:638)
      	at com.typesafe.config.impl.Parseable.reader(Parseable.java:99)
      	at com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:231)
      	at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:180)
      	... 10 more
      Corda Enterprise Edition 3.0
      Revision d162bc901ec2b2c67c3822823d07364b6e1429ad
      Platform Version 3
      

        Attachments

          Activity

            People

            • Assignee:
              removed86 Former user (Inactive)
              Reporter:
              nshah Neal Shah
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: