-
Bug
-
Resolution: Done
-
High
-
Honolulu Release
-
None
-
None
Seeing the following error in the PAP log in windriver:
15:10:48.703 [DMAAP-source-POLICY-PDP-PAP] ERROR o.o.p.p.m.c.PdpStatusMessageHandler - Failed connecting to database provider
javax.persistence.EntityNotFoundException: Entity no longer exists in the database: JpaPdpStatistics(key=PfTimestampKey(name=dev-policy-
apex-pdp-0, version=0.0.0, timeStamp=2021-03-05 15:10:47.526236), pdpGroupName=defaultGroup, pdpSubGroupName=apex, policyDeployCount=0,
policyDeploySuccessCount=0, policyDeployFailCount=0, policyExecutedCount=0, policyExecutedSuccessCount=0, policyExecutedFailCount=0, eng
ineStats={IndirectList: not instantiated}).
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.refresh(EntityManagerImpl.java:1160)
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.refresh(EntityManagerImpl.java:1042)
at org.onap.policy.models.dao.impl.DefaultPfDao.genericGet(DefaultPfDao.java:437)
at org.onap.policy.models.dao.impl.DefaultPfDao.get(DefaultPfDao.java:426)
at org.onap.policy.models.pdp.persistence.provider.PdpStatisticsProvider.createPdpStatistics(PdpStatisticsProvider.java:130)
Also saw this when running junit tests in eclipse.