Active IQ Unified Manager Discussions

Reports broken in OnCommand Unified Manager 6.2RC1

netapp_ecmadm
4,164 Views

Hi,

 

I've just installed OnCommand Unified Manager 6.2RC1 on a Linux box. Everything is working fine except Reports. 2 reports are broken:

  • Aggregate Capacity and Utilization
  • Volume Capacity and Utilization

 

I see some errors in /var/log/ocie/jboss.log when I try to execute these reports (see below). However, I cannot understand what's wrong.

 

Any idea on how to fix this?

 

Thanks

 

2014-11-19 21:49:14,525 SEVERE [ThreadPool-Processor5] BirtUtil (BirtUtil.java:938) - There are errors evaluating script "reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0;":
Fail to execute script in function __bm_OPEN(). Source:
------
" + reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0; + "
-----
A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2). org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_OPEN(). Source:
------
" + reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0; + "
-----
A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2) org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0;":
Fail to execute script in function __bm_OPEN(). Source:
------
" + reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0; + "
-----
A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2).
        at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:99)
        at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
        at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:98)
        at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(ScriptDataSetRuntime.java:80)
        at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.java:247)
        at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:223)
        at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1237)
        at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
        at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
        at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
        at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
        at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
        at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
        at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
        at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
        at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
        at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
        at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
        at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
        at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLRepeatHeaderLM.layoutChildren(HTMLRepeatHeaderLM.java:46)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
        at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
        at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
        at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:258)
        at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:272)
        at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:115)
        at com.actuate.reportapi.engine.birt.ReportGenerationTask.runTask(ReportGenerationTask.java:1094)
        at com.actuate.reportapi.engine.birt.ReportGenerationTask.generateReport(ReportGenerationTask.java:206)
        at com.actuate.reportapi.engine.ReportGenerationTaskBase.doTask(ReportGenerationTaskBase.java:157)
        at com.actuate.reportapi.engine.Task.execute(Task.java:318)
        at com.actuate.reportapi.enginemanager.ThreadPool$ControlRunnable.run(ThreadPool.java:808)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_OPEN(). Source:
------
" + reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0; + "
-----
A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:147)
        at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
        ... 41 more
Caused by: org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.eclipse.birt.data.engine.core.DataException.wrap(DataException.java:123)
        at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:1003)
        at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
        ... 42 more
Caused by: org.eclipse.birt.core.exception.CoreException: Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.wrapRhinoException(JavascriptEvalUtil.java:307)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:106)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
        at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:999)
        ... 43 more
Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1773)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
        at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
        at org.mozilla.javascript.gen.c55._c1(/report/data-sets/script-data-set[@id="526"]/method[@name="open"]:2)
        at org.mozilla.javascript.gen.c55.call(/report/data-sets/script-data-set[@id="526"]/method[@name="open"])
        at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
        at org.mozilla.javascript.gen.c10._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:0)
        at org.mozilla.javascript.gen.c10.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
        at org.mozilla.javascript.gen.c10.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
        at org.mozilla.javascript.gen.c10.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
        ... 45 more
Caused by: java.lang.NullPointerException
        at com.netapp.actuate.ReportQueryExecutor.getGlobalOptions(Unknown Source)
        at com.netapp.actuate.ReportQueryExecutor.executeQueryWithGlobalDefault(Unknown Source)
        at com.netapp.actuate.ReportQueryExecutor.executeQueryForAggregateCapacityUtilization(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
        ... 57 more
2014-11-19 21:49:14,536 SEVERE [ThreadPool-Processor5] BirtUtil (BirtUtil.java:938) - There are errors evaluating script "if( currentRow >= totalRows ) {
        return( false );
}
var currentRowData = allRowsData.get(currentRow);

row["aggrId"]=currentRowData[0];
row["aggrName"]=currentRowData[1];
row["clusterId"]=currentRowData[2];
row["clusterName"]=currentRowData[3];
row["haPair"]=currentRowData[4];
row["haPairId"]=currentRowData[5];
row["nodeId"]=currentRowData[6];
row["totalDataCapacity"]=currentRowData[7];
row["usedDataCapacity"]=currentRowData[8];
row["availableDataCapacity"]=currentRowData[9];
row["snapshotReserveUsedCapacity"]=currentRowData[10];
row["snapshotReserveAvailCapacity"]=currentRowData[11];
row["snapshotReserveTotalCapacity"]=currentRowData[12];
row["totalCommitted"]=currentRowData[13];
row["bytesUsedPerDay"]=currentRowData[14];
row["daysToFull"]=currentRowData[15];
row["aggregateType"]=currentRowData[16];
row["raidType"]=currentRowData[17];
row["state"]=currentRowData[18];
row["growthRateSensitivityThreshold"]=currentRowData[19];
row["growthRateThreshold"]=currentRowData[20];
row["spaceFullThreshold"]=currentRowData[21];
row["spaceNearlyFullThreshold"]=currentRowData[22];
row["overcommittedThreshold"]=currentRowData[23];
row["nearlyOvercommittedThreshold"]=currentRowData[24];
row["daysUntilFullThreshold"]=currentRowData[25];
row["snapshotFullThreshold"]=currentRowData[26];

// Computed Columns for percentage Calculation
if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["usedPercent"] = 0.00
} else {
    row["usedPercent"] = BirtMath.round(row["usedDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["availablePercent"] = 0.00
} else {
    row["availablePercent"] = BirtMath.round(row["availableDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    if (row["snapshotReserveUsedCapacity"] >= row["snapshotReserveTotalCapacity"]) {
        row["snapshotReserveUsedPercent"] = 100.00
    } else {
        row["snapshotReserveUsedPercent"] = BirtMath.round(row["snapshotReserveUsedCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
    }
} else {
    row["snapshotReserveUsedPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    row["snapshotReserveAvailPercent"] = BirtMath.round(row["snapshotReserveAvailCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
} else {
    row["snapshotReserveAvailPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
   if (row["snapshotReserveUsedCapacity"] > row["snapshotReserveTotalCapacity"]) {
      row["snapshotOverflowPercent"] = BirtMath.round((row["snapshotReserveUsedCapacity"] - row["snapshotReserveTotalCapacity"]) * 100 / row["totalDataCapacity"], 2)
   } else {
      row["snapshotOverflowPercent"] = 0.00
   }
} else {
    row["snapshotOverflowPercent"] = 0.00
}

if (row["totalDataCapacity"] != null && row["totalDataCapacity"] !=0) {
    if (row["totalCommitted"] > row["totalDataCapacity"]) {
        row["overcommittedCapacityPercent"] = BirtMath.round((row["totalCommitted"] - row["totalDataCapacity"]) * 100 / row["totalDataCapacity"], 2)
    } else {
        row["overcommittedCapacityPercent"] = 0.00
    }
} else {
   row["overcommittedCapacityPercent"] = 0.00
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["dailyGrowthRate"] = 0.00
} else {
    row["dailyGrowthRate"] = BirtMath.round(row["bytesUsedPerDay"] * 100 / row["totalDataCapacity"], 2)
}

currentRow = currentRow + 1;
return ( true );":
Fail to execute script in function __bm_FETCH(). Source:
------
" + if( currentRow >= totalRows ) {
        return( false );
}
var currentRowData = allRowsData.get(currentRow);

row["aggrId"]=currentRowData[0];
row["aggrName"]=currentRowData[1];
row["clusterId"]=currentRowData[2];
row["clusterName"]=currentRowData[3];
row["haPair"]=currentRowData[4];
row["haPairId"]=currentRowData[5];
row["nodeId"]=currentRowData[6];
row["totalDataCapacity"]=currentRowData[7];
row["usedDataCapacity"]=currentRowData[8];
row["availableDataCapacity"]=currentRowData[9];
row["snapshotReserveUsedCapacity"]=currentRowData[10];
row["snapshotReserveAvailCapacity"]=currentRowData[11];
row["snapshotReserveTotalCapacity"]=currentRowData[12];
row["totalCommitted"]=currentRowData[13];
row["bytesUsedPerDay"]=currentRowData[14];
row["daysToFull"]=currentRowData[15];
row["aggregateType"]=currentRowData[16];
row["raidType"]=currentRowData[17];
row["state"]=currentRowData[18];
row["growthRateSensitivityThreshold"]=currentRowData[19];
row["growthRateThreshold"]=currentRowData[20];
row["spaceFullThreshold"]=currentRowData[21];
row["spaceNearlyFullThreshold"]=currentRowData[22];
row["overcommittedThreshold"]=currentRowData[23];
row["nearlyOvercommittedThreshold"]=currentRowData[24];
row["daysUntilFullThreshold"]=currentRowData[25];
row["snapshotFullThreshold"]=currentRowData[26];

// Computed Columns for percentage Calculation
if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["usedPercent"] = 0.00
} else {
    row["usedPercent"] = BirtMath.round(row["usedDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["availablePercent"] = 0.00
} else {
    row["availablePercent"] = BirtMath.round(row["availableDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    if (row["snapshotReserveUsedCapacity"] >= row["snapshotReserveTotalCapacity"]) {
        row["snapshotReserveUsedPercent"] = 100.00
    } else {
        row["snapshotReserveUsedPercent"] = BirtMath.round(row["snapshotReserveUsedCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
    }
} else {
    row["snapshotReserveUsedPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    row["snapshotReserveAvailPercent"] = BirtMath.round(row["snapshotReserveAvailCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
} else {
    row["snapshotReserveAvailPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
   if (row["snapshotReserveUsedCapacity"] > row["snapshotReserveTotalCapacity"]) {
      row["snapshotOverflowPercent"] = BirtMath.round((row["snapshotReserveUsedCapacity"] - row["snapshotReserveTotalCapacity"]) * 100 / row["totalDataCapacity"], 2)
   } else {
      row["snapshotOverflowPercent"] = 0.00
   }
} else {
    row["snapshotOverflowPercent"] = 0.00
}

if (row["totalDataCapacity"] != null && row["totalDataCapacity"] !=0) {
    if (row["totalCommitted"] > row["totalDataCapacity"]) {
        row["overcommittedCapacityPercent"] = BirtMath.round((row["totalCommitted"] - row["totalDataCapacity"]) * 100 / row["totalDataCapacity"], 2)
    } else {
        row["overcommittedCapacityPercent"] = 0.00
    }
} else {
   row["overcommittedCapacityPercent"] = 0.00
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["dailyGrowthRate"] = 0.00
} else {
    row["dailyGrowthRate"] = BirtMath.round(row["bytesUsedPerDay"] * 100 / row["totalDataCapacity"], 2)
}

currentRow = currentRow + 1;
return ( true ); + "
-----
A BIRT exception occurred. See next exception for more information.
ReferenceError: "currentRow" is not defined. (/report/data-sets/script-data-set[@id="526"]/method[@name="fetch"]#1). org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_FETCH(). Source:
------
" + if( currentRow >= totalRows ) {
        return( false );
}
var currentRowData = allRowsData.get(currentRow);

row["aggrId"]=currentRowData[0];
row["aggrName"]=currentRowData[1];
row["clusterId"]=currentRowData[2];
row["clusterName"]=currentRowData[3];
row["haPair"]=currentRowData[4];
row["haPairId"]=currentRowData[5];
row["nodeId"]=currentRowData[6];
row["totalDataCapacity"]=currentRowData[7];
row["usedDataCapacity"]=currentRowData[8];
row["availableDataCapacity"]=currentRowData[9];
row["snapshotReserveUsedCapacity"]=currentRowData[10];
row["snapshotReserveAvailCapacity"]=currentRowData[11];
row["snapshotReserveTotalCapacity"]=currentRowData[12];
row["totalCommitted"]=currentRowData[13];
row["bytesUsedPerDay"]=currentRowData[14];
row["daysToFull"]=currentRowData[15];
row["aggregateType"]=currentRowData[16];
row["raidType"]=currentRowData[17];
row["state"]=currentRowData[18];
row["growthRateSensitivityThreshold"]=currentRowData[19];
row["growthRateThreshold"]=currentRowData[20];
row["spaceFullThreshold"]=currentRowData[21];
row["spaceNearlyFullThreshold"]=currentRowData[22];
row["overcommittedThreshold"]=currentRowData[23];
row["nearlyOvercommittedThreshold"]=currentRowData[24];
row["daysUntilFullThreshold"]=currentRowData[25];
row["snapshotFullThreshold"]=currentRowData[26];

// Computed Columns for percentage Calculation
if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["usedPercent"] = 0.00
} else {
    row["usedPercent"] = BirtMath.round(row["usedDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["availablePercent"] = 0.00
} else {
    row["availablePercent"] = BirtMath.round(row["availableDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    if (row["snapshotReserveUsedCapacity"] >= row["snapshotReserveTotalCapacity"]) {
        row["snapshotReserveUsedPercent"] = 100.00
    } else {
        row["snapshotReserveUsedPercent"] = BirtMath.round(row["snapshotReserveUsedCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
    }
} else {
    row["snapshotReserveUsedPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    row["snapshotReserveAvailPercent"] = BirtMath.round(row["snapshotReserveAvailCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
} else {
    row["snapshotReserveAvailPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
   if (row["snapshotReserveUsedCapacity"] > row["snapshotReserveTotalCapacity"]) {
      row["snapshotOverflowPercent"] = BirtMath.round((row["snapshotReserveUsedCapacity"] - row["snapshotReserveTotalCapacity"]) * 100 / row["totalDataCapacity"], 2)
   } else {
      row["snapshotOverflowPercent"] = 0.00
   }
} else {
    row["snapshotOverflowPercent"] = 0.00
}

if (row["totalDataCapacity"] != null && row["totalDataCapacity"] !=0) {
    if (row["totalCommitted"] > row["totalDataCapacity"]) {
        row["overcommittedCapacityPercent"] = BirtMath.round((row["totalCommitted"] - row["totalDataCapacity"]) * 100 / row["totalDataCapacity"], 2)
    } else {
        row["overcommittedCapacityPercent"] = 0.00
    }
} else {
   row["overcommittedCapacityPercent"] = 0.00
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["dailyGrowthRate"] = 0.00
} else {
    row["dailyGrowthRate"] = BirtMath.round(row["bytesUsedPerDay"] * 100 / row["totalDataCapacity"], 2)
}

currentRow = currentRow + 1;
return ( true ); + "
-----
A BIRT exception occurred. See next exception for more information.
ReferenceError: "currentRow" is not defined. (/report/data-sets/script-data-set[@id="526"]/method[@name="fetch"]#1) org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "if( currentRow >= totalRows ) {
        return( false );
}
var currentRowData = allRowsData.get(currentRow);

row["aggrId"]=currentRowData[0];
row["aggrName"]=currentRowData[1];
row["clusterId"]=currentRowData[2];
row["clusterName"]=currentRowData[3];
row["haPair"]=currentRowData[4];
row["haPairId"]=currentRowData[5];
row["nodeId"]=currentRowData[6];
row["totalDataCapacity"]=currentRowData[7];
row["usedDataCapacity"]=currentRowData[8];
row["availableDataCapacity"]=currentRowData[9];
row["snapshotReserveUsedCapacity"]=currentRowData[10];
row["snapshotReserveAvailCapacity"]=currentRowData[11];
row["snapshotReserveTotalCapacity"]=currentRowData[12];
row["totalCommitted"]=currentRowData[13];
row["bytesUsedPerDay"]=currentRowData[14];
row["daysToFull"]=currentRowData[15];
row["aggregateType"]=currentRowData[16];
row["raidType"]=currentRowData[17];
row["state"]=currentRowData[18];
row["growthRateSensitivityThreshold"]=currentRowData[19];
row["growthRateThreshold"]=currentRowData[20];
row["spaceFullThreshold"]=currentRowData[21];
row["spaceNearlyFullThreshold"]=currentRowData[22];
row["overcommittedThreshold"]=currentRowData[23];
row["nearlyOvercommittedThreshold"]=currentRowData[24];
row["daysUntilFullThreshold"]=currentRowData[25];
row["snapshotFullThreshold"]=currentRowData[26];

// Computed Columns for percentage Calculation
if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["usedPercent"] = 0.00
} else {
    row["usedPercent"] = BirtMath.round(row["usedDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["availablePercent"] = 0.00
} else {
    row["availablePercent"] = BirtMath.round(row["availableDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    if (row["snapshotReserveUsedCapacity"] >= row["snapshotReserveTotalCapacity"]) {
        row["snapshotReserveUsedPercent"] = 100.00
    } else {
        row["snapshotReserveUsedPercent"] = BirtMath.round(row["snapshotReserveUsedCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
    }
} else {
    row["snapshotReserveUsedPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    row["snapshotReserveAvailPercent"] = BirtMath.round(row["snapshotReserveAvailCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
} else {
    row["snapshotReserveAvailPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
   if (row["snapshotReserveUsedCapacity"] > row["snapshotReserveTotalCapacity"]) {
      row["snapshotOverflowPercent"] = BirtMath.round((row["snapshotReserveUsedCapacity"] - row["snapshotReserveTotalCapacity"]) * 100 / row["totalDataCapacity"], 2)
   } else {
      row["snapshotOverflowPercent"] = 0.00
   }
} else {
    row["snapshotOverflowPercent"] = 0.00
}

if (row["totalDataCapacity"] != null && row["totalDataCapacity"] !=0) {
    if (row["totalCommitted"] > row["totalDataCapacity"]) {
        row["overcommittedCapacityPercent"] = BirtMath.round((row["totalCommitted"] - row["totalDataCapacity"]) * 100 / row["totalDataCapacity"], 2)
    } else {
        row["overcommittedCapacityPercent"] = 0.00
    }
} else {
   row["overcommittedCapacityPercent"] = 0.00
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["dailyGrowthRate"] = 0.00
} else {
    row["dailyGrowthRate"] = BirtMath.round(row["bytesUsedPerDay"] * 100 / row["totalDataCapacity"], 2)
}

currentRow = currentRow + 1;
return ( true );":
Fail to execute script in function __bm_FETCH(). Source:
------
" + if( currentRow >= totalRows ) {
        return( false );
}
var currentRowData = allRowsData.get(currentRow);

row["aggrId"]=currentRowData[0];
row["aggrName"]=currentRowData[1];
row["clusterId"]=currentRowData[2];
row["clusterName"]=currentRowData[3];
row["haPair"]=currentRowData[4];
row["haPairId"]=currentRowData[5];
row["nodeId"]=currentRowData[6];
row["totalDataCapacity"]=currentRowData[7];
row["usedDataCapacity"]=currentRowData[8];
row["availableDataCapacity"]=currentRowData[9];
row["snapshotReserveUsedCapacity"]=currentRowData[10];
row["snapshotReserveAvailCapacity"]=currentRowData[11];
row["snapshotReserveTotalCapacity"]=currentRowData[12];
row["totalCommitted"]=currentRowData[13];
row["bytesUsedPerDay"]=currentRowData[14];
row["daysToFull"]=currentRowData[15];
row["aggregateType"]=currentRowData[16];
row["raidType"]=currentRowData[17];
row["state"]=currentRowData[18];
row["growthRateSensitivityThreshold"]=currentRowData[19];
row["growthRateThreshold"]=currentRowData[20];
row["spaceFullThreshold"]=currentRowData[21];
row["spaceNearlyFullThreshold"]=currentRowData[22];
row["overcommittedThreshold"]=currentRowData[23];
row["nearlyOvercommittedThreshold"]=currentRowData[24];
row["daysUntilFullThreshold"]=currentRowData[25];
row["snapshotFullThreshold"]=currentRowData[26];

// Computed Columns for percentage Calculation
if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["usedPercent"] = 0.00
} else {
    row["usedPercent"] = BirtMath.round(row["usedDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["availablePercent"] = 0.00
} else {
    row["availablePercent"] = BirtMath.round(row["availableDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    if (row["snapshotReserveUsedCapacity"] >= row["snapshotReserveTotalCapacity"]) {
        row["snapshotReserveUsedPercent"] = 100.00
    } else {
        row["snapshotReserveUsedPercent"] = BirtMath.round(row["snapshotReserveUsedCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
    }
} else {
    row["snapshotReserveUsedPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    row["snapshotReserveAvailPercent"] = BirtMath.round(row["snapshotReserveAvailCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
} else {
    row["snapshotReserveAvailPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
   if (row["snapshotReserveUsedCapacity"] > row["snapshotReserveTotalCapacity"]) {
      row["snapshotOverflowPercent"] = BirtMath.round((row["snapshotReserveUsedCapacity"] - row["snapshotReserveTotalCapacity"]) * 100 / row["totalDataCapacity"], 2)
   } else {
      row["snapshotOverflowPercent"] = 0.00
   }
} else {
    row["snapshotOverflowPercent"] = 0.00
}

if (row["totalDataCapacity"] != null && row["totalDataCapacity"] !=0) {
    if (row["totalCommitted"] > row["totalDataCapacity"]) {
        row["overcommittedCapacityPercent"] = BirtMath.round((row["totalCommitted"] - row["totalDataCapacity"]) * 100 / row["totalDataCapacity"], 2)
    } else {
        row["overcommittedCapacityPercent"] = 0.00
    }
} else {
   row["overcommittedCapacityPercent"] = 0.00
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["dailyGrowthRate"] = 0.00
} else {
    row["dailyGrowthRate"] = BirtMath.round(row["bytesUsedPerDay"] * 100 / row["totalDataCapacity"], 2)
}

currentRow = currentRow + 1;
return ( true ); + "
-----
A BIRT exception occurred. See next exception for more information.
ReferenceError: "currentRow" is not defined. (/report/data-sets/script-data-set[@id="526"]/method[@name="fetch"]#1).
        at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:99)
        at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
        at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java:143)
        at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch(ScriptDataSetRuntime.java:103)
        at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery.java:260)
        at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch(OdiAdapter.java:226)
        at org.eclipse.birt.data.engine.executor.cache.RowResultSet.fetch(RowResultSet.java:145)
        at org.eclipse.birt.data.engine.executor.cache.RowResultSet.doNext(RowResultSet.java:118)
        at org.eclipse.birt.data.engine.executor.cache.RowResultSet.next(RowResultSet.java:96)
        at org.eclipse.birt.data.engine.executor.cache.ExpandableRowResultSet.next(ExpandableRowResultSet.java:63)
        at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.populateData(SmartCacheHelper.java:318)
        at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.initInstance(SmartCacheHelper.java:285)
        at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.getResultSetCache(SmartCacheHelper.java:246)
        at org.eclipse.birt.data.engine.executor.cache.SmartCache.<init>(SmartCache.java:74)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.populateOdiResultSet(PassUtil.java:110)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.pass(PassUtil.java:62)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.populateResultSetCacheInResultSetPopulator(PassManager.java:276)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.populateDataSet(PassManager.java:238)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.prepareDataSetResultSet(PassManager.java:98)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.pass(PassManager.java:134)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.populateResultSet(PassManager.java:74)
        at org.eclipse.birt.data.engine.executor.transform.ResultSetPopulator.populateResultSet(ResultSetPopulator.java:218)
        at org.eclipse.birt.data.engine.executor.transform.CachedResultSet.<init>(CachedResultSet.java:200)
        at org.eclipse.birt.data.engine.executor.CandidateQuery.execute(CandidateQuery.java:142)
        at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:226)
        at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1237)
        at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
        at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
        at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
        at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
        at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
        at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
        at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
        at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
        at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
        at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
        at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
        at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
        at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLRepeatHeaderLM.layoutChildren(HTMLRepeatHeaderLM.java:46)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
        at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
        at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
        at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:258)
        at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:272)
        at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:115)
        at com.actuate.reportapi.engine.birt.ReportGenerationTask.runTask(ReportGenerationTask.java:1094)
        at com.actuate.reportapi.engine.birt.ReportGenerationTask.generateReport(ReportGenerationTask.java:206)
        at com.actuate.reportapi.engine.ReportGenerationTaskBase.doTask(ReportGenerationTaskBase.java:157)
        at com.actuate.reportapi.engine.Task.execute(Task.java:318)
        at com.actuate.reportapi.enginemanager.ThreadPool$ControlRunnable.run(ThreadPool.java:808)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_FETCH(). Source:
------
" + if( currentRow >= totalRows ) {
        return( false );
}
var currentRowData = allRowsData.get(currentRow);

row["aggrId"]=currentRowData[0];
row["aggrName"]=currentRowData[1];
row["clusterId"]=currentRowData[2];
row["clusterName"]=currentRowData[3];
row["haPair"]=currentRowData[4];
row["haPairId"]=currentRowData[5];
row["nodeId"]=currentRowData[6];
row["totalDataCapacity"]=currentRowData[7];
row["usedDataCapacity"]=currentRowData[8];
row["availableDataCapacity"]=currentRowData[9];
row["snapshotReserveUsedCapacity"]=currentRowData[10];
row["snapshotReserveAvailCapacity"]=currentRowData[11];
row["snapshotReserveTotalCapacity"]=currentRowData[12];
row["totalCommitted"]=currentRowData[13];
row["bytesUsedPerDay"]=currentRowData[14];
row["daysToFull"]=currentRowData[15];
row["aggregateType"]=currentRowData[16];
row["raidType"]=currentRowData[17];
row["state"]=currentRowData[18];
row["growthRateSensitivityThreshold"]=currentRowData[19];
row["growthRateThreshold"]=currentRowData[20];
row["spaceFullThreshold"]=currentRowData[21];
row["spaceNearlyFullThreshold"]=currentRowData[22];
row["overcommittedThreshold"]=currentRowData[23];
row["nearlyOvercommittedThreshold"]=currentRowData[24];
row["daysUntilFullThreshold"]=currentRowData[25];
row["snapshotFullThreshold"]=currentRowData[26];

// Computed Columns for percentage Calculation
if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["usedPercent"] = 0.00
} else {
    row["usedPercent"] = BirtMath.round(row["usedDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["availablePercent"] = 0.00
} else {
    row["availablePercent"] = BirtMath.round(row["availableDataCapacity"] * 100 / row["totalDataCapacity"], 2)
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    if (row["snapshotReserveUsedCapacity"] >= row["snapshotReserveTotalCapacity"]) {
        row["snapshotReserveUsedPercent"] = 100.00
    } else {
        row["snapshotReserveUsedPercent"] = BirtMath.round(row["snapshotReserveUsedCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
    }
} else {
    row["snapshotReserveUsedPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
    row["snapshotReserveAvailPercent"] = BirtMath.round(row["snapshotReserveAvailCapacity"] * 100 / row["snapshotReserveTotalCapacity"], 2)
} else {
    row["snapshotReserveAvailPercent"] = 0.00
}

if (row["snapshotReserveTotalCapacity"] != null && row["snapshotReserveTotalCapacity"] != 0) {
   if (row["snapshotReserveUsedCapacity"] > row["snapshotReserveTotalCapacity"]) {
      row["snapshotOverflowPercent"] = BirtMath.round((row["snapshotReserveUsedCapacity"] - row["snapshotReserveTotalCapacity"]) * 100 / row["totalDataCapacity"], 2)
   } else {
      row["snapshotOverflowPercent"] = 0.00
   }
} else {
    row["snapshotOverflowPercent"] = 0.00
}

if (row["totalDataCapacity"] != null && row["totalDataCapacity"] !=0) {
    if (row["totalCommitted"] > row["totalDataCapacity"]) {
        row["overcommittedCapacityPercent"] = BirtMath.round((row["totalCommitted"] - row["totalDataCapacity"]) * 100 / row["totalDataCapacity"], 2)
    } else {
        row["overcommittedCapacityPercent"] = 0.00
    }
} else {
   row["overcommittedCapacityPercent"] = 0.00
}

if (row["totalDataCapacity"] == null || row["totalDataCapacity"] == 0) {
    row["dailyGrowthRate"] = 0.00
} else {
    row["dailyGrowthRate"] = BirtMath.round(row["bytesUsedPerDay"] * 100 / row["totalDataCapacity"], 2)
}

currentRow = currentRow + 1;
return ( true ); + "
-----
A BIRT exception occurred. See next exception for more information.
ReferenceError: "currentRow" is not defined. (/report/data-sets/script-data-set[@id="526"]/method[@name="fetch"]#1)
        at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:147)
        at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
        ... 60 more
Caused by: org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred. See next exception for more information.
ReferenceError: "currentRow" is not defined. (/report/data-sets/script-data-set[@id="526"]/method[@name="fetch"]#1)
        at org.eclipse.birt.data.engine.core.DataException.wrap(DataException.java:123)
        at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:1003)
        at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
        ... 61 more
Caused by: org.eclipse.birt.core.exception.CoreException: ReferenceError: "currentRow" is not defined. (/report/data-sets/script-data-set[@id="526"]/method[@name="fetch"]#1)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.wrapRhinoException(JavascriptEvalUtil.java:307)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:106)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
        at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:999)
        ... 62 more
Caused by: org.mozilla.javascript.EcmaError: ReferenceError: "currentRow" is not defined. (/report/data-sets/script-data-set[@id="526"]/method[@name="fetch"]#1)
        at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
        at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
        at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3717)
        at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1758)
        at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1697)
        at org.mozilla.javascript.gen.c56._c1(/report/data-sets/script-data-set[@id="526"]/method[@name="fetch"]:1)
        at org.mozilla.javascript.gen.c56.call(/report/data-sets/script-data-set[@id="526"]/method[@name="fetch"])
        at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
        at org.mozilla.javascript.gen.c12._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="fetch"]:0)
        at org.mozilla.javascript.gen.c12.call(/report/data-sets/script-data-set[@id="8"]/method[@name="fetch"])
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
        at org.mozilla.javascript.gen.c12.call(/report/data-sets/script-data-set[@id="8"]/method[@name="fetch"])
        at org.mozilla.javascript.gen.c12.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="fetch"])
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
        ... 64 more
2014-11-19 21:49:14,538 SEVERE [ThreadPool-Processor5] BirtUtil (BirtUtil.java:938) - Data Set script method "Fetch" returned null; expected a Boolean value. org.eclipse.birt.data.engine.core.DataException: Data Set script method "Fetch" returned null; expected a Boolean value. org.eclipse.birt.report.engine.api.EngineException: Data Set script method "Fetch" returned null; expected a Boolean value.
        at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.addException(ScriptExecutor.java:249)
        at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.addException(ScriptExecutor.java:238)
        at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java:165)
        at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch(ScriptDataSetRuntime.java:103)
        at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery.java:260)
        at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch(OdiAdapter.java:226)
        at org.eclipse.birt.data.engine.executor.cache.RowResultSet.fetch(RowResultSet.java:145)
        at org.eclipse.birt.data.engine.executor.cache.RowResultSet.doNext(RowResultSet.java:118)
        at org.eclipse.birt.data.engine.executor.cache.RowResultSet.next(RowResultSet.java:96)
        at org.eclipse.birt.data.engine.executor.cache.ExpandableRowResultSet.next(ExpandableRowResultSet.java:63)
        at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.populateData(SmartCacheHelper.java:318)
        at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.initInstance(SmartCacheHelper.java:285)
        at org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper.getResultSetCache(SmartCacheHelper.java:246)
        at org.eclipse.birt.data.engine.executor.cache.SmartCache.<init>(SmartCache.java:74)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.populateOdiResultSet(PassUtil.java:110)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassUtil.pass(PassUtil.java:62)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.populateResultSetCacheInResultSetPopulator(PassManager.java:276)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.populateDataSet(PassManager.java:238)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.prepareDataSetResultSet(PassManager.java:98)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.pass(PassManager.java:134)
        at org.eclipse.birt.data.engine.executor.transform.pass.PassManager.populateResultSet(PassManager.java:74)
        at org.eclipse.birt.data.engine.executor.transform.ResultSetPopulator.populateResultSet(ResultSetPopulator.java:218)
        at org.eclipse.birt.data.engine.executor.transform.CachedResultSet.<init>(CachedResultSet.java:200)
        at org.eclipse.birt.data.engine.executor.CandidateQuery.execute(CandidateQuery.java:142)
        at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:226)
        at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1237)
        at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
        at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
        at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
        at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
        at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
        at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
        at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
        at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
        at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
        at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
        at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
        at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
        at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLRepeatHeaderLM.layoutChildren(HTMLRepeatHeaderLM.java:46)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
        at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
        at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
        at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:258)
        at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:272)
        at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:115)
        at com.actuate.reportapi.engine.birt.ReportGenerationTask.runTask(ReportGenerationTask.java:1094)
        at com.actuate.reportapi.engine.birt.ReportGenerationTask.generateReport(ReportGenerationTask.java:206)
        at com.actuate.reportapi.engine.ReportGenerationTaskBase.doTask(ReportGenerationTaskBase.java:157)
        at com.actuate.reportapi.engine.Task.execute(Task.java:318)
        at com.actuate.reportapi.enginemanager.ThreadPool$ControlRunnable.run(ThreadPool.java:808)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.birt.data.engine.core.DataException: Data Set script method "Fetch" returned null; expected a Boolean value.
        at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java:153)
        ... 58 more
2014-11-19 21:49:14,545 SEVERE [ThreadPool-Processor5] ReportGenerationTaskBase (ReportGenerationTaskBase.java:241) - There is an error in processing your request. Error code: 17070. org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0;":
Fail to execute script in function __bm_OPEN(). Source:
------
" + reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0; + "
-----
A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2). com.actuate.reportapi.enginemanager.JREMException: There is an error in processing your request. Error code: 17070.
        at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:99)
        at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
        at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:98)
        at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(ScriptDataSetRuntime.java:80)
        at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.java:247)
        at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:223)
        at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1237)
        at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
        at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
        at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
        at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
        at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
        at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
        at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
        at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
        at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
        at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
        at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
        at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
        at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLRepeatHeaderLM.layoutChildren(HTMLRepeatHeaderLM.java:46)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
        at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
        at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
        at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:258)
        at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:272)
        at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:115)
        at com.actuate.reportapi.engine.birt.ReportGenerationTask.runTask(ReportGenerationTask.java:1094)
        at com.actuate.reportapi.engine.birt.ReportGenerationTask.generateReport(ReportGenerationTask.java:206)
        at com.actuate.reportapi.engine.ReportGenerationTaskBase.doTask(ReportGenerationTaskBase.java:157)
        at com.actuate.reportapi.engine.Task.execute(Task.java:318)
        at com.actuate.reportapi.enginemanager.ThreadPool$ControlRunnable.run(ThreadPool.java:808)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0;":
Fail to execute script in function __bm_OPEN(). Source:
------
" + reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0; + "
-----
A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2).
        ... 42 more
Caused by: org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_OPEN(). Source:
------
" + reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0; + "
-----
A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:147)
        at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
        ... 41 more
Caused by: org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.eclipse.birt.data.engine.core.DataException.wrap(DataException.java:123)
        at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:1003)
        at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
        ... 42 more
Caused by: org.eclipse.birt.core.exception.CoreException: Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.wrapRhinoException(JavascriptEvalUtil.java:307)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:106)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
        at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:999)
        ... 43 more
Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1773)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
        at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
        at org.mozilla.javascript.gen.c55._c1(/report/data-sets/script-data-set[@id="526"]/method[@name="open"]:2)
        at org.mozilla.javascript.gen.c55.call(/report/data-sets/script-data-set[@id="526"]/method[@name="open"])
        at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
        at org.mozilla.javascript.gen.c10._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:0)
        at org.mozilla.javascript.gen.c10.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
        at org.mozilla.javascript.gen.c10.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
        at org.mozilla.javascript.gen.c10.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
        ... 45 more
Caused by: java.lang.NullPointerException
        at com.netapp.actuate.ReportQueryExecutor.getGlobalOptions(Unknown Source)
        at com.netapp.actuate.ReportQueryExecutor.executeQueryWithGlobalDefault(Unknown Source)
        at com.netapp.actuate.ReportQueryExecutor.executeQueryForAggregateCapacityUtilization(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
        ... 57 more
2014-11-19 21:49:14,546 SEVERE [http-443-11] ActuateSoapBindingImpl (ActuateSoapBindingImpl.java:859) - Execute report failed (There is an error in processing your request. Error code: 17070.).: Execute report failed (There is an error in processing your request. Error code: 17070.).
        at com.actuate.iv.service.actionhandler.IVRunReportActionHandler.doExecution(IVRunReportActionHandler.java:235)
        at com.actuate.iv.service.actionhandler.IVRunReportActionHandler.doExecute(IVRunReportActionHandler.java:108)
        at com.actuate.iv.service.actionhandler.AbstractViewingActionHandler.execute(AbstractViewingActionHandler.java:336)
        at com.actuate.iv.soapengine.processor.IVComponentProcessor.executeAction(IVComponentProcessor.java:67)
        at com.actuate.iv.soapengine.processor.IVDocumentProcessor.handleStartUp(IVDocumentProcessor.java:739)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.actuate.iv.soapengine.processor.IVComponentProcessor.process(IVComponentProcessor.java:138)
        at com.actuate.schemas.ActuateSoapBindingImpl.getIVUpdatedObjects(ActuateSoapBindingImpl.java:840)
        at sun.reflect.GeneratedMethodAccessor931.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:388)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:283)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
        at com.actuate.iv.servlet.IVHttpDispatcher.handleRequest(IVHttpDispatcher.java:94)
        at com.actuate.iv.servlet.IVServlet.doPost(IVServlet.java:278)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
        at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
        at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:397)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
        at java.lang.Thread.run(Unknown Source)
Caused by: An error occurred while generating the report. There is an error in processing your request. Error code: 17070..
        at com.actuate.iv.service.actionhandler.IVRunReportActionHandler.doExecution(IVRunReportActionHandler.java:184)
        ... 48 more
Caused by: com.actuate.reportservice.ActuReportServiceException: An error occurred while generating the report. There is an error in processing your request. Error code: 17070.
        at com.actuate.reportservice.ReportServiceLocal.runReport(ReportServiceLocal.java:2793)
        at com.actuate.iv.service.actionhandler.IVRunReportActionHandler.doExecution(IVRunReportActionHandler.java:168)
        ... 48 more
Caused by: com.actuate.reportapi.enginemanager.JREMException: There is an error in processing your request. Error code: 17070.
        at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:99)
        at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
        at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:98)
        at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(ScriptDataSetRuntime.java:80)
        at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.java:247)
        at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:223)
        at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1237)
        at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
        at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
        at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
        at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
        at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
        at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
        at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
        at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
        at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
        at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
        at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
        at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
        at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
        at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
        at org.eclipse.birt.report.engine.layout.html.HTMLRepeatHeaderLM.layoutChildren(HTMLRepeatHeaderLM.java:46)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
        at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
        at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
        at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:258)
        at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:272)
        at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:115)
        at com.actuate.reportapi.engine.birt.ReportGenerationTask.runTask(ReportGenerationTask.java:1094)
        at com.actuate.reportapi.engine.birt.ReportGenerationTask.generateReport(ReportGenerationTask.java:206)
        at com.actuate.reportapi.engine.ReportGenerationTaskBase.doTask(ReportGenerationTaskBase.java:157)
        at com.actuate.reportapi.engine.Task.execute(Task.java:318)
        at com.actuate.reportapi.enginemanager.ThreadPool$ControlRunnable.run(ThreadPool.java:808)
        ... 1 more
Caused by: org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0;":
Fail to execute script in function __bm_OPEN(). Source:
------
" + reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0; + "
-----
A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2).
        ... 42 more
Caused by: org.eclipse.birt.data.engine.core.DataException: Fail to execute script in function __bm_OPEN(). Source:
------
" + reportQueryExecutor = new Packages.com.netapp.actuate.ReportQueryExecutor();
allRowsData = reportQueryExecutor.executeQueryForAggregateCapacityUtilization("select * from ocum_report_birt.aggregatecapacityutilization");
totalRows = allRowsData.size();
currentRow = 0; + "
-----
A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:147)
        at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
        ... 41 more
Caused by: org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred. See next exception for more information.
Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.eclipse.birt.data.engine.core.DataException.wrap(DataException.java:123)
        at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:1003)
        at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
        ... 42 more
Caused by: org.eclipse.birt.core.exception.CoreException: Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.wrapRhinoException(JavascriptEvalUtil.java:307)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:106)
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
        at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:999)
        ... 43 more
Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/report/data-sets/script-data-set[@id="526"]/method[@name="open"]#2)
        at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1773)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
        at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
        at org.mozilla.javascript.gen.c55._c1(/report/data-sets/script-data-set[@id="526"]/method[@name="open"]:2)
        at org.mozilla.javascript.gen.c55.call(/report/data-sets/script-data-set[@id="526"]/method[@name="open"])
        at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
        at org.mozilla.javascript.gen.c10._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:0)
        at org.mozilla.javascript.gen.c10.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
        at org.mozilla.javascript.gen.c10.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
        at org.mozilla.javascript.gen.c10.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
        at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
        ... 45 more
Caused by: java.lang.NullPointerException
        at com.netapp.actuate.ReportQueryExecutor.getGlobalOptions(Unknown Source)
        at com.netapp.actuate.ReportQueryExecutor.executeQueryWithGlobalDefault(Unknown Source)
        at com.netapp.actuate.ReportQueryExecutor.executeQueryForAggregateCapacityUtilization(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
        ... 57 more

 

 

0 REPLIES 0
Public