BTW to reproduce this problem I've added "throw new NullPointerException()" inside CpsBodyExecution.addCallback:

public void addCallback(FutureCallback<Object> callback) {
        if (!(callback instanceof Serializable))
            throw new IllegalStateException("Callback must be persistable, but got "+callback.getClass());

        synchronized (this) {
            if (callbacks != null) {
                callbacks.add(callback);
                return;
            }
        }

        throw new NullPointerException();

        // if the computation has completed,
        if (outcome.isSuccess())    callback.onSuccess(outcome.getNormal());
        else                        callback.onFailure(outcome.getAbnormal());
    }
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to