IBM Support

PH52334: WHEN OPENING TRANSFORM.TMA, THE JET TRANSFORMATION EDITOR GIVES A NULLPOINTEREXCEPTION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • In IBM Rational Software Architect Designer (RSAD), if you open
    the transformation editor (transform.tma), a
    NullPointerException (NPE) appears.
    
    Steps to Reproduce:
    
    1. Create a General project called "example"
    2. Create a JET Project with Exemplar Authoring by selecting
    "example" as the exemplar project
    3. Close the tranformation editor (transform.tma)
    4. Open the transform.tma
    Expected Result: The editor opens without errors.
    Actual Result: The editor opens with a NPE.  The error output in
    .log is as follows:
    
    [<BEGIN>]
    !ENTRY org.eclipse.ui.workbench 4 2
    !MESSAGE Problems occurred when invoking code from plug-in:
    "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.NullPointerException
    	at
    com.ibm.xtools.jet.ui.internal.editors.tma.PropertySheetPageAdap
    terFactory.isPageValid(PropertySheetPageAdapterFactory.java:50)
    	at
    com.ibm.xtools.jet.ui.internal.editors.tma.PropertySheetPageAdap
    terFactory.getAdapter(PropertySheetPageAdapterFactory.java:41)
    	at
    org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter
    (AdapterFactoryProxy.java:82)
    	at
    org.eclipse.core.internal.runtime.AdapterManager.getAdapter(Adap
    terManager.java:295)
    	at
    org.eclipse.ui.part.WorkbenchPart.getAdapter(WorkbenchPart.java:
    142)
    	at
    org.eclipse.ui.part.MultiPageEditorPart.getAdapter(MultiPageEdit
    orPart.java:1167)
    	at org.eclipse.core.runtime.Adapters.adapt(Adapters.java:59)
    	at org.eclipse.core.runtime.Adapters.adapt(Adapters.java:107)
    	at
    org.eclipse.ui.views.properties.PropertySheet.doCreatePage(Prope
    rtySheet.java:271)
    	at
    org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:38
    5)
    	at
    org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java
    :728)
    	at
    org.eclipse.ui.views.properties.PropertySheet.partActivated(Prop
    ertySheet.java:435)
    	at
    org.eclipse.ui.part.PageBookView$1.partActivated(PageBookView.ja
    va:1028)
    	at
    org.eclipse.ui.internal.WorkbenchPage$15.run(WorkbenchPage.java:
    4999)
    	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    	at
    org.eclipse.ui.internal.WorkbenchPage.firePartActivated(Workbenc
    hPage.java:4996)
    	at
    org.eclipse.ui.internal.WorkbenchPage.access$19(WorkbenchPage.ja
    va:4975)
    	at
    org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivat
    ed(WorkbenchPage.java:212)
    	at
    org.eclipse.e4.ui.internal.workbench.PartServiceImpl$3.run(PartS
    erviceImpl.java:250)
    	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    	at
    org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartAct
    ivated(PartServiceImpl.java:247)
    	at
    org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(Pa
    rtServiceImpl.java:756)
    	at
    org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(Pa
    rtServiceImpl.java:681)
    	at
    org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(Pa
    rtServiceImpl.java:676)
    	at
    org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPa
    ge.java:3269)
    	at
    org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.ja
    va:3176)
    	at
    org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:
    3158)
    	at
    org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.jav
    a:70)
    	at
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.j
    ava:3153)
    	at
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.j
    ava:3117)
    	at
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.j
    ava:3107)
    	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:563)
    	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:518) ...
    [</END>]
    
    If you then try to add, for example, a "Type" to the
    "Transformation input schema and output actions", another NPE
    appears and the Type's name is rendered as an underscore
    character. The context menu options, such as "Rename" and
    "Delete", inside "Transformation input schema and output
    actions" do not respond when selected.
    
    Also, if you close and reopen the transform.tma from the Project
    Explorer, a "Failed to create the part's controls" error appears
    and the following is written to the .log file:
    
    [<BEGIN>]
    !ENTRY org.eclipse.e4.ui.workbench 4 0
    !MESSAGE
    !STACK 0
    java.lang.NullPointerException
    	at
    com.ibm.xtools.jet.ui.internal.model.input.SchemaElement.createC
    hildren(SchemaElement.java:145)
    	at
    com.ibm.xtools.jet.ui.internal.model.input.SchemaElement.getAttr
    ibutes(SchemaElement.java:108)
    	at
    com.ibm.xtools.jet.ui.internal.editors.tma.TTESchemaEditor.build
    InputSchemaNode(TTESchemaEditor.java:427)
    	at
    com.ibm.xtools.jet.ui.internal.editors.tma.TTESchemaEditor.build
    InputSchemaTree(TTESchemaEditor.java:416)
    	at
    com.ibm.xtools.jet.ui.internal.editors.tma.TTESchemaEditor.init(
    TTESchemaEditor.java:227)
    	at
    org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorP
    art.java:237)
    	at
    org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorP
    art.java:211)
    	at
    com.ibm.xtools.jet.ui.internal.editors.tma.TTEEditor.createSchem
    aEditorPage(TTEEditor.java:81)
    	at
    com.ibm.xtools.jet.ui.internal.editors.tma.TTEEditor.createPages
    (TTEEditor.java:133)
    	at
    org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiP
    ageEditorPart.java:348)
    	at
    org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.creat
    ePartControl(CompatibilityPart.java:151)
    	at
    org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.cre
    atePartControl(CompatibilityEditor.java:99)
    	at
    org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.creat
    e(CompatibilityPart.java:355)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
    [</END>]
    

Local fix

  • There is no workaround.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When user opens a transformation editor for a *.tma file     *
    * from JET project with Exemplar Authoring, Null Pointer       *
    * Exception error occurs.                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • When user opens a transformation editor for a *.tma file from
    JET project with Exemplar Authoring, transformation editor will
    be opened without any issues.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH52334

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    971

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-02-02

  • Closed date

    2024-05-02

  • Last modified date

    2024-05-02

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for = WebSphere Software"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"971","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
02 May 2024