=== modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/schema/DefaultSchemaValidator.java' --- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/schema/DefaultSchemaValidator.java 2014-12-22 09:29:06 +0000 +++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/schema/DefaultSchemaValidator.java 2014-12-22 09:30:50 +0000 @@ -66,9 +66,13 @@ { Object value = ReflectionUtils.invokeMethod( object, property.getGetterMethod() ); - if ( !property.isNullable() && value == null ) + if ( value == null ) { - validationViolations.add( new ValidationViolation( "Property '" + property.getName() + "' can not be null." ) ); + if ( !property.isNullable() ) + { + validationViolations.add( new ValidationViolation( "Property '" + property.getName() + "' can not be null." ) ); + } + continue; }