This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch maint-1.16.1
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 8c440ba37119aade294bc8e2777b88318a479fd0
Author: Dan Haywood <d...@haywood-associates.co.uk>
AuthorDate: Mon Feb 12 17:37:04 2018 +0000

    ISIS-1569: fixes NPE for downloading command DTOs if xactn can't be found
---
 .../apache/isis/applib/conmap/ContentMappingServiceForCommandDto.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/core/applib/src/main/java/org/apache/isis/applib/conmap/ContentMappingServiceForCommandDto.java
 
b/core/applib/src/main/java/org/apache/isis/applib/conmap/ContentMappingServiceForCommandDto.java
index 00f7541..c3b055e 100644
--- 
a/core/applib/src/main/java/org/apache/isis/applib/conmap/ContentMappingServiceForCommandDto.java
+++ 
b/core/applib/src/main/java/org/apache/isis/applib/conmap/ContentMappingServiceForCommandDto.java
@@ -71,6 +71,9 @@ public class ContentMappingServiceForCommandDto implements 
ContentMappingService
     }
 
     private CommandDto asProcessedDto(final CommandWithDto commandWithDto) {
+        if(commandWithDto == null) {
+            return null;
+        }
         CommandDto commandDto = commandWithDto.asDto();
 
         // global processors

-- 
To stop receiving notification emails like this one, please contact
danhayw...@apache.org.

Reply via email to