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

Dashboard crashes after a day of operation #1237

Open
kasunbg opened this issue Jul 20, 2019 · 0 comments
Open

Dashboard crashes after a day of operation #1237

kasunbg opened this issue Jul 20, 2019 · 0 comments

Comments

@kasunbg
Copy link
Member

kasunbg commented Jul 20, 2019

Description:
The dashboard keeps crashing after a day of operation. Following error log was observed in logs. We need to upgrade eclipselink jpa library.

05:26:21.444 [https-jsse-nio-8443-exec-6] ERROR org.wso2.testgrid.web.api.ProductService - Error occurred while fetching the Product statuses 
org.wso2.testgrid.dao.TestGridDAOException: Error occurred when searching for entity.
	at org.wso2.testgrid.dao.repository.AbstractRepository.findAll(AbstractRepository.java:165) ~[org.wso2.testgrid.dao-1.0.5-SNAPSHOT.jar:1.0.5-SNAPSHOT]
	at org.wso2.testgrid.dao.repository.ProductRepository.findAll(ProductRepository.java:104) ~[org.wso2.testgrid.dao-1.0.5-SNAPSHOT.jar:1.0.5-SNAPSHOT]
	at org.wso2.testgrid.dao.uow.ProductUOW.getProducts(ProductUOW.java:82) ~[org.wso2.testgrid.dao-1.0.5-SNAPSHOT.jar:1.0.5-SNAPSHOT]
	at org.wso2.testgrid.web.api.ProductService.getAllProductStatuses(ProductService.java:125) [classes/:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [jersey-server-2.22.2.jar:?]
....
Caused by: java.lang.NullPointerException
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeDeferredEvents(AbstractSession.java:1189) ~[org.eclipse.persistence.core-2.2.0.jar:2.2.0.v20110202-r8913]
	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2843) ~[org.eclipse.persistence.core-2.2.0.jar:2.2.0.v20110202-r8913]
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1521) ~[org.eclipse.persistence.core-2.2.0.jar:2.2.0.v20110202-r8913]
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1503) ~[org.eclipse.persistence.core-2.2.0.jar:2.2.0.v20110202-r8913]
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1477) ~[org.eclipse.persistence.core-2.2.0.jar:2.2.0.v20110202-r8913]
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:484) ~[org.eclipse.persistence.jpa-2.2.0.jar:2.2.0.v20110202-r8913]
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:741) ~[org.eclipse.persistence.jpa-2.2.0.jar:2.2.0.v20110202-r8913]
	at org.wso2.testgrid.dao.repository.AbstractRepository.findAll(AbstractRepository.java:163) ~[org.wso2.testgrid.dao-1.0.5-SNAPSHOT.jar:1.0.5-SNAPSHOT]
	... 54 more

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant