The problem is with queries that include both a literal and a empty string. For example:
MV:LIST VOC WITH F1 "F" ""
[7012] CMQL: Fatal internal error - invalid query tree.
Please prepare the following information and contact Intersystems support:
o As much detail as possible regarding the CMQL statement
o As much detail as possible regarding the DICT of the file(s) in question
o Provide the information between the == lines below
===========================================================================
Exception message : org.antlr.runtime.UnwantedTokenException
Recognizer line : 0
Tree line :
Node description :
===========================================================================
Same error for:
MV:LIST VOC WITH F1 EQ "F" OR ""
This problem happens in:
2015.3
2016.1
2016.2
Should you be running on an affected release and suspect that this might cause a problem, contact InterSystems Support to discuss this and request a build that fixes this problem.