I\'m performing a SQL query through hibernate, which looks like:
SELECT thi FROM track_history_items thi JOIN artists art ON thi.artist_id = art.id WHERE t
You can also get this error if you execute a query that has a syntax error, such as forgetting a comma in an update statement
update MyObject set field1=5 field2=4 WHERE id = 4
See how there is a missing comma between field1=5 and field2=4? You will get a node to traverse cannot be null error.