Skip to main content

K2 4.7 Studio workflow error when trying to browse smart objects through the context browser or through explorer.

Error :

System.NullReferenceException: Object reference not set to an instance of an object.
at SourceCode.Workflow.Common.HostedServers.SmartObjects.GetSmartObjectGuidCollectionForCategory(Int32 categoryId)
at SourceCode.Plugins.SmartObjectBrowser.Framework.ServerItem.OnLoadItems()

Hi JPG079,


 


Do you happen to know if this is occurred to specific SmartObject? If you browse to the SmartObject Server without opening the K2 solution, then does it work?


 



 


It happens on every smart object server folder when in the solution. It does not happen when I am not in the Solution.   


Hi JPG079,


 


Are on any CU or FP ? have you tried to download the most recent CU for 4.7 which is 4.7 Decemeber 2019 CU, did this help ? for more details on the CU kindly checkout the below link


https://help.k2.com/kb003413



Should you feel that this post is of use and or an accurate solution to the raised question, I kindly encourage you to mark it as such
using the 'Mark as Solution', 'Kudo' andor ‘Me Too’ options.


 


Cheers,
Kate


 


K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.


Hi JPG079,


 


The error might be related to a parent Category ID that is no longer exists but still being referenced by somewhere. Perhaps the  following documentation might help with the issue.


https://help.k2.com/support-services/kbt133606


 


Reply