Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

An error happened when load solution with ribbon workbench

(0) ShareShare
ReportReport
Posted on by 35

Below is the detail error infomation get from the response from server 

<s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="zh-CN">System.NullReferenceException: 未将对象引用设置到对象的实例。&#xD;
在 RWB2016.Plugins.RibbonCustomisationsPlugin.GetRibbonXml(LocalPluginContext localContext, String entityLogicalName, Boolean unzip)&#xD;
在 RWB2016.Plugins.RibbonCustomisationsPlugin.GetRibbonJSON(LocalPluginContext localContext, ITracingService trace, String inputData)&#xD;
在 SparkleXrm.Plugins.Plugin.Execute(IServiceProvider serviceProvider)</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><ActivityId>22ea46d0-4614-4f49-bf85-33bc6b5255d2</ActivityId><ErrorCode>-2147220891</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>CallStack</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema"> 在 SparkleXrm.Plugins.Plugin.Execute(IServiceProvider serviceProvider)&#xD;
在 Microsoft.Crm.Sandbox.SandboxAppDomainHelper.&lt;&gt;c__DisplayClass14_3.&lt;Execute&gt;b__0()&#xD;
--- 引发异常的上一位置中堆栈跟踪的末尾 ---&#xD;
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xD;
在 Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary`2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext, Boolean enablePluginStackTrace, Boolean chaosFailAppDomain)&#xD;
在 Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary`2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext, Boolean enablePluginStackTrace, Boolean chaosFailAppDomain)&#xD;
在 Microsoft.Crm.Sandbox.SandboxWorker.Execute(SandboxCallInfo callInfo, SandboxPluginExecutionContext requestContext, Guid pluginAssemblyId, Int32 sourceHash, String assemblyName, Guid pluginTypeId, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, SandboxRequestCounter&amp; workerCounter, Boolean returnTraceInfo)</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>OperationStatus</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">0</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>SubErrorCode</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">-2146233088</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>System.NullReferenceException: 未将对象引用设置到对象的实例。&#xD;
在 RWB2016.Plugins.RibbonCustomisationsPlugin.GetRibbonXml(LocalPluginContext localContext, String entityLogicalName, Boolean unzip)&#xD;
在 RWB2016.Plugins.RibbonCustomisationsPlugin.GetRibbonJSON(LocalPluginContext localContext, ITracingService trace, String inputData)&#xD;
在 SparkleXrm.Plugins.Plugin.Execute(IServiceProvider serviceProvider)</Message><Timestamp>2019-03-31T04:31:01.0991255Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource>PluginExecution</ExceptionSource><InnerFault i:nil="true"/><OriginalException>Microsoft.Xrm.Sdk.InvalidPluginExecutionException&#xD;
在 SparkleXrm.Plugins.Plugin.Execute(IServiceProvider serviceProvider)&#xD;
在 Microsoft.Crm.Sandbox.SandboxAppDomainHelper.&lt;&gt;c__DisplayClass14_3.&lt;Execute&gt;b__0()&#xD;
--- 引发异常的上一位置中堆栈跟踪的末尾 ---&#xD;
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xD;
在 Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary`2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext, Boolean enablePluginStackTrace, Boolean chaosFailAppDomain)&#xD;
在 Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary`2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext, Boolean enablePluginStackTrace, Boolean chaosFailAppDomain)&#xD;
在 Microsoft.Crm.Sandbox.SandboxWorker.Execute(SandboxCallInfo callInfo, SandboxPluginExecutionContext requestContext, Guid pluginAssemblyId, Int32 sourceHash, String assemblyName, Guid pluginTypeId, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, SandboxRequestCounter&amp; workerCounter, Boolean returnTraceInfo)</OriginalException><TraceText>&#xD;
[RWB2016.Plugins: RWB2016.Plugins.RibbonCustomisationsPlugin]&#xD;
[ac49cdfa-aeef-e611-81d5-0800278d9765: Ribbon Workbench Action]&#xD;
Starting sync workflow 'CustomiseRibbon', Id: dd683cc6-6153-e911-b0c7-ebaa1c170f49&#xD;
Sync workflow 'CustomiseRibbon' completed successfully&#xD;
&#xD;
Entered RWB2016.Plugins.RibbonCustomisationsPlugin.Execute(), Correlation Id: 0ff962c9-9c44-41f9-99ec-57911e6bb520, Initiating User: 4ee39fe4-7514-e911-b0c5-e03d1ddd85bf&#xD;
RWB2016.Plugins.RibbonCustomisationsPlugin is firing for Entity: none, Message: rwb_CustomiseRibbon, Correlation Id: 0ff962c9-9c44-41f9-99ec-57911e6bb520, Initiating User: 4ee39fe4-7514-e911-b0c5-e03d1ddd85bf&#xD;
Reading operation&#xD;
Running method&#xD;
Exception: System.NullReferenceException: 未将对象引用设置到对象的实例。&#xD;
在 RWB2016.Plugins.RibbonCustomisationsPlugin.GetRibbonXml(LocalPluginContext localContext, String entityLogicalName, Boolean unzip)&#xD;
在 RWB2016.Plugins.RibbonCustomisationsPlugin.GetRibbonJSON(LocalPluginContext localContext, ITracingService trace, String inputData)&#xD;
在 SparkleXrm.Plugins.Plugin.Execute(IServiceProvider serviceProvider), Correlation Id: 0ff962c9-9c44-41f9-99ec-57911e6bb520, Initiating User: 4ee39fe4-7514-e911-b0c5-e03d1ddd85bf&#xD;
Exiting RWB2016.Plugins.RibbonCustomisationsPlugin.Execute(), Correlation Id: 0ff962c9-9c44-41f9-99ec-57911e6bb520, Initiating User: 4ee39fe4-7514-e911-b0c5-e03d1ddd85bf&#xD;
&#xD;
</TraceText></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: An error happened when load solution with ribbon workbench

    Hi,

    Check the version of xrm toolbox. If it is old, try to update it. You don't need to install solution in CRM anymore to use Ribbon Workbench, simply use the plugin available in XRM toolbox.

    www.xrmtoolbox.com/.../RibbonWorkbench2016

    Hope this helps!

  • hellohongfu Profile Picture
    hellohongfu 35 on at
    RE: An error happened when load solution with ribbon workbench

    thanks for you replay, even I change the browser, the error still happen, I change my way to use xrmtool box, the error doesn't happen any more.

    My crm deploy split with front end and backed so does need to set up SPN for sandbox account?

  • Prashant_ Profile Picture
    Prashant_ 1,040 on at
    RE: An error happened when load solution with ribbon workbench

    Sometimes ribbon workbench issue related to browser  however your error shows null reference exceptions from ribbon workbench plugins and work flow somehow those plugins and work flow not able to get ribbon xml from solution entities.

    Make sure to keep one entity in solution and try to open solution in crom or from XRM toolbox.

    Hope this will help you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,399 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans