when passing an application context to the engine, the application context gets lost if the report includes a crosstab item using a data cube.

when the session context is created in datagenerationengine, the application context is never set, thus losing the values completely. a simple call to setappcontext() resolves this.

this is similar to 195617
created an attachment (id=155929)
patch to push application context
this bug has already been fixed in 2.5.2.