Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2.0, 2.2.2, 2.3.0, 2.4.0, 2.4.1, 2.4.2
-
None
-
None
Description
When query object is de-serialized from external cache storage, it report error when de-serialized QueryKey. Check following code in QueryKey (2.2.0). _query is assumed to be String in readExternal(), but _query is not always String object.
private static QueryKey createKey(QueryContext q, boolean packed,
Class<?> candidateClass, boolean subclasses, long startIdx, long endIdx, Object parsed) {
...
key._query = q.getQueryString();
if (key._query == null)
}
public void readExternal(ObjectInput in)
throws IOException, ClassNotFoundException