找回密码
 立即注册
搜索

1126

主题

1328

帖子

4109

积分

管理员

【UiPath从入门到精通系列课程】第十六课--UiPath调用Java

1409 3
2019-9-17 23:03:48
显示全部楼层
RPA之家(www.rpazj.com),RPA培训第一品牌,学习RPA,就上RPA之家。
回复

使用道具 举报

1

主题

2

帖子

13

积分

新手上路

2019-9-27 18:13:41
显示全部楼层
11111111111111
回复

使用道具 举报

0

主题

2

帖子

8

积分

新手上路

2019-10-2 13:40:30
显示全部楼层
问下:运行时报如下错误
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)
        --- End of inner exception stack trace ---
   at UiPath.Java.Service.JavaResponse.Deserialize(String json)
   at UiPath.Java.Service.JavaService.<RequestAsync>d__8.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.<SendJavaRequest>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.<InvokeMethod>d__14.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.InvokeJavaMethod.<ExecuteAsync>d__16.MoveNext()
        --- End of inner exception stack trace ---
   at UiPath.Java.Activities.InvokeJavaMethod.<ExecuteAsync>d__16.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)
回复

使用道具 举报

0

主题

2

帖子

6

积分

新手上路

2020-4-8 10:11:18
显示全部楼层
请问:运行报这个错误要怎么解决
Java Scope: Error intializing Java : System.NullReferenceException: Object reference not set to an instance of an object.
   at UiPath.Java.Service.JavaService.<StartServiceAsync>b__7_2(IAsyncResult ar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- 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.Service.JavaService.<StartServiceAsync>d__7.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.<StartJavaService>d__10.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.JavaScope.<ExecuteAsync>d__12.MoveNext()
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册