-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: NullPointerException in QueryPlanCache.getHQLQueryPlan
PostPosted: Wed Jul 19, 2006 1:07 pm 
Newbie

Joined: Wed Jul 19, 2006 12:36 pm
Posts: 2
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)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.