Uploaded image for project: 'SignServer'
  1. SignServer
  2. DSS-1820

SignClient: NPE when not providing -keystore

    Details

    • Stakeholder:
      R&D
    • Sprint:
      SignServer-Sprint 116

      Description

      NPE is given when "-keystore" is not provided in the command when using HTTP and port 8443 in the following command:

      bin/signclient validatedocument -workername XAdESValidator -infile ./signed.tmp -truststore /home/robin/Development/jboss-eap-6.4-signserver/standalone/configuration/keystore/truststore.jks -truststorepwd changeit -protocol HTTP -port 8443 -host localhost

      Exception in thread "main" java.lang.NullPointerExceptionat org.signserver.client.cli.defaultimpl.HTTPDocumentValidator.doValidate(HTTPDocumentValidator.java:217)at org.signserver.client.cli.defaultimpl.AbstractDocumentValidator.validate(AbstractDocumentValidator.java:41)at org.signserver.client.cli.defaultimpl.AbstractDocumentValidator.validate(AbstractDocumentValidator.java:54)at org.signserver.client.cli.defaultimpl.ValidateDocumentCommand.run(ValidateDocumentCommand.java:351)at org.signserver.client.cli.defaultimpl.ValidateDocumentCommand.execute(ValidateDocumentCommand.java:389)at org.signserver.cli.CommandLineInterface.execute(CommandLineInterface.java:97)at org.signserver.client.cli.ClientCLI.main(ClientCLI.java:45)

        Attachments

          Activity

            People

            Assignee:
            marcus.lundblad@primekey.se Marcus Lundblad
            Reporter:
            robinsed Robin Sedvallson (Inactive)
            Verified by:
            Markus KilÄs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 2 minutes
                2m