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

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

Description

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

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

The exception looks as follows:

1 2 3 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.

Status

Assignee

Savas Ali Tokmen

Reporter

S. Ali Tokmen

Components

Fix versions

Affects versions

1.4.7

Priority

Major