1

Closed

ImageUpload works but throws an unhandled exception

description

When using the method ImageUpload, a NullReferenceException is thrown:
 
The method is called as here:
        Dim remoteImageId = Smug.ImageUpload(remoteAlbumId, tempFilename, String.Empty, _
                                                "{baboimage:" & LocalImage.ID.ToString & "}" & _
                                                " {babohash:" & LocalImage.TouchCount.ToString & "}")
 
The exception thrown is:
Error parsing object, returned:
{"stat":"ok","method":"smugmug.images.upload","Image":{"id":349902188,"Key":"6BzSg","URL":"http:\/\/sugata.smugmug.com\/gallery\/5675659_if2Ly#349902188_6BzSg"}}
Could not find member 'Key' on object of type 'RuntimeType'
A first chance exception of type 'System.NullReferenceException' occurred in SmugMug.libSmugMug.dll
Closed Jun 28, 2009 at 11:01 AM by weloytty
fixed in 1.0 release

comments