Issue
When trying to access K2 Management the following error appears, "Required field is empty Parameter name: methodInfo".
Symptoms
Below is the full details of the error received:
Required field is empty Parameter name: methodInfo
• Type:
SourceCode.SmartObjects.Client.SmartObjectException
• Source:
SourceCode.SmartObjects.Client
• Method Base
• Member Type:
Method
• Name:
GetSmartObjectReader
• Module
• Scope Name:
SourceCode.SmartObjects.Client.dll
• Declaring Type
• Full Name:
SourceCode.SmartObjects.Client.SmartObjectClientServer
• Stack Trace:
"at SourceCode.SmartObjects.Client.SmartObjectClientServer.GetSmartObjectReader(SmartObject smartObject, ExecuteListReaderOptions options, Dictionary`2& propertyReference)
at SourceCode.Forms.AppFramework.FormsApiToXml.GetSmartObjectReader(ExecuteListReaderOptions options)
at SourceCode.Forms.AppFramework.FormsApiToXml.ToListResults(SmartMethodBase executedMethod, Boolean overrideListCount)
at SourceCode.Forms.AppFramework.FormRuntime.SmartObjectExecution(BrokerSmartObject brokerSmo, SmartObjectBrokerMetaData brokerMetaData, Boolean outputDependencies, SmartObjectClientServer smoClientServer, Queue`1 soInstances)
at SourceCode.Forms.AppFramework.FormRuntime.WorkXmlToApi(BrokerPackageCollection packages, SmartObjectClientServer smoClientServer)
at SourceCode.Forms.AppFramework.FormRuntime.WorkXmlToApi(Stream input, Stream output)
at SourceCode.Forms.Runtime.AJAXCall.ProcessRequestInternal(HttpContext context)"
Resolution
To resolve the issue, run a Repair via the Setup.exe manager. This will cause re-initialization and resolving the issue, to allow you to access K2 Management. This can also be resolved by installing the latest Fixpack.
Note: When running a Repair beware that all customization will be lost. Also K2 will reset to a default version prior to any Fixpacks being installed. This will require you to reinstall any Fixpacks that were previous applied to the environment.