Using JAVA api to retrieve Account information problem

Using Java api(edema-api-2.5.918.jar) to retrieve account information,

but get the following error:

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 13
at java.lang.String.substring(Unknown Source)
at com.edmz.api.APICommandLib.extractDateTime(Unknown Source)
at com.edmz.api.APICommandLib.buildAccountList(Unknown Source)
at com.edmz.api.APICommandLib.listAccounts(Unknown Source)
at com.htic.tpam.APIAccountTest.main(APIAccountTest.java:46)

And the following is my code snippet:

......

apiClient.connect(ip);

apiClient.authenticate(authFile, user);

SessionChannelClient scClient = apiClient.createSessionChannel();

APICommandLib apiCommandLib = new APICommandLib(scClient);

AccountFilter accFilter = new AccountFilter();

ListResult listResult = new ListResult();

List<Account> accounts = new ArrayList<Account>();

apiCommandLib.listAccounts(accFilter, listResult, accounts);

System.out.println("Return Code: " + listResult.getReturnCode());

System.out.println("Display Error String: " + apiCommandLib.getErrorString());

System.out.println("Row Count: " + listResult.getRowCount());

.......

 

very appriciate for any help

Andy