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

Performing a registration with an incorrect config gives error without appropriate info

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects versions: Corda 4, Corda Enterprise 4 RC05
    • Fix versions: Corda 4.1
    • Components: None
    • Labels:
      None

      Description

      I tried to perform a registration to Daywatch, without having actually populated the networkServices key in the node configuration, using:

      java -jar corda.jar initial-registration --network-root-truststore-password=password
      

      The node failed with the following content in the console and nothing relevant in the logs (no stack trace or anything). For reference:

      • console output
        ...
        Logs can be found in                    : /Users/dimosraptis/Desktop/R3T-2650/BigCorporation/logs
        Failed requirement.
        
      • log output
        [INFO ] 2019-03-22T16:46:43,993Z [main] cliutils.CliWrapperBase.call - Application Args: initial-registration --network-root-truststore-password=password
        [INFO ] 2019-03-22T16:46:44,590Z [main] manifests.Manifests.info - 124 attributes loaded from 192 stream(s) in 114ms, 124 saved, 2976 ignored: ["ActiveMQ-Version", "Agent-Class", "Ant-Version", "Application-Class", "Application-ID", "Application-Library-Allowable-Codebase", "Application-Name", "Application-Version", "Apr-Version", "Archiver-Version", "Automatic-Module-Name", "Bnd-LastModified", "BoringSSL-Branch", "BoringSSL-Revision", "Branch", "Build-Date", "Build-Host", "Build-Id", "Build-Java-Version", "Build-Jdk", "Build-Job", "Build-Number", "Build-Tag", "Build-Timestamp", "Built-By", "Built-OS", "Built-Status", "Bundle-Activator", "Bundle-Category", "Bundle-ClassPath", "Bundle-Copyright", "Bundle-Description", "Bundle-DocURL", "Bundle-License", "Bundle-ManifestVersion", "Bundle-Name", "Bundle-NativeCode", "Bundle-RequiredExecutionEnvironment", "Bundle-SymbolicName", "Bundle-Vendor", "Bundle-Version", "Caller-Allowable-Codebase", "Can-Redefine-Classes", "Can-Retransform-Classes", "Can-Set-Native-Method-Prefix", "Caplets", "Change", "Class-Path", "Codebase", "Corda-Platform-Version", "Corda-Release-Version", "Corda-Revision", "Corda-Vendor", "Created-By", "DynamicImport-Package", "Eclipse-BuddyPolicy", "Eclipse-LazyStart", "Export-Package", "Extension-Name", "Fragment-Host", "Gradle-Version", "Hibernate-JpaVersion", "Hibernate-VersionFamily", "Implementation-Build", "Implementation-Build-Date", "Implementation-Title", "Implementation-URL", "Implementation-Url", "Implementation-Vendor", "Implementation-Vendor-Id", "Implementation-Version", "Import-Package", "Include-Resource", "JCabi-Build", "JCabi-Date", "JCabi-Version", "JVM-Args", "Java-Agents", "Java-Vendor", "Java-Version", "Kotlin-Runtime-Component", "Kotlin-Version", "Liquibase-Package", "Log4jReleaseKey", "Log4jReleaseManager", "Log4jReleaseVersion", "Main-Class", "Main-class", "Manifest-Version", "Min-Java-Version", "Min-Update-Version", "Module-Email", "Module-Origin", "Module-Owner", "Module-Source", "Multi-Release", "Originally-Created-By", "Os-Arch", "Os-Name", "Os-Version", "Package", "Permissions", "Premain-Class", "Private-Package", "Probe-Provider-XML-File-Names", "Provide-Capability", "Repository-Id", "Require-Capability", "SCM-Revision", "SCM-url", "Scm-Connection", "Scm-Revision", "Scm-Url", "Service-Component", "Specification-Title", "Specification-Vendor", "Specification-Version", "System-Properties", "Time-Zone-Database-Version", "Tool", "Trusted-Library", "X-Compile-Source-JDK", "X-Compile-Target-JDK", "sealed"]
        [INFO ] 2019-03-22T16:46:44,609Z [main] BasicInfo.printBasicNodeInfo - Logs can be found in                    : /Users/dimosraptis/Desktop/R3T-2650/BigCorporation/logs
        

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Tommy.Lillehagen Tommy Lillehagen (Inactive)
                Reporter:
                dimos.raptis Dimos Raptis
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: