Upgrading from DHIS2.19 to 2.24

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?

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@gmail.com 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@lists.launchpad.net

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

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@gmail.com 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@gmail.com 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@lists.launchpad.net

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

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@gmail.com 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@gmail.com 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@gmail.com 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@lists.launchpad.net

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