crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <>
Subject [jira] [Created] (CRUNCH-443) Pipeline#run returns null in some error situations
Date Wed, 16 Jul 2014 05:37:05 GMT
Gabriel Reid created CRUNCH-443:

             Summary: Pipeline#run returns null in some error situations
                 Key: CRUNCH-443
             Project: Crunch
          Issue Type: Bug
            Reporter: Gabriel Reid
            Assignee: Gabriel Reid

In some error situations, when a pipeline fails to run, the returned PipelineResult will be

This means that running a pipeline and checking the result requires the following logic:

PipelineResult result =;
if (result == null || !result.succeeded()) {
    System.out.println("Pipeline failed");

The PipelineResult returned by Pipeline#run should never be null. Instead, it should contain
enough information to see that the pipeline run failed.

This message was sent by Atlassian JIRA

View raw message