← Back to team overview

dhis2-devs team mailing list archive

Re: DHIS - Issues with new Data Elements on 2.22

 

Hi Morten,

Here are the logs for the same.

_________________________________________________________________________________________________________________________


* INFO  2016-01-22 17:54:22,022 Building object-bridge maps (preheatCache:
false, 6 classes). (DefaultObjectBridge.java [qtp1146222092-1116])
* INFO  2016-01-22 17:54:22,030 Building object-bridge maps took 0.01
seconds. (DefaultObjectBridge.java [qtp1146222092-1116])
* INFO  2016-01-22 17:54:22,041 'admin' update
org.hisp.dhis.dataelement.DataElement, name: Test Data Element, uid:
BYY8By74wAk (AuditLogUtil.java [qtp1146222092-1116])
* INFO  2016-01-22 17:54:56,064 'admin' update
org.hisp.dhis.dataset.DataSet, name: data set 2.22 test, uid: qJt4t3bjODe
(AuditLogUtil.java [qtp1146222092-1117])
* ERROR 2016-01-22 17:55:05,815 Error while executing action
(ExceptionInterceptor.java [qtp1146222092-1155])
java.lang.NullPointerException
at
org.hisp.dhis.dataelement.comparator.DataElementCategoryComboSizeComparator.compare(DataElementCategoryComboSizeComparator.java:45)
at
org.hisp.dhis.dataelement.comparator.DataElementCategoryComboSizeComparator.compare(DataElementCategoryComboSizeComparator.java:39)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
at java.util.TimSort.sort(TimSort.java:220)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1454)
at java.util.Collections.sort(Collections.java:175)
at
org.hisp.dhis.dataelement.DefaultDataElementService.getDataElementCategoryCombos(DefaultDataElementService.java:279)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy55.getDataElementCategoryCombos(Unknown Source)
at org.hisp.dhis.de.action.LoadFormAction.execute(LoadFormAction.java:275)
at sun.reflect.GeneratedMethodAccessor1033.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)

__________________________________________________________________________________________________________________________

Thanks,

Archana Chillala
Application Developer
Email archanac@xxxxxxxxxxxxxxxx
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Fri, Jan 22, 2016 at 5:23 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
wrote:

> Hi
>
> Can you provide the logs from the server? there should be a stack trace
> there
>
> --
> Morten
>
> On Fri, Jan 22, 2016 at 6:47 PM, Archana Chillala <
> archanac@xxxxxxxxxxxxxxxx> wrote:
>
>> Hi,
>>
>> I have recently updated my DHIS version to 2.22.
>>
>> Data elements that are newly created on 2.22 and added to an existing/new
>> data set throw an exception on the data entry screen. But, the data
>> elements that are already existing (created while on 2.21 version) do not
>> cause any error and load perfectly on the data entry form.
>>
>> I have attached a screenshot of the exception below.
>>
>>
>> [image: Inline image 1]
>>
>>  Could you please help fix this?
>>
>>
>>
>>
>> Thanks & Regards,
>>
>> Archana Chillala
>> Application Developer
>> Email archanac@xxxxxxxxxxxxxxxx
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> _______________________________________________
>> 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
>>
>>
>

PNG image


Follow ups

References