IBM Support

PM34930: Baseline Manager show empty frame when generate report

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • There are two use case to test
    
    Use case 1:
    Steps to reproduce:
    1. open Baseline Manager
    2. File-?generate report
    3. select baseline 1 and 2
    4. click OK, a message show empty frame and error, check the
    file 'generate_report_error.txt' you will see the complete error
    message below.
    
    Use case 2:
    Steps to reproduce:
    1. open Baseline Manager
    2. File-?compare baseline
    3. select baseline 1 and 2
    4. click Comapre
    5.  File-?generate report, a message show empty frame and error,
    check the file 'generate_report_error.txt' you will see the
    complete error message below.
    
    The error is
    
    java.lang.reflect.InvocationTargetException
        at
    org.eclipse.jface.operation.ModalContext.run(ModalContext.java:2
    84)
        at
    org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMoni
    torDialog.java:397)
        at
    com.rational.rm.basecomp.gui.ReportDialog.genReport(Unknown
    Source)
        at
    com.rational.rm.basecomp.gui.ReportDialog.access$2600(Unknown
    Source)
        at
    com.rational.rm.basecomp.gui.ReportDialog$CreateReportListener.w
    idgetSelected(Unknown
    Source)
        at
    org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.
    java:89)
        at
    org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
        at
    org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2
    772)
        at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:243
    1)
        at
    org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
        at org.eclipse.jface.window.Window.open(Window.java:648)
        at
    com.rational.rm.basecomp.gui.actions.CreateReportAction.runWithE
    vent(Unknown
    Source)
        at
    org.eclipse.jface.action.ActionContributionItem.handleWidgetSele
    ction(ActionContributionItem.java:915)
        at
    org.eclipse.jface.action.ActionContributionItem.access$2(ActionC
    ontributionItem.java:866)
        at
    org.eclipse.jface.action.ActionContributionItem$7.handleEvent(Ac
    tionContributionItem.java:785)
        at
    org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
        at
    org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2
    772)
        at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:243
    1)
        at com.rational.rm.basecomp.gui.Compare.?init?(Unknown
    Source)
        at com.rational.rm.basecomp.gui.Compare.main(Unknown Source)
    Caused by: java.lang.NullPointerException
        at com.rational.rm.basecomp.gui.ReportDialog$8.run(Unknown
    Source)
        at
    org.eclipse.jface.operation.ModalContext$ModalContextThread.run(
    ModalContext.java:101)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using Rational RequisitePro Baseline Manager to
    generate a report, the report is not generated and an error
    is displayed instead:
    java.lang.reflect.InvocationTargetException
     at
    org.eclipse.jface.operation.ModalContext.run(ModalContext.ja
    va:284)
    ...
    Caused by: java.lang.NullPointerException
     at
    com.rational.rm.basecomp.gui.ReportDialog$8.run(Unknown
    Source)
     at
    org.eclipse.jface.operation.ModalContext$ModalContextThread.
    run(ModalContext.java:101)
    
    The problem was caused because of there is at least one
    package in baseline comparison structure that has any of
    these characters: \ / : * ? " ? ? |.  It is possible because
    RequisitePro allows you to create packages with these
    characters in the name.
    

Problem conclusion

  • A logic is added to remove these invalid character from the
    package name when generating the report.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM34930

  • Reported component name

    REQUISITEPRO WI

  • Reported component ID

    5724G3900

  • Reported release

    711

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-16

  • Closed date

    2011-06-22

  • Last modified date

    2011-06-22

  • 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

    REQUISITEPRO WI

  • Fixed component ID

    5724G3900

Applicable component levels

  • R711 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHCT","label":"Rational RequisitePro"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 June 2011