← Back to team overview

dhis2-devs team mailing list archive

Error generating resource table - (_categoryoptioncomboname)

 

Hello,

This error keeps coming up while trying to generate one of the resource
tables (_categoryoptioncomboname) . Other tables are generated without
issues. Below is the relevant log -

 

* ERROR 2013-07-02 04:08:35,285 Error while executing action
(ExceptionInterceptor.java [http-bio-127.0.0.1-8080-exec-8])

java.lang.ArrayIndexOutOfBoundsException: 0

        at
org.hisp.dhis.common.CombinationGenerator.getCurrent(CombinationGenerator.ja
va:121)

        at
org.hisp.dhis.common.CombinationGenerator.getNext(CombinationGenerator.java:
97)

        at
org.hisp.dhis.dataelement.DataElementCategoryCombo.getSortedOptionCombos(Dat
aElementCategoryCombo.java:170)

        at
org.hisp.dhis.resourcetable.DefaultResourceTableService.generateCategoryOpti
onComboNames(DefaultResourceTableService.java:241)

        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:601)

        at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:317)

        at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:183)

        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:150)

        at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java:110)

        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:172)

        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)

        at $Proxy106.generateCategoryOptionComboNames(Unknown Source)

        at
org.hisp.dhis.dataadmin.action.resourcetable.GenerateResourceTableAction.exe
cute(GenerateResourceTableAction.java:176)

        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:601)

 

 

Any Ideas?

Thanks

 

 

..........................

Regards

 

Dapo Adejumo

+2348033683677

Skype : dapojorge

 


Follow ups