Hi Neil & Luis
I have successfully imported the report by selecting the historical db, but I have an Issue, the report is not working as expected, its sometime gives DBErrors as follows
com.cisco.ccbu.cuic.businesslogic.datasource.CuicDbException: DbException: CuicDataSourceServiceManagerImpl.getDataSet() { Nested SQLException; SQLState: S0001 Vendor code: 8134 Message: Divide by zero error encountered. } at com.cisco.ccbu.cuic.businesslogic.datasource.CuicDataSourceServiceManagerImpl.getDataSetBuilder(CuicDataSourceServiceManagerImpl.java:884) at com.cisco.ccbu.cuic.businesslogic.engine.CuicDataProcessingCenterWorkerRunnable.runReport(CuicDataProcessingCenterWorkerRunnable.java:297) at com.cisco.ccbu.cuic.businesslogic.engine.CuicDataProcessingCenterWorkerRunnable.run(CuicDataProcessingCenterWorkerRunnable.java:117) at com.cisco.ccbu.infra.threads.InstrumentedRunnable.run(InstrumentedRunnable.java:88) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) at com.cisco.ccbu.infra.threads.ThreadPoolThread.run(ThreadPoolThread.java:164) Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Divide by zero error encountered. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(Unknown Source) at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(Unknown Source) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76) at com.cisco.ccbu.cuic.businesslogic.datasource.CuicDataSourceServiceManagerImpl.getDataSetBuilder(CuicDataSourceServiceManagerImpl.java:847) ... 7 more
Its happening when you are selecting a big duration for example a duration of 10hours, i have checked in the source script of the error html file it looks like the below
<script src="/cuic/cues_utility/cues_taglib.js" language="JavaScript"></script><script>cuesKnownLocation='/cuic/';cuesImageFolder='cues_images';cuesIconFolder='cues_icons';cuesVersion='61';cuesXslSkin='base';cuesImageSuffix='';</script><link href="/cuic/tigra/tree.css" rel="stylesheet" type="text/css" /><script src="/cuic/tigra/tree.js" language="JavaScript"></script><script src="/cuic/tigra/cuesDrawer_tree_tpl.js" language="JavaScript"></script><script src="/cuic/tigra/tree_tpl.js" language="JavaScript"></script><script src="/cuic/cues_utility/cues_fonts.js" language="JavaScript"></script><link id="cuesCSS" href="/cuic/cues_utility/cues_taglib.css" rel="stylesheet" type="text/css" /><script src="/cuic/cues_utility/cues_drawn.js" language="JavaScript"></script><script>msgInvalidData="Invalid data has been entered";msgNoncontiguousReorder="You can only reorder selected rows that are contiguous";altExpandDrawer="Expand";altCollapseDrawer="Collapse";altExpandNav="Expand Navigation Pane";altCollapseNav="Collapse Navigation Pane";altExpandTree="Expand tree item";altCollapseTree="Collapse tree item";altLeafTree="Leaf";altWizardStepErrorState="Wizard step contains 1 or more errors";altTabErrorState="Tab contains 1 or more errors";msgEmptyRow="No data to display";altExpandPane="Expand";altCollapsePane="Collapse";altRestorePane="Restore";altInformationalMessage="Informational message";altCriticalErrorMessage="Critical error message";altErrorMessage="Error message";altWarningMessage="Warning message";altSuccessMessage="Success message";var cuesMaskeditFormatError = new Array();cuesMaskeditFormatError["time2"]="The entered time must be in the range of 1:00 to 12:59";cuesMaskeditFormatError["netmask"]="A valid netmask consists of four numbers (0-255) separated by periods, e.g. 123.0.255.3";cuesMaskeditFormatError["ipv6mask"]="Invalid data has been entered";cuesMaskeditFormatError["miltime2"]="The entered time must be in the range of 0:00 to 23:59";cuesMaskeditFormatError["mac"]="A valid MAC address is nn:nn:nn:nn:nn:nn where the 'n's are either digits (0-9) or letters (A-F)";cuesMaskeditFormatError["ipv6"]="A valid IPv6 address is n:n:n:n:n:n:n:n where the 'n's are either digits (0-9) or letters (A-F)";cuesMaskeditFormatError["ipv4"]="A valid IPv4 address consists of four numbers (0-255) separated by periods, e.g. 123.0.255.3";</script>
its not happening always, only for certain intervals, i have checked all the other reports, it all works fine
Please help me to solve the issue
thanks / Rajesh