Hi,
Can you cook up a small test case that demonstrates this ClassCast
failure?
It looks like PCPath extends CandidatePath, but that fails:
around CandidatePath, line 139
try {
// get the specified field value and switch candidate
Traversal traversal = (Traversal) action;
candidate = sm.fetchField(traversal.field.getIndex(),
true);
} finally {
The _actions list contains PCPath$Action, which does not extend
Traversal, so we get a class-cast exception here in the code, and thus
the "getOrderingValue" method called by
OrderingMergedResultObjectProvider returns null.. thus it does not get
any of the appropriate field values to run it's sorting against.. thus
everything remains unsorted..
--
View this message in context:
http://n2.nabble.com/multithreaded%2C-read-write--tp1660098p1674158.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.