I was able to reproduce this by NOT selecting an orgunit. The user should be 
warned that they must select an orgunit before proceeding. 
The original description of the bug appears not to be entirely valid, as I can 
only reproduce this by NOT selecting an orgunit. 

Exception (java.ang.NullPointerException): null

    * 
org.hisp.dhis.dataanalysis.StdDevOutlierAnalysisService.analyse(StdDevOutlierAnalysisService.java:74)
    * sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown source)
    * sun.reflect.NativeMethodAccessorImpl.invoke(Unknown source)
    * sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown source)
    * java.lang.reflect.Method.invoke(Unknown source)
    * 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
    * 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    * 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    * 
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
    * 
org.hisp.dhis.jdbc.StatementInterceptor.intercept(StatementInterceptor.java:65)
    * sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown source)
    * sun.reflect.NativeMethodAccessorImpl.invoke(Unknown source)
    * sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown source)
    * java.lang.reflect.Method.invoke(Unknown source)

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

Title:
  Std dev outlier analysis exception

Status in DHIS 2 - District Health Information Software:
  Invalid

Bug description:
  After selecting date, dataset and organisation unit when user press
  start button an exception occurred. More details in attached file.

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to