You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error When Saving DataGrid in Production - "An error occurred while processing this page"

Hi Folks,

I have encountered an issue when calling the saveGrid() method to save a DataGrid in the production environment, which works fine in the cloned environment. Here is the code:

// Method to save records in Buffer DataGridBuilder object
def saveRecords(DataGridBuilder builder, Cube cube) {
DataGridBuilder.Status status = new DataGridBuilder.Status()
def grid = builder.build(status)
grid.withCloseable {
println("Total number of cells accepted: $status.numAcceptedCells")
println("Total number of cells rejected: $status.numRejectedCells")
println("First 100 rejected cells: $status.cellsRejected")
// Save the data to the cube
cube.saveGrid(grid)
}
} //some intermediatory code which is not contributing anything to this error

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!