IBM Support

PI74224: REFACTORING AFTER ADDING AN ACTOR FROM CUSTOM PLUGIN RESULTS IN AN "INVALID THREAD ACCESS..." ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In IBM Rational Software Architect (RSA), when adding an "actor"
    from a custom plugin and then refactoring/renaming the actor, an
    "Invalid thread access..." error occurs.
    
    1. Load your plugins into RSA
    
    2. Run the plugins in a separate Eclipse instance
    
    3. Add a UML project & model in the separate Eclipse instance
    
    4. Apply the "LogicalDataModel" profile and your custom profile
    to the model
    
    5. Add a package to the model
    
    6. Save the changes
    
    7. Apply a stereotype from your custom profile to the package
    
    8. Save the changes
    
    9. Add an actor from your custom profile's context menu
    
    RESULT: A "problem_report_1.html" file is generated with the
    message: "Package with uri 'http://schema.omg.org/spec/XMI/2.1'
    not found"
    
    10. Save the changes
    
    RESULT: A "The resource .... is a version of the older version.
    When you save it in a more recent format, it will not be
    compatible with the older version of the tool.  Do you wish to
    continue?" message appears
    
    11. Perform a "Refactor > Rename" on the actor from Step 9
    
    RESULT: An "Invalid thread access..." error appears with the
    following .log output:
    
    
    [<BEGIN>]
    
    !ENTRY org.eclipse.ltk.ui.refactoring 4 10000
    !MESSAGE Internal Error
    !STACK 1
    org.eclipse.core.runtime.CoreException: Invalid thread access
        at
    com.ibm.xtools.rumv.ui.internal.refactoring.changes.BaseChange.p
    erform(U
    nknown Source)
        at
    com.ibm.xtools.modeler.ui.internal.ui.refactoring.processors.cha
    nges.Ele
    mentChange.perform(Unknown Source)
        at
    org.eclipse.ltk.core.refactoring.CompositeChange.perform(Unknown
    Source)
        at
    com.ibm.xtools.rumv.ui.internal.refactoring.changes.AbstractBase
    Composit
    eChange.perform(Unknown Source)
        at
    com.ibm.xtools.rumv.ui.internal.refactoring.changes.BaseComposit
    eChange.
    perform(Unknown Source)
        at
    org.eclipse.ltk.core.refactoring.CompositeChange.perform(Unknown
    Source)
        at
    org.eclipse.ltk.core.refactoring.CompositeChange.perform(Unknown
    Source)
        at
    org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(Un
    known
    Source)
        at org.eclipse.core.internal.resources.Workspace.run(Unknown
    Source)
        at
    org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeC
    hange(Un
    known Source)
        at
    org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation
    .execute
    Change(Unknown Source)
        at
    org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(Unkn
    own
    Source)
        at org.eclipse.core.internal.resources.Workspace.run(Unknown
    Source)
        at
    org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter
    .run(Unk
    nown Source)
        at
    org.eclipse.jface.operation.ModalContext$ModalContextThread.run(
    Unknown
    Source)
    Caused by: org.eclipse.swt.SWTException: Invalid thread access
    
    [</END>]
    

Local fix

  • There is no workaround.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * While renaming a custom Actor element, "Invalid thread       *
    * access" error was thrown.                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • While renaming a custom Actor element, "Invalid thread access"
    error was thrown. This is now fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI74224

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-28

  • Closed date

    2017-05-11

  • Last modified date

    2017-05-11

  • 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

    RATL SW ARCHITE

  • Fixed component ID

    5725A3000

Applicable component levels

  • R850 PSY

       UP

  • R851 PSY

       UP

  • R900 PSY

       UP

  • R910 PSY

       UP

  • R911 PSY

       UP

  • R912 PSY

       UP

  • R950 PSY

       UP

  • R960 PSY

       UP

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

Document Information

Modified date:
19 October 2021