Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Urgent - Cannot run newly created indicators #163

Open
subodhamanoj opened this issue Nov 15, 2020 · 5 comments
Open

Urgent - Cannot run newly created indicators #163

subodhamanoj opened this issue Nov 15, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@subodhamanoj
Copy link
Collaborator

Cannot run newly created indicators. But previously created indicators seem to rum properly.

HTTP Status 500 - Internal Server Error

type Exception report

messageInternal Server Error

descriptionThe server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: javax.ejb.EJBException: An exception occurred while creating a query in EntityManager:
Exception Description: Syntax error parsing [ select count(distinct c) from Client c, ClientEncounterComponentItem i1, ClientEncounterComponentItem i2 where c.id=i1.itemClient.id and c.id=i2.itemClient.id and i1.item=:v1 and and i2.item=:v2 and i2.itemValue=:d2 and c.retired=:f and c.createdAt between :date1 and :date2 and c.person.district=:area ].
[185, 185] The right expression is missing from the logical expression.

root cause

javax.faces.el.EvaluationException: javax.ejb.EJBException: An exception occurred while creating a query in EntityManager:
Exception Description: Syntax error parsing [ select count(distinct c) from Client c, ClientEncounterComponentItem i1, ClientEncounterComponentItem i2 where c.id=i1.itemClient.id and c.id=i2.itemClient.id and i1.item=:v1 and and i2.item=:v2 and i2.itemValue=:d2 and c.retired=:f and c.createdAt between :date1 and :date2 and c.person.district=:area ].
[185, 185] The right expression is missing from the logical expression.

root cause

javax.ejb.EJBException: An exception occurred while creating a query in EntityManager:
Exception Description: Syntax error parsing [ select count(distinct c) from Client c, ClientEncounterComponentItem i1, ClientEncounterComponentItem i2 where c.id=i1.itemClient.id and c.id=i2.itemClient.id and i1.item=:v1 and and i2.item=:v2 and i2.itemValue=:d2 and c.retired=:f and c.createdAt between :date1 and :date2 and c.person.district=:area ].
[185, 185] The right expression is missing from the logical expression.

root cause

java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Exception Description: Syntax error parsing [ select count(distinct c) from Client c, ClientEncounterComponentItem i1, ClientEncounterComponentItem i2 where c.id=i1.itemClient.id and c.id=i2.itemClient.id and i1.item=:v1 and and i2.item=:v2 and i2.itemValue=:d2 and c.retired=:f and c.createdAt between :date1 and :date2 and c.person.district=:area ].
[185, 185] The right expression is missing from the logical expression.

root cause

Exception [EclipseLink-0] (Eclipse Persistence Services - 2.7.6.payara-p1): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Syntax error parsing [ select count(distinct c) from Client c, ClientEncounterComponentItem i1, ClientEncounterComponentItem i2 where c.id=i1.itemClient.id and c.id=i2.itemClient.id and i1.item=:v1 and and i2.item=:v2 and i2.itemValue=:d2 and c.retired=:f and c.createdAt between :date1 and :date2 and c.person.district=:area ].
[185, 185] The right expression is missing from the logical expression.

note The full stack traces of the exception and its root causes are available in the Payara Server 5.2020.4 #badassfish logs.
Payara Server 5.2020.4 #badassfish

@diniduhewage
Copy link
Contributor

Can you please add the necessary info to re-create this issue in the application? Like the indicator code.

@subodhamanoj
Copy link
Collaborator Author

Number of male participants with BMI between 18-22.9 Kg/m2 | bmi_17.99to23_male |   |

@subodhamanoj
Copy link
Collaborator Author

Analysis > queries > counts > bmi > Number of male participants with BMI between 18-22.9 Kg/m2

Period: 4th quarter 2020

district: Gampaha

@dilrush14
Copy link
Contributor

dilrush14 commented Nov 15, 2020

Did You upload the file?

@subodhamanoj
Copy link
Collaborator Author

Dr. Buddhika will teach you today !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants