JavaClient Plug-In: CountRecords() With 0 Records Found Throws Exception (Doc ID 1905195.1)

Last updated on JULY 14, 2016

Applies to:

Oracle Agile Engineering Data Management - Version 6.1.3.0 and later
Information in this document applies to any platform.

Symptoms

On Oracle Agile e6.1.3, WebServices

Find that method
axalantWidget.countRecords(querySelection)
returns an exception if the querySelection delivers 0 records:

Exception in runnable
com.agile.eci.CallException: Anzahl gefundener Datensõtze = 0 ! [err=53]
  at com.agile.eci.EciCon.callServer(EciCon.java:694)
  at com.agile.eci.EciCon.call(EciCon.java:549)
  at com.agile.eci.EciConPool.call(EciConPool.java:463)
  at com.agile.er.axalant.AxalantRepository.callEci(AxalantRepository.java:2896)
  at com.agile.er.axalant.AxalantRepository.callEci(AxalantRepository.java:2878)
  at com.agile.er.axalant.AxalantMapEntry.callEci(AxalantMapEntry.java:137)
  at com.agile.er.axalant.AxalantWidget.countOnServer(AxalantWidget.java:3670)
  at com.agile.er.axalant.AxalantWidget.countRecords(AxalantWidget.java:3354)
  at com.icp.ila.ILA_DataReader.(ILA_DataReader.java:34)

Expected Behavior:
==============
no exception should be returned


The issue can be reproduced at will with the following steps:
==========================================
1. Call an external program that calls method
axalantWidget.countRecords(querySelection)
through the WebServices
2. Provide a "querySelection" that returns no records
3. On executing the above method the error message appears.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms