dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #11012
Re: Upgrading from DHIS2.19 to 2.24
I cannot reproduce this issue on our demo. Could you provide a (minimal)
example jrxml file which causes the error? Also, did you try it on 2.21?
The JasperReports library was upgraded from in 21, which should have
resolved a potential cause of this issue.
On Mon, Aug 1, 2016 at 12:19 PM, Morina Matasi <morena.motsieng@xxxxxxxxx>
wrote:
> I am still stuck! Has anyone had problems running standard reports (JRXML)
> from 2.19 in 2.20 or later? And how did you resolve these problems? I have
> tried all the suggested steps but can't get it to work. The reports work
> well in 2.19, but stop working in 2.20 or later since 2.20 or later uses
> Java 8.
>
> On Mon, Jul 11, 2016 at 6:43 PM, Morina Matasi <morena.motsieng@xxxxxxxxx>
> wrote:
>
>> Thanks Knut. I tried steps in that link with no joy. I was using standard
>> reports in DHIS2.19. These reports are .jrxml files done in Jasper Reports.
>> My JRXML report runs well in DHIS2.19 but stops running in DHIS2.20 or
>> later. Am I the only one who faced this problem? Wasn't there an upgrade
>> plan for JRXML reports.
>>
>>
>>
>> On Mon, Jul 11, 2016 at 3:02 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>
>>> Hello,
>>>
>>> I have no experience with running Jasper reports on JDK 8, but a quick
>>> googling showed up this:
>>>
>>>
>>> https://community.jaspersoft.com/questions/844403/how-run-jasperreports-java-8
>>>
>>> On Mon, Jul 11, 2016 at 2:20 PM, Morina Matasi <
>>> morena.motsieng@xxxxxxxxx> wrote:
>>>
>>>> I need to upgrade my system from 2.19 to 2.24. I have first upgraded to
>>>> 2.20 with Tomcat 8 and JDK 8. The system runs by the Jasper Reports won't.
>>>> I get error:
>>>>
>>>> net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
>>>> 1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
>>>> value = ((java.lang.String)field_organisationunitname.getValue()).equals(((java.lang.String)field_param_organisationunit_name.getValue()))? //$JR_EXPR_ID=27$
>>>> <-------------------------------------------------------------------------------------------------------------------------------->
>>>>
>>>> Did anyone had any issues with Jasper Reports running on JDK 8?
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522
>>> Skype: knutstar
>>> http://dhis2.org
>>>
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
--
Halvdan Hoem Grelland
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org <https://www.dhis2.org/>
References