dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #02708
Re: Exception with Category Data Entry form
Hi
Yes, I can create new category and options. But with old category form
last version before have change category, it is not working.
================================
Tran Thanh Tri
HISP Viet Nam
Cell phone: +84903670967
Website: http://tringuyenvn.com
================================
2009/10/26 Trí Trần Thanh <tranthanhtri84@xxxxxxxxx>:
> 2009/10/26 Abyot Gizaw <abyota@xxxxxxxxx>:
>> oh really? ... but are you sure that your category has options?
> I am sure.
>>
>> If it was working before - like the categories and options all properly
>> associate ... then ask Lars to look for his DB upgrade query
>
> Ok. I will ask Lars
>
>>
>>
>>
>> On Mon, Oct 26, 2009 at 8:47 AM, Trí Trần Thanh <tranthanhtri84@xxxxxxxxx>
>> wrote:
>>>
>>> Hi Abyot.
>>>
>>> I checked and saw. dataelementcategoryoption table have categoryid
>>> column is null. What can i do ?
>>>
>>> ================================
>>> Tran Thanh Tri
>>> HISP Viet Nam
>>> Cell phone: +84903670967
>>> Website: http://tringuyenvn.com
>>> ================================
>>>
>>>
>>>
>>> 2009/10/26 Abyot Gizaw <abyota@xxxxxxxxx>:
>>> > Hi Tri,
>>> >
>>> > Seems that you have a category without an option - can you check that?
>>> >
>>> > Thank you
>>> > Abyot.
>>> >
>>> > 2009/10/26 Trí Trần Thanh <tranthanhtri84@xxxxxxxxx>
>>> >>
>>> >> Hi all.
>>> >> I have DHIS2.0 database. It 's working fine with last DHIS2.0 version
>>> >> but now it isn't .
>>> >>
>>> >> java.util.NoSuchElementException
>>> >> java.util.AbstractList$Itr.next(AbstractList.java:350)
>>> >>
>>> >>
>>> >> org.hisp.dhis.dataelement.DefaultDataElementCategoryService.sortOptionCombos(DefaultDataElementCategoryService.java:544)
>>> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >>
>>> >>
>>> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >>
>>> >>
>>> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >> java.lang.reflect.Method.invoke(Method.java:597)
>>> >>
>>> >>
>>> >> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
>>> >>
>>> >>
>>> >> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
>>> >>
>>> >>
>>> >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
>>> >>
>>> >>
>>> >> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
>>> >>
>>> >>
>>> >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>> >>
>>> >>
>>> >> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
>>> >>
>>> >>
>>> >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>> >>
>>> >>
>>> >> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>>> >> $Proxy15.sortOptionCombos(Unknown Source)
>>> >>
>>> >>
>>> >> org.hisp.dhis.de.action.multidimensional.FormAction.execute(FormAction.java:381)
>>> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >>
>>> >>
>>> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >>
>>> >>
>>> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >> java.lang.reflect.Method.invoke(Method.java:597)
>>> >>
>>> >>
>>> >> com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:440)
>>> >>
>>> >> ================================
>>> >> Tran Thanh Tri
>>> >> HISP Viet Nam
>>> >> Cell phone: +84903670967
>>> >> Website: http://tringuyenvn.com
>>> >> ================================
>>> >>
>>> >> _______________________________________________
>>> >> Mailing list: https://launchpad.net/~dhis2-devs
>>> >> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> >> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> >> More help : https://help.launchpad.net/ListHelp
>>> >
>>> >
>>
>>
>
References