SSH框架问题——node to traverse cannot be null!报错问题
2014-04-16 10:33
561 查看
Struts Problem Report
Struts has detected an unhandled exception:
Messages:
node to traverse cannot be null!
File: org/hibernate/hql/ast/util/NodeTraverser.java
Line number: 55
Stacktraces
java.lang.IllegalArgumentException: node to traverse cannot be null!
org.hibernate.hql.ast.util.NodeTraverser.traverseDepthFirst(NodeTraverser.java:55)
org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:280)
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:182)
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136)
org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:101)
org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:80)
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1651)
…………………………………………………………
这个错误一般是sql、hql语句有问题,比如关键字书写问题,语法问题等,本人犯了一个低级错误,使用update的时候,给多个属性赋值需要使用“,”(逗号)隔开。
Struts has detected an unhandled exception:
Messages:
node to traverse cannot be null!
File: org/hibernate/hql/ast/util/NodeTraverser.java
Line number: 55
Stacktraces
java.lang.IllegalArgumentException: node to traverse cannot be null!
org.hibernate.hql.ast.util.NodeTraverser.traverseDepthFirst(NodeTraverser.java:55)
org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:280)
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:182)
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136)
org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:101)
org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:80)
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1651)
…………………………………………………………
这个错误一般是sql、hql语句有问题,比如关键字书写问题,语法问题等,本人犯了一个低级错误,使用update的时候,给多个属性赋值需要使用“,”(逗号)隔开。
相关文章推荐
- java.lang.IllegalArgumentException: node to traverse cannot be null! HQL语法问题
- 执行hibernate报错“node to traverse cannot be null”问题的解决
- 执行hibernate报错“node to traverse cannot be null”问题的解决
- 执行hibernate报错“node to traverse cannot be null”问题的解决
- node to traverse cannot be null!
- 【SSH错误整理】node to traverse cannot be null!
- node to traverse cannot be null
- 异常:node to traverse cannot be null! 的错误分析
- hibernate错误之node to traverse cannot be null
- java hibernate 中"node to traverse cannot be null"错误解决
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- node to traverse cannot be null!
- 异常:java.lang.IllegalArgumentException: node to traverse cannot be null!
- java.lang.IllegalArgumentException: node to traverse cannot be null!
- node to traverse cannot be null
- java hibernate 中"node to traverse cannot be null"错误解决办法
- hibernate 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!"出现的原因