public class Actions
{
UDMSClient client = new UDMSClient ("d:/Client.xml");
public int init() throws Throwable
{
return 0;
}//end of init
public int action() throws Throwable
{
TaskManager taskmanager= client.getTaskManager();
SearchEngine searchEngine = ((RemoteTaskManager)
taskmanager).getSearchEngine();
InputStream input = new FileInputStream(new File("d:/Search.xml"));
//lr.start_transaction("Search");
ResultList resultList = searchEngine.service(input);
//lr.end_transaction("Search", lr.PASS);
return 0;
}//end of action
public int end() throws Throwable
{
client.close();
return 0;
}//end of end
}
在Eclipse中代码正确、能正常的查询出数据
但是在LR场景中运行的时候提示
Error (-17998): Failed to get [param not passed in call] thread TLS entry错误
请大虾们帮忙看一下该怎的解决的?