IBM Support

PM33605: report on 2 baselines in baseline manager raises java exception

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • within the Baseline Manager of Requisite Pro
    select GenerateReport from the File menu
    select 2 baselines of the customer (attached) and generate
    report
    
    result: the following java error is raised:
    
    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(Com
    piled
    Code))
    
     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)
    
    The customer tried already using ifix02 for 7.0.1 and I tried
    ifix04 for 7.0.1, but the problem is still visible
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Using RequisitePro Baseline Manager, user may get an error
    when comparing baselines or generating a report from these
    baselines.  This happens if there is a change in the
    requirement type attributes.  The problem occurs when an
    attribute list value is deleted and there was at least one
    requirement with this list value.  Then another attribute
    list value is set to have the same text as the one just
    deleted.
    
    These errors may happen...
    When comparing baselines:
      java.lang.NullPointerException
     at
    com.rational.rm.basecomp.gui.compare.BaseCompTreeListeners.b
    uildNodesFromStringWithModFlagForUserAttr(Unknown Source)
     at
    com.rational.rm.basecomp.gui.compare.BaseCompTreeListeners.p
    opulateReqListValue(Unknown Source)
     at
    com.rational.rm.basecomp.gui.compare.BaseCompTreeListeners.p
    opulateReq(Unknown Source)
     at
    com.rational.rm.basecomp.gui.compare.BaseCompTreeListeners.a
    ppendToPkgNode(Unknown Source)
     at
    com.rational.rm.basecomp.gui.compare.BaseCompTreeListeners.e
    xpandPkg(Unknown Source)
     at
    com.rational.rm.basecomp.gui.compare.BaseCompTreeListeners.t
    reeWillExpand(Unknown Source)
     at
    com.rational.rm.controls.tree.Tree.fireTreeWillExpand(Tree.j
    ava:2260)
     at
    com.rational.rm.controls.tree.Tree.internalExpandPath(Tree.j
    ava:1079)
     at
    com.rational.rm.controls.tree.Tree.expandPath(Tree.java:1033
    )
     at
    com.rational.rm.controls.tree.Tree.toggleExpandPath(Tree.jav
    a:1008)
     at
    com.rational.rm.controls.tree.Tree$MouseHandler.mouseDown(Tr
    ee.java:2559)
     at
    org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe
    ner.java:132)
     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.ja
    va:2772)
     at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
    :2431)
     at
    com.rational.rm.basecomp.gui.Compare.?init?(Unknown Source)
     at com.rational.rm.basecomp.gui.Compare.main(Unknown
    Source)
    
    And when generating a report:
      java.lang.reflect.InvocationTargetException
     at
    org.eclipse.jface.operation.ModalContext.run(ModalContext.ja
    va:284)
     at
    org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Progress
    MonitorDialog.java:397)
     at
    com.rational.rm.basecomp.gui.ReportDialog.genReport(Unknown
    Source)
     at
    com.rational.rm.basecomp.gui.ReportDialog.access$2600(Unknow
    n Source)
     at
    com.rational.rm.basecomp.gui.ReportDialog$CreateReportListen
    er.widgetSelected(Unknown Source)
     at
    org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe
    ner.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.ja
    va:2772)
     at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
    :2431)
     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.runW
    ithEvent(Unknown Source)
     at
    org.eclipse.jface.action.ActionContributionItem.handleWidget
    Selection(ActionContributionItem.java:915)
     at
    org.eclipse.jface.action.ActionContributionItem.access$2(Act
    ionContributionItem.java:866)
     at
    org.eclipse.jface.action.ActionContributionItem$7.handleEven
    t(ActionContributionItem.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.ja
    va:2772)
     at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
    :2431)
     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)
    

Problem conclusion

  • Added logic to have either compare or generate report
    actions working correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM33605

  • Reported component name

    REQUISITEPRO WI

  • Reported component ID

    5724G3900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-25

  • 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

  • R700 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.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 June 2011