-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Specifying all columns of a selector using the QueryObjectModelFactory such as factory.column("car", null, null) fails with a NullPointerException in CanonicalPlanner.
The fix seems to be check whether column name is actually given. Note that it is valid to have both columnName and propertyName to be null as per the JCR spec. In fact, if the property name (2nd parameter) is null, the alias (3rd parameter) must be null. (We should also be checking this in ModeShape's QueryObjectModelFactory class.)