IBM Support

PI28398: NOTHING HAPPENS WHEN COPYING AND PASTING, IN THE DOCUMENTATION RICH TEXT EDITOR, ONE TABLE ROW INFORMATION INTO AN OTHER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you try to copy the information of one table row into an
    other row, IBM Rational Software Architect nothing happens.
    
    Steps to reproduce the issue using IBM Rational Software
    Architect version 9.1 or 8.5.
    1) Add a table 2x2 in Document from UML element
    2) Add text in first row
    3) Copy only first row
    4) Paste in second row
    
    Expected Result:
    The first row information is copied to the second row
    
    Actual Resut:
    Nothing happens and the following error is shown in the .log
    !ENTRY org.eclipse.e4.ui.workbench 4 0 2014-10-24 16:37:38.760
    !MESSAGE
    !STACK 0
    org.eclipse.e4.core.di.InjectionException:
    java.lang.ClassCastException:
    com.ibm.xtools.richtext.emf.impl.TableRowImpl incompatible with
    com.ibm.xtools.richtext.emf.TableColumn
     at
    org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRe
    questor.java:63)
     at
    org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(In
    jectorImpl.java:231)
    ...
    Caused by: java.lang.ClassCastException:
    com.ibm.xtools.richtext.emf.impl.TableRowImpl incompatible with
    com.ibm.xtools.richtext.emf.TableColumn
     at
    com.ibm.xtools.richtext.gef.internal.editparts.TablePart.refresh
    Children(TablePart.java:125)
     at
    com.ibm.xtools.richtext.gef.internal.editparts.EMFEditPart.refre
    shVisuals(EMFEditPart.java:139)
     at
    com.ibm.xtools.richtext.gef.internal.editparts.FlowTypePart.refr
    eshVisuals(FlowTypePart.java:93)
     at
    com.ibm.xtools.richtext.gef.internal.editparts.EMFEditPart.refre
    sh(EMFEditPart.java:117)
     at
    org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEdi
    tPart.java:253)
     at
    org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(Ab
    stractGraphicalEditPart.java:223)
     at
    com.ibm.xtools.richtext.gef.internal.editparts.TablePart.addNoti
    fy(TablePart.java:56)
     at
    org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEdit
    Part.java:212)
     at
    org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(Abstr
    actEditPart.java:781)
     at
    com.ibm.xtools.richtext.gef.internal.editparts.EMFEditPart.refre
    shVisuals(EMFEditPart.java:139)
     at
    com.ibm.xtools.richtext.gef.internal.editparts.FlowTypePart.refr
    eshVisuals(FlowTypePart.java:93)
     at
    com.ibm.xtools.richtext.gef.internal.editparts.BodyEditPart.refr
    eshVisuals(BodyEditPart.java:175)
     at
    com.ibm.xtools.richtext.gef.internal.notification.VisualProperty
    Update.run(VisualPropertyUpdate.java:42)
     at
    com.ibm.xtools.richtext.gef.internal.notification.ViewerUpdateSt
    rategy.executeUpdates(ViewerUpdateStrategy.java:68)
     at
    com.ibm.xtools.richtext.gef.internal.notification.ViewerUpdateSt
    rategy.endBatchProcessing(ViewerUpdateStrategy.java:61)
    ...
    
    !ENTRY org.eclipse.ui 4 0 2014-10-24 16:37:38.822
    !MESSAGE Unhandled event loop exception
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable
    (java.lang.NullPointerException)
     at org.eclipse.swt.SWT.error(SWT.java:4361)
     at org.eclipse.swt.SWT.error(SWT.java:4276)
     at
    org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchroniz
    er.java:138)
     at
    org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:41
    44)
     at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:376
    1)
     at
    org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.r
    un(PartRenderingEngine.java:1054)
     at
    org.eclipse.core.databinding.observable.Realm.runWithDefault(Rea
    lm.java:332)
     at
    org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run
    (PartRenderingEngine.java:943)
    ...
    Caused by: java.lang.NullPointerException
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowTableLayout$Cel
    lConstraints.access$0(FlowTableLayout.java:318)
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowTableLayout.res
    etData(FlowTableLayout.java:207)
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowTableLayout.lay
    outChildren(FlowTableLayout.java:145)
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowContainerLayout
    .layout(FlowContainerLayout.java:97)
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowFigureLayout.la
    yout(FlowFigureLayout.java:100)
     at
    org.eclipse.draw2d.Figure$LayoutNotifier.layout(Figure.java:1976
    )
     at org.eclipse.draw2d.Figure.layout(Figure.java:1093)
     at org.eclipse.draw2d.Figure.validate(Figure.java:1896)
     at
    com.ibm.xtools.richtext.gef.internal.figures.BlockFlow.validate(
    BlockFlow.java:321)
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowContainerLayout
    .layoutChildren(FlowContainerLayout.java:111)
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowContainerLayout
    .layout(FlowContainerLayout.java:97)
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowFigureLayout.la
    yout(FlowFigureLayout.java:100)
     at org.eclipse.draw2d.Figure.layout(Figure.java:1093)
     at org.eclipse.draw2d.Figure.validate(Figure.java:1896)
     at
    com.ibm.xtools.richtext.gef.internal.figures.BlockFlow.validate(
    BlockFlow.java:321)
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowPage.validate(F
    lowPage.java:155)
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowPage.getPreferr
    edSize(FlowPage.java:92)
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowPage.getMinimum
    Size(FlowPage.java:62)
     at
    org.eclipse.draw2d.StackLayout.calculateMinimumSize(StackLayout.
    java:44)
     ...
    
    Local Fix:
    None
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Rational Software Architect, Rational Software      *
    * Architect for Websphere Software, Rational Software          *
    * Architect Realtime Edition who are migrating from 7.5.x      *
    * version to any of 8.x.x (upto 9.1.x) will get affected.      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Copying and pasting in the documentation rich text editor,   *
    * one table row information into an other was throwing errors  *
    * in the log and nothing was happening.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI28398

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    804

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-10-24

  • Closed date

    2015-09-18

  • Last modified date

    2015-09-18

  • 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

    SW ARCHITECT WI

  • Fixed component ID

    5724I7001

Applicable component levels

  • R804 PSY

       UP

  • R850 PSY

       UP

  • R851 PSY

       UP

  • R900 PSY

       UP

  • R910 PSY

       UP

  • R911 PSY

       UP

  • R912 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for WebSphere Software"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"804","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 October 2021