Skip to main content

I am trying to deploy a package made from a lower environment to the higher environment. 

P & D tool throws Value cannot be NUll exception ; How do I know more about what the issue is? This error is pretty generic.

 

Package and Deployment Throwing System.ArgumentNullException: Value cannot be null. exception - Unabel to depploy the package , preventing suers from Testing application.


System.ArgumentNullException: Value cannot be null.
Parameter name: Property return type cannot be null

Server stack trace:
at SourceCode.Management.Controls.DeploySelectPackage.BeginUpload()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Objectc] args, Object server, Objectc]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at t0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at System.Func`1.EndInvoke(IAsyncResult result)
at SourceCode.Management.Controls.DeploySelectPackage.EndUpload(IAsyncResult ar)

Hi,


May I know what do you mean by "from a lower environment to the higher environment"? Are both environments on the same version of K2, with the same CU and FPs applied?


 


Hello  @nagrotteGA 

 

Here are topics that are similar and or of the same nature with solutions:

 

K2 Package and Deployment tool throws exception

https://community.k2.com/t5/K2-blackpearl-Articles/K2-Package-and-Deployment-tool-throws-exception/ta-p/89457

 

 

Workflow error: 28083 ServerEvent: A list can only be used in an expression ...

https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/Workflow-error-28083-ServerEvent-A-list-can-only-be-used-in-an/td-p/95330

 

 

When starting k2 blackpearl service it cannot connect to the sql server database

https://community.k2.com/t5/K2-blackpearl-Articles/When-starting-k2-blackpearl-service-it-cannot-connect-to-the-sql/ta-p/82106

 

 

I think this would be of great help.

 


Hi,

 

I have the same issue than you. 

Do you still have this issue ? If no, how do you fix it ?

 

Thx


Hi NagrotteGA


 


This issue was resolved by applying K2 5.3 FP 22  before and the customer was able to deploy this to QA. Please see FP 7 (https://help.k2.com/kb003230) for the fix.


 


I will suggest you update you machine to the latest FP, let me know if the issue has been resolved.


 


Regards


Elvis


Good day  @nagrotteGA,


To answer your question precisely of "How do I know more about what the issue is because the error message seems generic?"


You should observe host server logs from your environment as they will usually point out the issue specifically but for further additional formation, the issue is mostly caused by the error of: "30003 Object reference not set to an instance of an object".
Which is a known issue whereby a View or Views still contain a reference to the missing SmartObject property.


This usually indicates that a Smart object used by the Form/View could not be found or has an issue it may have been deleted or recreated with a different GUID.


Referencing(1): https://community.k2.com/t5/K2-blackpearl-Articles/package-and-deployment-30003-ViewService-error/ta-p/86395?nobounce


Referencing(2): https://community.k2.com/t5/K2-blackpearl-Articles/Object-reference-not-set-to-an-instance-of-an-objects/ta-p/90021


Applying the latest fix-pack on your environment will resolve this issue as we are aware of it and have made a fix for it on our latest fix-pack.


You can download your latest fix-pack from here:https://help.k2.com/kb003094


 


Kind regards,


Dumisani


Reply