dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18455
Re: dataentry screen error
One thing that I know have been known to cause issues before, is if you
have an extra newline in your expression.
--
Morten
On Tue, Jul 31, 2012 at 12:02 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>wrote:
> Would be helpful if you could pinpoint the expression which is causing the
> issue?
>
> Also, can you share the meta-data? (or is this just with SL demo db?)
>
> --
> Morten
>
>
>
> On Tue, Jul 31, 2012 at 12:00 PM, Bob Jolliffe <bobjolliffe@xxxxxxxxx>wrote:
>
>> Yes ... both logs and metadadata action return show me:
>>
>> * ERROR 2012-07-31 10:16:53,477 Error while executing action
>> (ExceptionInterceptor.java [ajp-bio-8009-exec-9])
>> java.lang.NullPointerException
>> at
>> org.hisp.dhis.expression.DefaultExpressionService.explodeExpression(DefaultExpressionService.java:475)
>> at
>> org.hisp.dhis.expression.DefaultExpressionService.explodeAndSubstituteExpressions(DefaultExpressionService.java:451)
>>
>> I guess you are right that there is maybe still something incomplete
>> or "unhinged" in the metadata. BTW this is the result of importing
>> metadata from /api/metadata.xml
>>
>> Bob
>>
>> On 31 July 2012 10:27, Morten Olav Hansen <mortenoh@xxxxxxxxx> wrote:
>> > This is probably caused by some errors with your dataset (or other
>> > meta-data).
>> >
>> > If you use chrome, go into the inspector and look up network activity
>> > (filter on XHR), there you will see a call to get meta-data, click on
>> that
>> > link, and see what it gives you. The log should probably also give you
>> > something.
>> >
>> > --
>> > Morten
>> >
>> >
>> > On Tue, Jul 31, 2012 at 11:24 AM, Bob Jolliffe <bobjolliffe@xxxxxxxxx>
>> > wrote:
>> >>
>> >> I am hitting a problem with the dataentry screen (online) with the
>> >> latest trunk build. I see the ou tree on the left, but the form on
>> >> the right gives me a continuous animated "progress" icon next to
>> >> dataset selection.
>> >>
>> >> Selecting orgunits on the left do not reflect in the form on the
>> >> right. What I see in the Chrome javascript console is:
>> >>
>> >> Document was loaded from Application Cache with manifest
>> >> https://localhost/trunk/dhis-web-commons/cacheManifest.action
>> >> Application Cache Checking event
>> >> Application Cache Error event: Manifest fetch failed (-1)
>> >> https://localhost/trunk/dhis-web-commons/cacheManifest.action
>> >> Resource interpreted as Font but transferred with MIME type
>> >> application/octet-stream:
>> >>
>> >> "
>> https://localhost/trunk/dhis-web-commons/fonts/LiberationSans-Regular-webfont.woff
>> ".
>> >> index.action:388
>> >> Resource interpreted as Font but transferred with MIME type
>> >> application/octet-stream:
>> >>
>> >> "
>> https://localhost/trunk/dhis-web-commons/fonts/LiberationSans-Bold-webfont.woff
>> ".
>> >> index.action:388
>> >> Ouwt loaded dhis2.util.js:164
>> >> Uncaught SyntaxError: Unexpected token u form.js:157
>> >> $.ajax.complete form.js:157
>> >> f.Callbacks.n jquery.min.js:2
>> >> f.Callbacks.o.fireWith jquery.min.js:2
>> >> w jquery.min.js:4
>> >> f.support.ajax.f.ajaxTransport.send.d jquery.min.js:4
>> >>
>> >> Any ideas? I am not sure if this is a bug or a cache issue because it
>> >> seems to be fine when I access http://apps.dhis2.org/dev. But that
>> >> uncaught synbtax error looks odd.
>> >>
>> >> Bob
>> >>
>> >> _______________________________________________
>> >> 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