Uploaded image for project: 'Codehaus Cargo'
  1. CARGO-1262

Daemon client API throws exception for start command if only handleId is defined

    Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 1.4.7
    • Fix versions: 1.4.8
    • Components: Daemon
    • Labels:
      None

      Description

      The following code should allow for successfully starting a container with the daemon API:

      DaemonStart start = new DaemonStart();
      start.setHandleId("test1");
      client.start(start);
      

      The exception looks as follows:

      Caused by: java.lang.NullPointerException
      at org.codehaus.cargo.tools.daemon.DaemonClient.start(DaemonClient.java:214)
      at org.codehaus.cargo.tools.daemon.DaemonClient$start.call(Unknown Source)
      

      This problem was discussed on the mailing list.

        Attachments

          Activity

            People

            • Assignee:
              savasalitokmen Savas Ali Tokmen (Inactive)
              Reporter:
              alitokmen S. Ali Tokmen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: