1
Vote

Dropbox provider exception.

description

When trying to use UMP with dropbox, after having configured, the datatype and added it to a doctype... I get an exception when I open the picker.

The exception occurs on this ajax request:

http://localhost:1111/umbraco/webservices/TreeDataService.ashx?rnd=92eac39f7ffe40b987782a4df74bdb60&id=-1&treeType=UniversalMediaPicker&nodeKey=1067%24-1%24-1&contextMenu=false&isDialog=true&dialogMode=id&rnd2=76.3

The exception is:

System.NullReferenceException: Object reference not set to an instance of an object.
at TheOutfield.UmbExt.UniversalMediaPicker.Providers.Dropbox.DropboxProvider.GetMediaItems(String parentId) in C:\Shortcuts\UmbExt\Src\TheOutfield.UmbExt.UniversalMediaPicker.Providers\TheOutfield.UmbExt.UniversalMediaPicker.Providers.Dropbox\DropboxProvider.cs:line 52
at TheOutfield.UmbExt.UniversalMediaPicker.UniversalMediaPickerAppTree.Render(XmlTree& tree)
at umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams)
at umbraco.presentation.webservices.TreeDataService.GetXmlTree()
at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

comments