← Back to team overview

dhis2-devs team mailing list archive

[Bug 1366401] [NEW] DHIS 2.13 web visualizer not loading

 

Public bug reported:

Up until now, the web visualiser of our application has been working
well. DHIS2 2.13 running on Debian.

But more recently, the web visualizer freezes when we try to access it. 
Catalina generates the following error:
FINE: Request "/demo/dhis-web-visualizer/app/scripts/core.js" with response status "304" content-type "304", skip expiration header generation for given status
Sep 06, 2014 10:13:29 PM org.apache.catalina.filters.ExpiresFilter isEligibleToExpirationHeaderGeneration
FINE: Request "/demo/dhis-web-visualizer/app/scripts/app.js" with response status "304" content-type "304", skip expiration header generation for given status
* ERROR 2014-09-06 22:13:29,824 Error while executing action (ExceptionInterceptor.java [tomcat-http-10])
org.hibernate.NonUniqueResultException: query did not return a unique result: 7
        at org.hibernate.internal.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:914)
        at org.hibernate.internal.CriteriaImpl.uniqueResult(CriteriaImpl.java:396)
        at org.hisp.dhis.period.hibernate.HibernatePeriodStore.getPeriod(HibernatePeriodStore.java:76)
        at org.hisp.dhis.period.hibernate.HibernatePeriodStore.reloadPeriod(HibernatePeriodStore.java:186)
        at org.hisp.dhis.period.hibernate.HibernatePeriodStore.reloadForceAddPeriod(HibernatePeriodStore.java:193)
        at org.hisp.dhis.period.DefaultPeriodService.reloadPeriods(DefaultPeriodService.java:217)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

** Affects: dhis2
     Importance: Undecided
         Status: New

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

Title:
  DHIS 2.13 web visualizer not loading

Status in DHIS 2:
  New

Bug description:
  Up until now, the web visualiser of our application has been working
  well. DHIS2 2.13 running on Debian.

  But more recently, the web visualizer freezes when we try to access it. 
  Catalina generates the following error:
  FINE: Request "/demo/dhis-web-visualizer/app/scripts/core.js" with response status "304" content-type "304", skip expiration header generation for given status
  Sep 06, 2014 10:13:29 PM org.apache.catalina.filters.ExpiresFilter isEligibleToExpirationHeaderGeneration
  FINE: Request "/demo/dhis-web-visualizer/app/scripts/app.js" with response status "304" content-type "304", skip expiration header generation for given status
  * ERROR 2014-09-06 22:13:29,824 Error while executing action (ExceptionInterceptor.java [tomcat-http-10])
  org.hibernate.NonUniqueResultException: query did not return a unique result: 7
          at org.hibernate.internal.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:914)
          at org.hibernate.internal.CriteriaImpl.uniqueResult(CriteriaImpl.java:396)
          at org.hisp.dhis.period.hibernate.HibernatePeriodStore.getPeriod(HibernatePeriodStore.java:76)
          at org.hisp.dhis.period.hibernate.HibernatePeriodStore.reloadPeriod(HibernatePeriodStore.java:186)
          at org.hisp.dhis.period.hibernate.HibernatePeriodStore.reloadForceAddPeriod(HibernatePeriodStore.java:193)
          at org.hisp.dhis.period.DefaultPeriodService.reloadPeriods(DefaultPeriodService.java:217)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
          at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
          at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
          at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
          at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

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


Follow ups

References