-->
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: Hibernate Problem on session.createquery line
PostPosted: Wed Jan 11, 2006 11:33 am 
Newbie

Joined: Tue Jan 10, 2006 2:32 pm
Posts: 1
Hi Forum,
I am very new to hibernate so let me know if you need more information.
We have Struts based application and using hibernate 3.0.
Our application runs fine for few users but when around 10 users log in and access it .it crashes after a while. I am posting error log. I will appreciate if anybody has any idea about it:

java.lang.NullPointerException
at org.hibernate.hql.ast.IdentNode.getDisplayText(IdentNode.java(Compiled Code))
at org.hibernate.hql.ast.ASTPrinter.nodeToString(ASTPrinter.java(Compiled Code))
at org.hibernate.hql.ast.ASTPrinter.showNode(ASTPrinter.java(Inlined Compiled Code))
at org.hibernate.hql.ast.ASTPrinter.showAst(ASTPrinter.java(Compiled Code))
at org.hibernate.hql.ast.ASTPrinter.showAst(ASTPrinter.java(Compiled Code))
at org.hibernate.hql.ast.ASTPrinter.showAst(ASTPrinter.java(Compiled Code))
at org.hibernate.hql.ast.ASTPrinter.showAst(ASTPrinter.java(Compiled Code))
at org.hibernate.hql.ast.ASTPrinter.showAst(ASTPrinter.java(Inlined Compiled Code))
at org.hibernate.hql.ast.ASTPrinter.showAst(ASTPrinter.java(Inlined Compiled Code))
at org.hibernate.hql.ast.ASTPrinter.showAsString(ASTPrinter.java(Inlined Compiled Code))
at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java(Compiled Code))
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java(Compiled Code))
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java(Compiled Code))
at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java(Compiled Code))
at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java(Inlined Compiled Code))
at org.hibernate.impl.SessionImpl.list(SessionImpl.java(Compiled Code))
at org.hibernate.impl.QueryImpl.list(QueryImpl.java(Compiled Code))
at com.dcf.dataAccess.FlindividualDALC.getIndividualCountInAppl(FlindividualDALC.java:367)
at com.dcf.struts.action.ScrFLIndividualsAction.init(ScrFLIndividualsAction.java:98)
at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled Code))
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java(Compiled Code))
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java(Compiled Code))
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java(Compiled Code))
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled Code))
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled Code))
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java(Compiled Code))
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:567)


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.