IBM Support

PK98013: Creating BIRT report fails with 'A BIRT exception occured:Error evaluating Javascript expression.....'

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • 1.Run data warehouse 'update all snapshot data' first,
    2.Run the 'Defect arrival and resolution' trend report
    
    The following error message appear:
    Data (id = 321):
    + A BIRT exception occurred: Error evaluating Javascript express
    ion. Script engine error: Wrapped java.lang.NullPointerException
    Script source: {1}, line: 2, text:
    ?compiled script?. See next exception for more information.
    Error evaluating Javascript expression. Script engine error: Wra
    pped java.lang.NullPointerException
    Script source: {1}, line: 2, text:
    ?compiled script?
    data.engine.BirtException ( 1 time(s) )
    detail : org.eclipse.birt.report.engine.api.EngineException: A B
    IRT exception occurred: Error evaluating Javascript expression.
    Script engine error: Wrapped java.lang.NullPointerException
     Script source: {1}, line: 2, text:
    ?compiled script?. See next exception for more information.
    Error evaluating Javascript expression. Script engine error: Wra
    pped java.lang.NullPointerException
     Script source: {1}, line: 2, text:
    ?compiled script?
     at org.eclipse.birt.report.engine.executor.ExecutionContext.add
    Exception(ExecutionContext.java:1121)
     at org.eclipse.birt.report.engine.executor.ExecutionContext.add
    Exception(ExecutionContext.java:1085)
     at org.eclipse.birt.report.engine.executor.DataItemExecutor.exe
    cute(DataItemExecutor.java:100)
     at org.eclipse.birt.report.engine.internal.executor.dup.Suppres
    sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.jav
    a:42)
     at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe
    dReportItemExecutor.execute(WrappedReportItemExecutor.java:45)
     at org.eclipse.birt.report.engine.internal.executor.l18n.Locali
    zedReportItemExecutor.execute(LocalizedReportItemExecutor.java:3
    3)
     at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking
    LM.layoutNodes(HTMLBlockStackingLM.java:63)
     at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout
    (HTMLPageLM.java:90)
     at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE
    ngine.layout(HTMLReportLayoutEngine.java:101)
     at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR
    un(RunAndRenderTask.java:151)
     at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run
    (RunAndRenderTask.java:72)
     at com.ibm.team.reports.service.birt.internal.BirtReportEngineS
    ervice.internalGetRenderedReport(BirtReportEngineService.java:66
    8)
     at com.ibm.team.reports.service.birt.internal.BirtReportEngineS
    ervice.getRenderedReport(BirtReportEngineService.java:297)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
    ssorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
    thodAccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:599)
     at org.eclipse.soda.sat.core.internal.record.ExportProxyService
    Record.invoke(ExportProxyServiceRecord.java:378)
     at org.eclipse.soda.sat.core.internal.record.ExportProxyService
    Record.access$0(ExportProxyServiceRecord.java:364)
     at org.eclipse.soda.sat.core.internal.record.ExportProxyService
    Record$ExportedServiceInvocationHandler.invoke(ExportProxyServic
    eRecord.java:56)
     at $Proxy466.getRenderedReport(Unknown Source)
     at com.ibm.team.reports.service.internal.InternalReportService.
    getRenderedReport(InternalReportService.java:1097)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethod
    
    RQM Development identified the cause of the problem: open the te
    st plan that the report based on, click on the test schedules, c
    ustomer does not have the 'actual end date', this cause the prob
    lem, after specify that date, this problem goes away.
    

Local fix

Problem summary

  • Error messages were displayed by the Defect arrival and
    resolution trend report when a Test Plan had a Test Schedule
    entry that had an Actual Start date but no Actual End Date.
    

Problem conclusion

  • The problem was resolved by setting the end time to be the
    same as the start time when no end time is specified.  The
    log file will reflect that no end date was set.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK98013

  • Reported component name

    RQM STD ED

  • Reported component ID

    5724V1001

  • Reported release

    200

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-10-06

  • Closed date

    2009-11-04

  • Last modified date

    2009-11-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RQM STD ED

  • Fixed component ID

    5724V1001

Applicable component levels

  • R200 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSR27Q","label":"Rational Quality Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2.0","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
24 October 2021