Question

Stream was not readable when granting activities in IEE

  • 10 March 2022
  • 2 replies
  • 483 views

Userlevel 5
Badge +9

Hi Everyone, 

When I try to grant activities in a permission set I got the following error,

Here is the detail view:

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> Ifs.Fnd.FndSystemException: Unexpected error while calling server method ManagePermissionSets/SavePermissionSet ---> System.ArgumentException: Stream was not readable.

 

Server stack trace:

   at Ifs.Fnd.AccessProvider.FndConnection.CallGetResponse(String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Byte[] requestHeaderBytes, Byte[] requestBodyBytes, FndApfAsyncInvoke asyncInvokeHandle, Boolean integrationGateway)

   at Ifs.Fnd.AccessProvider.FndConnection.AsyncGetResponse(String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Byte[] requestHeaderBytes, Byte[] requestBodyBytes, FndApfAsyncInvoke asyncInvokeHandle, Boolean integrationGateway)

   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:

   at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)

   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)

   at Ifs.Fnd.AccessProvider.FndConnection.GetResponseDelegate.EndInvoke(IAsyncResult result)

   at Ifs.Fnd.AccessProvider.FndConnection.InvokeGetResponse(String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Byte[] requestHeaderBytes, Byte[] requestBodyBytes, Boolean& abandoned, Boolean forcedSync, Boolean integrationGateway)

   at Ifs.Fnd.AccessProvider.FndConnection.InvokeInternal(Object requestBody, Object responseBody, String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Boolean forcedSync, Boolean integrationGateway)

   --- End of inner exception stack trace ---

   at Ifs.Fnd.AccessProvider.Activity.FndActivityDataAdapter.Update()

   at Ifs.Fnd.Feature.FndDataFeatureBase.InvokeSaveMethods()

   at Ifs.Fnd.Feature.FndDataFeatureBase.Save()

   at Ifs.Application.SecurityAdministration.PermissionSetDetail.Save()

   at Ifs.Fnd.Feature.FndDataFeatureBase.commandSave_Execute(Object sender, FndCommandExecuteEventArgs e)

   at Ifs.Fnd.Windows.Forms.FndCommand.OnExecute(Component component)

   at Ifs.Fnd.Windows.Forms.FndToolStripSplitButton.OnButtonClick(EventArgs e)

   at System.Windows.Forms.ToolStripSplitButton.OnMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at Ifs.Fnd.Windows.Forms.FrameworkControls.FndToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at Ifs.Fnd.Windows.Forms.FrameworkControls.FndToolStrip.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

   --- End of inner exception stack trace ---
 

After refreshing dictionary cache still same error exists.  
Any possible solution to resolve this error. 

Best Regards,
Kalana


2 replies

Userlevel 6
Badge +10

Hi @Kalana Rathnayake 

I have seen that this issue might happend due to some resons. first, If you have a load balancer or an external proxy, then there is a chance that the client that initiates the request is closing before receiving a response. This is probably due to a timeout configuration set up in the proxy which you will have to increase so that it will wait longer for the response before closing.

Second could be due to the your server has no enough free space. try to clean up the server space and try it out. 

Apart from those, this cold happen due to other reasons as well. in that case, a deep investigation would be needed. 

Best Regards, 
Kapilan

Userlevel 1
Badge +2

Hi @Kalana Rathnayake ,

Was this issue got fixed as @Thirunavukkarasu Kapilan response?

 

/BR

Reply