---
title: "node to traverse cannot be null!"
author: "dcriori"
date: "2009-08-05T14:20:52Z"
tags: []
slug: "node-to-traverse-cannot-be-null"
draft: false
lastmod: "2009-08-05T14:20:52Z"
id: 440708
url: "https://dcriori.iteye.com/blog/440708"
---

今天用Hibernate时出如下错：

java.lang.IllegalArgumentException: node to traverse cannot be null!

折腾了半天，后来发现是在使用HQL语句的时候 将关键字from 误写成了form

&gt;.&lt;!!! 晕死！