junit.framework.AssertionFailedError: expected query [select `customer`.`gender` as `c0` from `customer` as `customer`, `sales_fact_1997` as `sales_fact_1997` where `sales_fact_1997`.`customer_id` = `customer`.`customer_id` group by `customer`.`gender` order by ISNULL('c0') ASC, `c0` ASC] did not occur

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by wingman-pentaho
, 7 months ago
expected query [select `customer`.`gender` as `c0` from `customer` as `customer`, `sales_fact_1997` as `sales_fact_1997` where `sales_fact_1997`.`customer_id` = `customer`.`customer_id` group by `customer`.`gender` order by ISNULL(`c0`) ASC, `c0` ASC] did not occur
via GitHub by wingman-pentaho
, 7 months ago
expected query [select `customer`.`gender` as `c0` from `customer` as `customer`, `sales_fact_1997` as `sales_fact_1997` where `sales_fact_1997`.`customer_id` = `customer`.`customer_id` group by `customer`.`gender` order by ISNULL(`c0`) ASC, `c0` ASC] did not occur
via GitHub by lucboudreau
, 10 months ago
expected query [select `customer`.`gender` as `c0` from `customer` as `customer`, `sales_fact_1997` as `sales_fact_1997` where `sales_fact_1997`.`customer_id` = `customer`.`customer_id` group by `customer`.`gender` order by ISNULL('c0') ASC, `c0` ASC] did not occur
via GitHub by wingman-pentaho
, 7 months ago
expected query [select `customer`.`gender` as `c0` from `customer` as `customer`, `sales_fact_1997` as `sales_fact_1997` where `sales_fact_1997`.`customer_id` = `customer`.`customer_id` group by `customer`.`gender` order by ISNULL(`c0`) ASC, `c0` ASC] did not occur
via GitHub by wingman-pentaho
, 11 months ago
expected query [select `store`.`store_country` as `c0`, `store`.`store_state` as `c1` from `store` as `store` group by `store`.`store_country`, `store`.`store_state` having UPPER(c1) REGEXP '.*CA.*' order by ISNULL(`store`.`store_country`) ASC, `store`.`store_country` ASC, ISNULL(`store`.`store_state`) ASC, `store`.`store_state` ASC] did not occur
via Coderanch by y spektory, 1 year ago
Did not find form element with name [is_correct].
junit.framework.AssertionFailedError: expected query [select `customer`.`gender` as `c0` from `customer` as `customer`, `sales_fact_1997` as `sales_fact_1997` where `sales_fact_1997`.`customer_id` = `customer`.`customer_id` group by `customer`.`gender` order by ISNULL('c0') ASC, `c0` ASC] did not occur
at junit.framework.Assert.fail(Assert.java:47)
at mondrian.rolap.BatchTestCase.assertQuerySqlOrNot(BatchTestCase.java:523)

Users with the same issue

Once, 1 week ago
28 times, 2 weeks ago
Once, 2 months ago
4 times, 3 months ago
Once, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.