org.hibernate.hql.ast.tree.IdentNode.resolveAsNakedComponentPropertyRefLHS

Struts Problem Report

Struts has detected an unhandled exception:
Messages:    
File:     org/hibernate/hql/ast/tree/IdentNode.java
Line number:     195
Stacktraces
java.lang.NullPointerException

    org.hibernate.hql.ast.tree.IdentNode.resolveAsNakedComponentPropertyRefLHS(IdentNode.java:195)     org.hibernate.hql.ast.tree.IdentNode.resolve(IdentNode.java:85)     org.hibernate.hql.ast.tree.DotNode.resolveFirstChild(DotNode.java:139)     org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:462)     org.hibernate.hql.antlr.HqlSqlBaseWalker.addrExpr(HqlSqlBaseWalker.java:4316)     org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1211)     org.hibernate.hql.antlr.HqlSqlBaseWalker.exprOrSubquery(HqlSqlBaseWalker.java:4032)     org.hibernate.hql.antlr.HqlSqlBaseWalker.comparisonExpr(HqlSqlBaseWalker.java:3518)     org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1758)     org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1683)     org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1683)     org.hibernate.hql.antlr.HqlSqlBaseWalker.whereClause(HqlSqlBaseWalker.java:776)     org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:577)     org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)     org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)     org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:218)     org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:158)     org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:109)     org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:75)     org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:54)     org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71)     org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)     org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)     org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1583)     pack.util.DBOperation.getAll(DBOperation.java:145)     pack.service.ShortMsgService.getAll(ShortMsgService.java:72)     pack.service.ShortMsgService$$FastClassByCGLIB$$db11d40a.invoke()     net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)     org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:694)     org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)     org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)     org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)     org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)     org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)     org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:629)     pack.service.ShortMsgService$$EnhancerByCGLIB$$5dbe862e.getAll()     pack.util.NewMessageNotifier.notifyNewMsg(NewMessageNotifier.java:43)     pack.action.ShortMsgAction.unreadMsg(ShortMsgAction.java:187)     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     java.lang.reflect.Method.invoke(Method.java:597)     com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:434)     com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:273)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:235)     com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:141)     com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:248)     org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:49)     com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:124)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:170)     com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:170)     com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:104)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:84)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:208)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:88)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:127)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:104)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:130)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:137)     com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:130)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456)     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)     org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)     org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:477)     org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467)     org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)     org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)     org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)     org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)     org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)     org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)     org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)     org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)     org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)     org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)     org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)     java.lang.Thread.run(Thread.java:619)    

You are seeing this page because development mode is enabled. Development mode, or devMode, enables extra debugging behaviors and reports to assist developers. To disable this mode, set:

  struts.devMode=false

in your struts.properties file.

你可能感兴趣的:(Hibernate)