[#12086] - XtextReconcilerJob IllegalArgumentException: SelectQuery.op does not exist

Bug report
Project: Severity:
Component: Reproducibility:
Assigned to:

Every keystroke in the Dataset and Query Dialog box while entering a query is throwing a popup saying:

An internal error occurred during: "XtextReconcilerJob".
java.lang.IllegalArgumentException: SelectQuery.op does not exist

The log in .metadata/.log has this stack trace:

!ENTRY org.eclipse.core.jobs 4 2 2019-08-28 15:55:50.052
!MESSAGE An internal error occurred during: "XtextReconcilerJob".
org.eclipse.xtext.parser.ParseException: java.lang.IllegalArgumentException: SelectQuery.op does not exist
at org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:105)
at org.eclipse.xtext.parser.antlr.AbstractAntlrParser.parse(AbstractAntlrParser.java:84)
at org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:62)
at org.eclipse.xtext.parser.AbstractParser.parse(AbstractParser.java:33)
at org.eclipse.xtext.resource.XtextResource.doLoad(XtextResource.java:176)
at org.eclipse.xtext.linking.lazy.LazyLinkingResource.doLoad(LazyLinkingResource.java:100)
at org.eclipse.xtext.resource.XtextResource.reparse(XtextResource.java:213)
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.modify(XtextDocument.java:464)
at org.eclipse.xtext.ui.editor.model.XtextDocument.internalModify(XtextDocument.java:162)
at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(XtextReconciler.java:360)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: org.eclipse.emf.common.util.WrappedException: java.lang.IllegalArgumentException: SelectQuery.op does not exist
at org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:579)
at org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:102)
... 10 more
Caused by: java.lang.IllegalArgumentException: SelectQuery.op does not exist
at org.eclipse.xtext.parser.DefaultEcoreElementFactory.add(DefaultEcoreElementFactory.java:108)
at org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.add(AbstractInternalAntlrParser.java:350)
at org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.add(AbstractInternalAntlrParser.java:357)
at com.jaspersoft.studio.data.parser.antlr.internal.InternalSqlParser.ruleSelectQuery(InternalSqlParser.java:1403)
at com.jaspersoft.studio.data.parser.antlr.internal.InternalSqlParser.ruleModel(InternalSqlParser.java:359)
at com.jaspersoft.studio.data.parser.antlr.internal.InternalSqlParser.entryRuleModel(InternalSqlParser.java:234)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:556)
... 11 more

I am forced to enter all my text in a text editor and then copy/paste to the dialog.

It seemed to be working until I went for lunch and my machine went to sleep - upon awakening, this error started to occur.
I have deleted JasperStudio and re-installed, the problem persists. I rebooted - no change.

Dataset and Query Dialog
andrew.kerr's picture
Joined: Aug 10 2017 - 10:42am
Last seen: 1 year 4 months ago



It may have never been working. I've checked with some colleagues and they see the same issue.
I'm on RHEL 7.6


This also happens with Jasper Studio 6.11, windows 10 operating system, java 8


Any updates on this? It happens to me as well, in both 6.11 and 6.12, on Windows 10.

  • Status:New» Feedback Requested

Hi guys, can you provide details about the configuration you have?
I mean, do you work with the stand-alone RCP product version or the Eclipse plug-in one?
In both cases specify if you performed specific JSS/Eclipse upgrades moving from a version to another. It would help a lot in debugging what is the source cause for the issue. It could be somehow related to an Xtext upgrade under the hood that caused some issue.

*From our latest tests on a Windows 10 installation of 6.12.2 the problem was not verified*

Thanks in advance.
Best regards,

  • Resolution:Open» Unable to Reproduce
  • Status:Feedback Requested» Closed
  • Resolution:Unable to Reproduce» Reopened
  • Status:Closed» Feedback Requested

Hi Massimo. This just started happening to me seemingly out of no where. I think I am using the stand-alone RCP product version. I did not perform specific JSS/Eclipse upgrades moving from a version to another. I just uninstalled and reinstalled JasperSoft Studio and the problem persists upon using the 'Dataset and Query Dialog'. Please see the screenshot attached. Let me know if you need any further information.


  • Resolution:Reopened» Fixed
  • Status:Feedback Requested» Resolved
  • Assigned:nobody» mrabbi

Hi please, give a look at my last comment entered here: https://community.jaspersoft.com/jaspersoft-studio/issues/13476
In the Community Bug #13476, I explained the investigation performed starting from the sample query they provided.

I hope the problem is now gone.
That said, it might well be there are other scenarios that can trigger this internal Xtext issue.

Best regards,

  • Assigned:nobody»

Using both "with(index())" and "union all" can cause the error "SelectQuery.op does not exist",
shown as below:

with testa as (
select * from test

select * from (
select *
from testa
where product = '1'
union all
select *
from testa
where product = '2'
) testb