Problem with HQL Console--java.lang.NullPointerException

Hi,
I'm using IDEA 7.0.3 and have a project with a Hibernate Facets which has a correct cfg.xml file and a tested DataSouce pointed to its SessionFactory.

Using Annotation to set up the entities mapping instead of mapping files, and then when I open the HQL console window and intend to do a hql query, there is only a "java.lang.NullPointerException" shown in the query result window without any query result.

Is there something wrong with my configuration or a bug and any one has the same problem?

Thanks all

Please sign in to leave a comment.