String parentAlbumName = (parentAlbum == null) ? "" : parentAlbum.getName();
String parentAlbumName = (parentAlbum == null) ? "hack_null_albumName" : parentAlbum.getName();
		void runTask() {			status(su, "Getting album information from " + g.toString());						String parentAlbumName = (parentAlbum == null) ? "" : parentAlbum.getName();			if (GalleryRemote.getInstance().properties.getBooleanProperty(HTML_ESCAPE_CAPTIONS)) {				albumTitle = HTMLEscaper.escape(albumTitle);				albumDesc = HTMLEscaper.escape(albumDesc);			}			try {				// setup the protocol parameters				NVPair form_data[] = {					new NVPair("cmd", "new-album"),					new NVPair("protocol_version", PROTOCOL_VERSION ),					new NVPair("set_albumName", parentAlbumName ),					new NVPair("newAlbumName", albumName ),					new NVPair("newAlbumTitle", albumTitle ),					new NVPair("newAlbumDesc", albumDesc )				};				Log.log(Log.TRACE, MODULE, "new-album parameters: " + Arrays.asList(form_data));								// load and validate the response				Properties p = requestResponse( form_data );				if ( p.getProperty( "status" ).equals(GR_STAT_SUCCESS) ) {					status(su, "Create album successful.");				} else {					error(su, "Error: " + p.getProperty( "status_text" ));				}							} catch ( GR2Exception gr2e ) {				Log.logException(Log.ERROR, MODULE, gr2e );				error(su, "Error: " + gr2e.getMessage());			} catch (IOException ioe) {				Log.logException(Log.ERROR, MODULE, ioe);				error(su, "Error: " + ioe.toString());			} catch (ModuleException me) {				Log.logException(Log.ERROR, MODULE, me);				error(su, "Error: " + me.toString());			}		}