Exception thrown when executing Collocated query -SRC_A - TRANSF00009 : java.lang.IllegalArgumentException:"

Exception thrown when executing Collocated query -SRC_A - TRANSF00009 : java.lang.IllegalArgumentException:"

book

Article ID: KB0091181

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Exception thrown when execute Collocated query  - SRC_A -> TRANSF00009 : java.lang.IllegalArgumentException:"

Environment:
===========
TIBCO BuisinessEvents
All Operating Systems


Symptoms:
=========
Exception:
Error [SnapshotQueryManager-1] - [query.stream] [QA] SRC_A -> TRANSF00009 : java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: wrong number of arguments
com.tibco.cep.query.stream.monitor.CustomException: SRC_A -> TRANSF00009 : java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: wrong number of arguments
    at com.tibco.cep.query.stream.core.AbstractStream.process(AbstractStream.java:166)


Cause:
======
Query includes an aggregate functions (e.g. sum()) but there is no group by clause in the query.

Example:
SELECT sum(prop1 )FROM /Concepts/Testsupport;

Resolution:
========
Add group by clause to the query

Example:
SELECT sum(prop1 )FROM /Concepts/Testsupport group by prop1;

Issue/Introduction

Exception thrown when executing Collocated query -SRC_A - TRANSF00009 : java.lang.IllegalArgumentException:"