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
Tagged:
0