Aggregate Exception while invoking java code from UIpath

Hi All, I m getting a System.AggregateException, when I try to invoke java code from uipath. An error always pointed to Invoke Java method, the path of the jar file and method name are proper. please suggest me some solutions for this. I have attached the Exception screenshot for your reference.

Hi, I got the same error. The exception details are:

RemoteException wrapping System.AggregateException: One or more errors occurred. —> RemoteException wrapping System.InvalidOperationException: The method could not be invoked. —> RemoteException wrapping System.InvalidOperationException: The result from java could not be deserialized. —> RemoteException wrapping System.ArgumentNullException: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at UiPath.Java.Service.JavaResponse.Deserialize(String json)
Did you found a way to solve the problem?

Hello everybody,

I have the same issue. Have you found a fix to this error ?

Regards

Hi @Palaniyappan could you please help with the above issues in order to solve aggregate function issues while invoking the jar file.

Hi for me this issue is resolved, i gave wrong path in the Load jar activity.
Now i gave only the path of the jar, previously i passed the parameter also.
@Palaniyappan Thank you.

1 Like

Perfect
Welcome to uipath community :raised_hands:t2:
@gurucharansimha5