FoundationDB/sql-layer — pull request #1439 by ScottDugas (2014-09-03 16:07:26+00:00)
Title: Hibernate tests causing null pointer exception

The query in question uses a cross product with a left join, and that caused it to consider a full cross product, which means that `join.joinConditions` is null, so creating a `new ConditionList(join.joinConditions)` threw a NullPointerException. It is perfectly acceptable to have a null joinConditions, rather than an empty joinConditions, so we handle that here now.

I could not figure out why it wasn't logging the stack trace, I tried to reproduce it, but couldn't. I did a bit of analysis of the code, but couldn't find anything; it should always be logging the stack trace.