cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to import skill: ms-dynamics-365-authenticate in BP V6.4.2

syed.viqar.raza
Level 4
Detail error:
System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at BluePrism.Core.Secure.SafeString.set_Encoded(String value)
at BluePrism.AutomateProcessCore.clsProcessValue..ctor(DataType dtype, String val, Boolean allowInvalid)
at BluePrism.AutomateProcessCore.clsProcessValue.Decode(DataType dtype, String encVal)
at BluePrism.AutomateProcessCore.WebApis.ActionParameter.FromXElement(XElement element)
at BluePrism.AutomateProcessCore.WebApis.WebApiConfiguration._Closure$__._Lambda$__30-5(XElement x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at BluePrism.AutomateProcessCore.WebApis.WebApiConfiguration..ctor(String baseUrl, IEnumerable`1 commonHeaders, IEnumerable`1 commonParameters, CodeProperties commonCode, IEnumerable`1 actions, IAuthentication commonAuthentication, WebApiConfigurationSettings configurationSettings)
at BluePrism.AutomateProcessCore.WebApis.WebApiConfiguration.FromXElement(XElement element)
at BluePrism.AutomateAppCore.WebApiComponent.ReadXmlBody(XmlReader r, IComponentLoadingContext ctx)
at BluePrism.AutomateAppCore.PackageComponent.FromXml(XmlReader reader, IComponentLoadingContext ctx)
at BluePrism.AutomateAppCore.PackageComponent..ctor(OwnerComponent owner, XmlReader reader, IComponentLoadingContext ctx)
at BluePrism.AutomateAppCore.PackageComponentType.NewComponent(OwnerComponent owner, String key, XmlReader reader, IComponentLoadingContext ctx)
at BluePrism.AutomateAppCore.clsRelease.ReadXmlBody(XmlReader r, IComponentLoadingContext ctx)
at BluePrism.AutomateAppCore.PackageComponent.FromXml(XmlReader reader, IComponentLoadingContext ctx)
at BluePrism.AutomateAppCore.clsRelease..ctor(XmlReader reader, clsProgressMonitor mon)
at BluePrism.AutomateAppCore.clsRelease.Import(Stream str, clsProgressMonitor mon)
at BluePrism.AutomateAppCore.clsRelease.Import(FileInfo file, clsProgressMonitor mon, Boolean unattended)
at AutomateUI.frmImportRelease.HandleLoadAndParseWork(Object sender, DoWorkEventArgs e)
at AutomateUI.BackgroundWorkerStage.HandleWorkerDoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

------------------------------
Syed Raza
Technical Consultant
Qantas Group
Australia/Melbourne
------------------------------
3 REPLIES 3

mohammed.ali
Staff
Staff
Hi Raza,

My suggestion would be to log a support ticket for this issue (if you haven't already).  According to the error, the 'type' parameter is NULL but I'm not sure why.  The Support Team should be able to assist here. 

Thanks,

------------------------------
Mohammed Ali
Head of Customer Support (Americas)
Blue Prism
Austin TX
------------------------------

DarrellColeman
Level 4
Hi Syed.

I think I've seen this situation occur previously with a different Skill. And it was a result of the Skill being created in a version higher than Blue Prism v6.5 being imported into a v6.4.x version. I am currently researching this, will work on resolving it, and follow up here once complete.

Thanks!
Darrell

------------------------------
Darrell Coleman
Digital Exchange Technical Reviewer
Blue Prism
America/New_York
------------------------------

DarrellColeman
Level 4
Hi Syed.

We just pushed a fix to address the issue you reported with the Dynamics 365 Authentication Skill. Please pull the latest from the DX and try again. Let us know if any further issus.

https://digitalexchange.blueprism.com/dx/entry/9648/solution/microsoft-dynamics-365-authenticate-3

Thanks!
Darrell

------------------------------
Darrell Coleman
Digital Exchange Technical Reviewer
Blue Prism
America/New_York
------------------------------