LeanFT error using Maven

Question ID: 107192
1
0

We are trying to set up LeanFT to use Maven in Eclipse and are getting the following error:

**com.hp.lft.sdk.GeneralLeanFtException: An Internal problem has occurred, please make sure the LeanFT sdk was properly initialized.**

We haven’t been able to figure out how to resolve it. Has anyone seen this before?

Marked as spam
Posted by (Questions: 384, Answers: 61)
Asked on October 21, 2016 3:32 pm
88 views
Answers (1)
1
Private answer

We saw this issue too and were able to resolve it by adding these 4 lines of code, which we found on this web page:

[http://leanft-help.saas.hp.com/en/12.53/HelpCenter/Content/HowTo/CustomFrameworks.htm?Highlight=setServerAddress][1]

ModifiableSDKConfiguration config = new ModifiableSDKConfiguration();
config.setServerAddress(new URI(''ws://myServerAddress:5095''));
SDK.init(config);
Reporter.init();

We added this to
Just change the 'myServerAddress' to your server's URL and it should work.

[1]: http://leanft-help.saas.hp.com/en/12.53/HelpCenter/Content/HowTo/CustomFrameworks.htm?Highlight=setServerAddress

Marked as spam
Posted by (Questions: 16, Answers: 806)
Answered on October 21, 2016 3:33 pm
That worked for us too.
( at October 21, 2016 3:34 pm)
EyeOnTesting