Error evaluating function 'todatasubset' : Comparison method violates its general contract!

We have a requirement to generate a tempo report which pulls data from a DB view. The underlying data is first explicitly casted using an expression rule and then converted to todatasubset

local!reportDatasubset: todatasubset(apply(rule!getDataSubSet, local!reportData.data),local!recordPagingInfo)

We are getting the below error intermittently when the todatasubset function is called and attached the complete server log.

14:35:26,398 INFO [stdout] (ajp-/0.0.0.0:8009-8) 2016-10-28 14:35:26,396 [ajp-/0.0.0.0:8009-8] ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation.
14:35:26,398 INFO [stdout] (ajp-/0.0.0.0:8009-8) com.appiancorp.process.expression.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error in rule at function 'todatasubset' [line 103]: Error evaluating function 't...

OriginalPostID-243617


server_log.txt

  Discussion posts and replies are publicly visible