You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like there is an ")" in the sql that needs to be removed.
Oct 20, 2022 2:03:14 PM org.hibernate.hql.internal.ast.ErrorTracker reportError
ERROR: line 1:207: expecting EOF, found ')'
Oct 20, 2022 2:03:14 PM org.hibernate.hql.internal.ast.ErrorTracker reportError
ERROR: line 1:207: expecting EOF, found ')'
line 1:207: expecting EOF, found ')'
at antlr.Parser.match(Parser.java:211)
at org.hibernate.hql.internal.antlr.HqlBaseParser.statement(HqlBaseParser.java:217)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:294)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:189)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:144)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:113)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:73)
at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:162)
at org.hibernate.internal.AbstractSharedSessionContract.getQueryPlan(AbstractSharedSessionContract.java:636)
at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:748)
at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:114)
at gov.epa.emissions.framework.services.data.DatasetDAO.notUsedByTemporalAllocations(DatasetDAO.java:1361)
at gov.epa.emissions.framework.services.data.DataServiceImpl.getNotRefdDatasetIds(DataServiceImpl.java:475)
at gov.epa.emissions.framework.services.data.DataServiceImpl.getRemovableDatasets(DataServiceImpl.java:430)
at gov.epa.emissions.framework.services.data.DataServiceImpl.deleteDatasets(DataServiceImpl.java:359)
at gov.epa.emissions.framework.services.cost.ControlStrategyDAO.deleteDatasets(ControlStrategyDAO.java:417)
at gov.epa.emissions.framework.services.cost.ControlStrategyDAO.removeResultDatasets(ControlStrategyDAO.java:399)
at gov.epa.emissions.framework.services.cost.analysis.common.AbstractStrategyTask.deleteStrategyResults(AbstractStrategyTask.java:244)
at gov.epa.emissions.framework.services.cost.analysis.projectFutureYearInventory.StrategyTask.run(StrategyTask.java:44)
at gov.epa.emissions.framework.services.cost.StrategyTask.run(StrategyTask.java:63)
at gov.epa.emissions.framework.services.GCEnforcerTask.run(GCEnforcerTask.java:23)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Thread.java:832)
[Thread-2] ERROR gov.epa.emissions.framework.services.data.DataServiceImpl - Error checking dataset usage:
java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: expecting EOF, found ')' near line 1, column 207 [select DISTINCT tA.monthlyProfileDataset, tA.name from gov.epa.emissions.framework.services.tempalloc.TemporalAllocation tA where tA.monthlyProfileDataset.id = 505452 OR tA.monthlyProfileDataset.id = 505451)]
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:138)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188)
at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:757)
at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:114)
at gov.epa.emissions.framework.services.data.DatasetDAO.notUsedByTemporalAllocations(DatasetDAO.java:1361)
at gov.epa.emissions.framework.services.data.DataServiceImpl.getNotRefdDatasetIds(DataServiceImpl.java:475)
at gov.epa.emissions.framework.services.data.DataServiceImpl.getRemovableDatasets(DataServiceImpl.java:430)
at gov.epa.emissions.framework.services.data.DataServiceImpl.deleteDatasets(DataServiceImpl.java:359)
at gov.epa.emissions.framework.services.cost.ControlStrategyDAO.deleteDatasets(ControlStrategyDAO.java:417)
at gov.epa.emissions.framework.services.cost.ControlStrategyDAO.removeResultDatasets(ControlStrategyDAO.java:399)
at gov.epa.emissions.framework.services.cost.analysis.common.AbstractStrategyTask.deleteStrategyResults(AbstractStrategyTask.java:244)
at gov.epa.emissions.framework.services.cost.analysis.projectFutureYearInventory.StrategyTask.run(StrategyTask.java:44)
at gov.epa.emissions.framework.services.cost.StrategyTask.run(StrategyTask.java:63)
at gov.epa.emissions.framework.services.GCEnforcerTask.run(GCEnforcerTask.java:23)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: expecting EOF, found ')' near line 1, column 207 [select DISTINCT tA.monthlyProfileDataset, tA.name from gov.epa.emissions.framework.services.tempalloc.TemporalAllocation tA where tA.monthlyProfileDataset.id = 505452 OR tA.monthlyProfileDataset.id = 505451)]
at org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:74)
at org.hibernate.hql.internal.ast.ErrorTracker.throwQueryException(ErrorTracker.java:93)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:301)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:189)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:144)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:113)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:73)
at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:162)
at org.hibernate.internal.AbstractSharedSessionContract.getQueryPlan(AbstractSharedSessionContract.java:636)
at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:748)
... 13 more
The text was updated successfully, but these errors were encountered:
Looks like there is an ")" in the sql that needs to be removed.
Oct 20, 2022 2:03:14 PM org.hibernate.hql.internal.ast.ErrorTracker reportError
ERROR: line 1:207: expecting EOF, found ')'
Oct 20, 2022 2:03:14 PM org.hibernate.hql.internal.ast.ErrorTracker reportError
ERROR: line 1:207: expecting EOF, found ')'
line 1:207: expecting EOF, found ')'
at antlr.Parser.match(Parser.java:211)
at org.hibernate.hql.internal.antlr.HqlBaseParser.statement(HqlBaseParser.java:217)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:294)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:189)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:144)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:113)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:73)
at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:162)
at org.hibernate.internal.AbstractSharedSessionContract.getQueryPlan(AbstractSharedSessionContract.java:636)
at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:748)
at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:114)
at gov.epa.emissions.framework.services.data.DatasetDAO.notUsedByTemporalAllocations(DatasetDAO.java:1361)
at gov.epa.emissions.framework.services.data.DataServiceImpl.getNotRefdDatasetIds(DataServiceImpl.java:475)
at gov.epa.emissions.framework.services.data.DataServiceImpl.getRemovableDatasets(DataServiceImpl.java:430)
at gov.epa.emissions.framework.services.data.DataServiceImpl.deleteDatasets(DataServiceImpl.java:359)
at gov.epa.emissions.framework.services.cost.ControlStrategyDAO.deleteDatasets(ControlStrategyDAO.java:417)
at gov.epa.emissions.framework.services.cost.ControlStrategyDAO.removeResultDatasets(ControlStrategyDAO.java:399)
at gov.epa.emissions.framework.services.cost.analysis.common.AbstractStrategyTask.deleteStrategyResults(AbstractStrategyTask.java:244)
at gov.epa.emissions.framework.services.cost.analysis.projectFutureYearInventory.StrategyTask.run(StrategyTask.java:44)
at gov.epa.emissions.framework.services.cost.StrategyTask.run(StrategyTask.java:63)
at gov.epa.emissions.framework.services.GCEnforcerTask.run(GCEnforcerTask.java:23)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Thread.java:832)
[Thread-2] ERROR gov.epa.emissions.framework.services.data.DataServiceImpl - Error checking dataset usage:
java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: expecting EOF, found ')' near line 1, column 207 [select DISTINCT tA.monthlyProfileDataset, tA.name from gov.epa.emissions.framework.services.tempalloc.TemporalAllocation tA where tA.monthlyProfileDataset.id = 505452 OR tA.monthlyProfileDataset.id = 505451)]
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:138)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188)
at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:757)
at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:114)
at gov.epa.emissions.framework.services.data.DatasetDAO.notUsedByTemporalAllocations(DatasetDAO.java:1361)
at gov.epa.emissions.framework.services.data.DataServiceImpl.getNotRefdDatasetIds(DataServiceImpl.java:475)
at gov.epa.emissions.framework.services.data.DataServiceImpl.getRemovableDatasets(DataServiceImpl.java:430)
at gov.epa.emissions.framework.services.data.DataServiceImpl.deleteDatasets(DataServiceImpl.java:359)
at gov.epa.emissions.framework.services.cost.ControlStrategyDAO.deleteDatasets(ControlStrategyDAO.java:417)
at gov.epa.emissions.framework.services.cost.ControlStrategyDAO.removeResultDatasets(ControlStrategyDAO.java:399)
at gov.epa.emissions.framework.services.cost.analysis.common.AbstractStrategyTask.deleteStrategyResults(AbstractStrategyTask.java:244)
at gov.epa.emissions.framework.services.cost.analysis.projectFutureYearInventory.StrategyTask.run(StrategyTask.java:44)
at gov.epa.emissions.framework.services.cost.StrategyTask.run(StrategyTask.java:63)
at gov.epa.emissions.framework.services.GCEnforcerTask.run(GCEnforcerTask.java:23)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: expecting EOF, found ')' near line 1, column 207 [select DISTINCT tA.monthlyProfileDataset, tA.name from gov.epa.emissions.framework.services.tempalloc.TemporalAllocation tA where tA.monthlyProfileDataset.id = 505452 OR tA.monthlyProfileDataset.id = 505451)]
at org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:74)
at org.hibernate.hql.internal.ast.ErrorTracker.throwQueryException(ErrorTracker.java:93)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:301)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:189)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:144)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:113)
at org.hibernate.engine.query.spi.HQLQueryPlan.(HQLQueryPlan.java:73)
at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:162)
at org.hibernate.internal.AbstractSharedSessionContract.getQueryPlan(AbstractSharedSessionContract.java:636)
at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:748)
... 13 more
The text was updated successfully, but these errors were encountered: