Solved

K2 4.7 Studio workflow error when trying to browse smartobjects through the context browser

  • 13 February 2020
  • 4 replies
  • 3 views

Badge +4

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()

icon

Best answer by khanh1 17 February 2020, 17:06

View original

4 replies

Userlevel 6
Badge +16

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?


 



 

Badge +4

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.

Userlevel 6
Badge +16

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