##############################################################
##
## ExhibitPlus Bug Report / Correction Report
## Found in version: 1.4
## Reported date: 09.04.05
## Report URL: http://www.jalbum.net/forum/thread.jspa?threadID=5301
## Assigned bug number: 14/004
## Severity: Major, album processing will halt
## Occurance: Rare, only with certain images
## Fixed date: 09.04.05
## Fixed by: M.Fyvie
## Fixed in: Subsequent versions
##
## Error message: Exception caused by line 170: java.lang.NullPointerException: Attempt to invoke method toString on null value
##
## Bug details:
## Certain images, depending on the meta data stored may
## trigger this error. Better handling of cases where null
## values appear was required to make this more robust.
##
## Patch/Fix procedure: See instructions below
##
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
slide.bsh
#
#-----[ FIND ]------------------------------------------
#
if (map.containsKey(key)) {
#
#-----[ REPLACE WITH ]------------------------------------------
#
if (map.containsKey(key) && map.get(key) != null) {
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM ###################################################### 