when I tryed to call Java code,which inserting data into DB postgre ,I got some err msg like:
[System.NullReferenceException: Object reference not set to an instance of an object.\r\n at UiPath.Java.JavaObject.ConvertT\r\n at UiPath.Java.Activities.ConvertJavaObject`1.Execute(CodeActivityContext context)\r\n at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)\r\n at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)\r\n at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)",
“level”: “Information”,
“logType”: “User”,
“timeStamp”: “09:37:03”,
“fileName”: “Main”,
“processVersion”: “1.0.0”,
“jobId”: “…”,
“robotName”: “…”,
“machineId”: 0
} ]
my Java code can be executed successfully by myself, how can I deal with this problem hope someone can help me ,thx
thx for help,now I can execute Java code successfully,but another problem occured,I try to execute SQL for DB postgre,when I ran the UIpath program to call it ,it showed me:‘java.sql.SQLException: No suitable driver found for jdbc:postgresql://IP:Port/DBName‘, have u seen this problem before?