Bug #120463 Index was out of range
Submitted: 12 May 21:21
Reporter: Gabriel Perez Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[12 May 21:21] Gabriel Perez
Description:
MySQL Workbench has encountered a problem
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
We are sorry for the inconvenience but an unexpected exception has been raised by one of the MySQL Workbench modules. In order to fix this issue we would kindly ask you to file a bug report. You can do that by pressing the [Report Bug] button below.
ease make sure to include a detailed description of your actions that lead to this problem.
Thanks a lot for taking the time to help us improve MySQL Workbench!
The MySQL Workbench Team

How to repeat:
SELECT
	substring(t.name, 19, 5) as Julian_Date,
    COUNT(case when tp.exitcompletioncode in ('PASS') then t.name end) as Pass,
    COUNT(case when tp.exitcompletioncode in ('FAIL') then t.name end) as Fail
    from thing_a t
    JOIN thing t2 on t.parentid = t2.id
    JOIN thingpath tp on t2.id = tp.thingid
    WHERE 0=0
    AND tp.flowstepname in ('PMD2-40230')
    AND locate('asy', t.description)
    AND tp.exited > now() - interval 1 day
    GROUP BY Julian_Date