Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Birt 4.8 failed to run reports on local

    Posted Tue October 22, 2024 04:16 AM

    Hi!

    I have always a problem with BIRT with different installations and diffrent versions after BIRT engine was updated. 

    When I try to run any reports with scripted data source localy (From birt designer) it fails with next error

    Wrapped com.ibm.tivoli.maximo.report.script.MXReportRuntimeException: java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because "removeEmoji" is null (/report/data-sets/script-data-set[@id="1639"]/method[@name="fetch"]#4).
    To solve it I found only one solution is to add in the data set script on open missing report contrext param:
    context = mxReportScriptContext;
    context.getMXReportContext().put("mxe.report.birt.removeEmoji", false)
    My question is, do only I have this problem? Or maybe I missed something in configuration of birt report designer ?


    ------------------------------
    Andrey Ilinskiy
    Handz.on
    https://www.on.de/
    München
    ------------------------------


  • 2.  RE: Birt 4.8 failed to run reports on local

    Posted Wed October 30, 2024 02:46 PM

    I am seeing this same issue if I use the ScriptLibrary classes from MAS 9 it errors out. If I use the ones from MAS8.x the report runs fine in the designer.

    John



    ------------------------------
    John Myers
    ------------------------------



  • 3.  RE: Birt 4.8 failed to run reports on local

    Posted Mon November 11, 2024 11:44 AM

    Hi John,

    I tried following your recomendation, but none of the out-of-box reports are working.

    Do you copy of the libraries/classes from MAS 8?

    Thank you,

    Yessica



    ------------------------------
    Yessica Barria Ojeda
    ------------------------------



  • 4.  RE: Birt 4.8 failed to run reports on local

    Posted Mon November 11, 2024 12:17 PM

    This is what I used

    https://www.ibm.com/support/pages/setting-eclipse-48-maximo-application-suite-8x-maximo-asset-management-7612-7613



    ------------------------------
    John Myers
    ------------------------------