java.lang.IllegalArgumentException: node to traverse cannot be null!
来源:互联网 发布:旋转矩阵计算器 编辑:程序博客网 时间:2024/06/05 10:08
java.lang.IllegalArgumentException: node to traverse cannot be null!
at org.hibernate.hql.ast.util.NodeTraverser.traverseDepthFirst(NodeTraverser.java:31)
at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:254)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:157)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
at com.cqa.core.common.dao.EntityDaoImpl.findPage(EntityDaoImpl.java:154)
at com.cqa.service.vip.znx.ZnxServiceImpl.findMemberMail(ZnxServiceImpl.java:10)
at com.cqa.service.vip.znx.ZnxServiceImpl$$FastClassByCGLIB$$b3302b8d.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:714)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:162)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:652)
at com.cqa.service.vip.znx.ZnxServiceImpl$$EnhancerByCGLIB$$6bde40b5.findMemberMail(<generated>)
at com.cqa.action.vip.znx.VipZnxAction.loadMemberMail(VipZnxAction.java:41)
at com.cqa.action.vip.znx.VipZnxAction.show(VipZnxAction.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
出现这种问题是因为:HQL语句出现问题,引起内部查询对象为空,无法处理为空值引起的。
解决方法:检查HQL语句(尤其是关键字)。
PS:http://blog.csdn.net/fengweishw041/article/details/4098447
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- 错误:java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- 获取android应用程序信息(PackageInfo、ActivityInfo、ResolveInfo)
- 第十一篇 BCD码调整
- erlang 内存被大量占用,跟踪过程
- NSInvocation 回调使用
- linux times函数分析。
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- PHP上传文件功能实现
- 基带芯片、射频芯片相关
- tomcat document
- linux内核学习1 start_kernel()
- 分治算法三(随机化快速排序)
- Rolling Hash(Rabin-Karp 算法)匹配字符串与anagram串
- mtk6572平台camera video 报错问题
- ARM公司相关讲解