Hai,
We are getting the follwoing NullPointerException(see below for detail) from Hibernate Code in our performance tests when we execute the following hql query :
select et.operateurTechnique from EtatGmta eg, EtatTechnique et, DroitAcquis da, ProduitTechniqueProfMediaguard ptpmg, ProduitTechniqueProfMerlin ptpm where eg.gmta = ? and eg.situation = ? and et.etatGmta = eg and da.etatTechnique = et and (da.produitTechnique = ptpmg or da.produitTechnique = ptpm)
Any help would be welcome!
Thanking You,
Jayanthi
Excepion :
java.lang.NullPointerException
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java(Compiled Code))
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java(Inlined Compiled Code))
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java(Inlined Compiled Code))
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java(Compiled Code))
at org.springframework.orm.hibernate3.HibernateTemplate$29.doInHibernate(HibernateTemplate.java(Compiled Code))
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java(Compiled Code))
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java(Inlined Compiled Code))
at canal.det.service.dao.impl.ContexteMedDAOImpl.execeuteQuery(ContexteMedDAOImpl.java(Compiled Code))
at canal.det.service.dao.impl.ContexteMedDAOImpl.recupereOperateurTechniqueAyantProduitProfil(ContexteMedDAOImpl.java(Inlined Compiled Code))
at canal.det.service.workflow.mege2med2met.generation.met.contexte.ContexteMa.getDifferencePPV(ContexteMa.java(Compiled Code))
at canal.det.service.workflow.mege2med2met.generation.met.contexte.ContexteMa.getOperateurPPV(ContexteMa.java(Compiled Code))
at canal.det.service.workflow.mege2med2met.generation.met.mediaguard.impl.MegeGenerationMetPourCasMediaguardImpl.runAlgorithme02(MegeGenerationMetPourCasMediaguardImpl.java(Compiled Code))
at canal.det.service.workflow.mege2med2met.generation.met.mediaguard.specifique.impl.MegeGenerationMetPourCasMediaguardPourMedModificationAbonnementImpl.genererListeMets(MegeGenerationMetPourCasMediaguardPourMedModificationAbonnementImpl.java(Compiled Code))
at canal.det.service.workflow.mege2med2met.generation.met.impl.MegeGenerationMetImpl.genererMet(MegeGenerationMetImpl.java(Compiled Code))
at canal.det.service.workflow.mege2med2met.SWDepileurMegeWorker.traiterMeds(SWDepileurMegeWorker.java(Compiled Code))
at canal.det.service.workflow.mege2med2met.SWDepileurMegeWorker.traiter(SWDepileurMegeWorker.java(Compiled Code))
at canal.det.service.workflow.common.Worker$1.doInTransactionWithoutResult(Worker.java(Compiled Code))
at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java(Compiled Code))
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java(Compiled Code))
at canal.det.service.workflow.common.Worker.run(Worker.java(Compiled Code))
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java(Compiled Code))
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:570)
|