Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

Create Java Object throws an error - System.InvalidOperationException: Constructor could not be called

$
0
0

Hi
I have similar error after I followed the Run Object method example :

RemoteException wrapping System.AggregateException: One or more errors occurred. —> RemoteException wrapping System.InvalidOperationException: Constructor could not be called. —> RemoteException wrapping System.InvalidOperationException: The target type was not found.

at UiPath.Java.Service.JavaResponse.ThrowExceptionIfNeeded()
at UiPath.Java.JavaInvoker.d__17.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Java.JavaInvoker.d__15.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Java.Activities.CreateJavaObject.d__8.MoveNext()
— End of inner exception stack trace —
at UiPath.Java.Activities.CreateJavaObject.d__8.MoveNext()
— End of inner exception stack trace —
at UiPath.Shared.Activities.AsyncTaskCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

I’m using a jar file that I got for the purpose of integrating with Isabel Connect : Maven Central Repository Search

I created the java object based on the :“com.ibanity.apis.client.http.service.impl.IbanityHttpSignatureServiceImpl” (Target Type) and with a string (uipath) parameter that need to sent to the method as a java variable that is an Object (java.io.InputStream) .
the Method invoked is : “getDigestHeader”
Is this problem, mentioned above resolved ?

13 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>