Skip to content

Commit

Permalink
Merged in PAYARA-1997 (pull request payara#80)
Browse files Browse the repository at this point in the history
PAYARA-1997 NPE on asadmin list-batch-job-executions (payara#1899)
  • Loading branch information
jGauravGupta authored and Pandrex247 committed Sep 4, 2017
2 parents 02fc412 + 30eb9f8 commit 9b22996
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ public final void execute(AdminCommandContext context) {
if (subReport.getExtraProperties() != null && subReport.getExtraProperties().size() > 0)
postInvoke(context, subReport);
else {
if (subReport.getSubActionsReport() != null && subReport.getSubActionsReport().size() > 0) {
if (subReport.getSubActionsReport() != null && subReport.getSubActionsReport().size() > 0
&& subReport.getSubActionsReport().get(0).getExtraProperties() != null) {
postInvoke(context, subReport.getSubActionsReport().get(0));
} else {
actionReport.setMessage(subReport.getMessage());
Expand Down

0 comments on commit 9b22996

Please sign in to comment.