This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 254066 - HQL editor Test Case fails
Summary: HQL editor Test Case fails
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 8.1
Hardware: PC Other
: P3 normal (vote)
Assignee: Sergey Petrov
Depends on:
Reported: 2015-08-02 07:20 UTC by nigel
Modified: 2015-08-02 07:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description nigel 2015-08-02 07:20:27 UTC
When apparently functional project, tested in accordance with test cases supplied, is deployed, "Run HQL Query" action selected from from context menu on hibernate.cfg.xml, and query "select c from Customer c" is run, the Query execution fails with the following error string: -

java.lang.IllegalArgumentException: node to traverse cannot be null!
	at org.hibernate.hql.internal.ast.util.NodeTraverser.traverseDepthFirst(
	at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(
	at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(
	at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(
	at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(
	at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(
	at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(
	at org.hibernate.internal.AbstractSessionImpl.getHQLQueryPlan(
	at org.hibernate.internal.AbstractSessionImpl.createQuery(
	at org.hibernate.internal.SessionImpl.createQuery(