byte[] bytes = config.getMediumBytes(); if (bytes == null) { _logger.debug("medium bytes are null for: " + config.getOriginalPath()); _logger.debug("how about large bytes: " + config.getLargeBytes()); _logger.debug("how about small bytes: " + config.getSmallBytes()); _logger.debug("title: " + config.getTitle()); _logger.debug("caption: " + config.getCaption()); } _progress.notifyProgressStarted(config.getOriginalPath(), bytes.length);