eq throws NPE from ConstantImpl
Bug #720078 reported by
Vesa Marttila
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With an expression such as id.eq(null) the following exception is thrown:
java.lang.
at com.mysema.
at com.mysema.
This is due to this constructor:
public ConstantImpl(T constant){
this(
}
The problem occurs at least in the Lucene module.
To post a comment you must log in.
Ok, we need a more descriptive Exception for this.
id.eq(null) is not allowed, for "id is null" you need to use id.isNull()