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

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

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

1 java -jar corda.jar --version

Exception

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 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

CVSS Vector

None

Status

Assignee

Michele Sollecito

Reporter

Neal Shah

Labels

None

CVSS Score

None

Feature Team

Operational Experience

Target Version/s

Corda 4

Ported to...

None

Story Points

1

Fix versions

Affects versions

Corda Enterprise 3.1

Priority

Medium