← Back to team overview

dhis2-devs team mailing list archive

[Bug 1356232] Re: Std Dev Outlier Analysis provoked error "An exception occurred"

 

Same database as in original bug report, I see the following in the
tomcat log:

* INFO  2014-08-19 13:20:34,670 Starting std dev analysis, no of org units: 120, factor: null (StdDevOutlierAnalysisService.java [tomcat-http-3])
* ERROR 2014-08-19 13:20:34,716 Error while executing action (ExceptionInterceptor.java [tomcat-http-3])
java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.Double
	at org.hisp.dhis.dataanalysis.jdbc.JdbcDataAnalysisStore.getAverage(JdbcDataAnalysisStore.java:148)
	at org.hisp.dhis.dataanalysis.StdDevOutlierAnalysisService.analyse(StdDevOutlierAnalysisService.java:93)
	at org.hisp.dhis.validationrule.action.dataanalysis.GetAnalysisAction.execute(GetAnalysisAction.java:215)

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1356232

Title:
  Std Dev Outlier Analysis provoked error  "An exception occurred"

Status in DHIS 2:
  New

Bug description:
  An error occurs when I try to execute the "Std Dev Outlier Analysis"

  I get the following error message.

  An exception occurred
  Sorry! The system failed to execute the operation. Usually, no data is lost and you can continue working by going back to the previous page.

  DIHS2 Info:
  Version: 2.15
  Build revision: 15196
  Build date: 2014-07-25 02:06
  Database type: MySQL 5.5.25
  Java version: 1.6.0_04

  Using 
  FireFox 31.0 on Windows 7 64bit machine

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1356232/+subscriptions


Follow ups

References