IBM Support

PM01460: MAPPING EDITOR ALLOWS INVALID MAPPINGS AND CAUSES BIZARRE EMPTY ERROR MESSAGES DURING GENERATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In mapping editor it is possible to drag multiple connections
    from the Move box to various targets.  This behavior is
    inconsistent with design and documentation and creates false
    impression with the user that many bizarre mappings are
    possible.
    Mapping editor should only allow one-to-one mapping according to
    the mapping design
    ************
    
    Recreate Steps
    ----------------------------
    
    1. Import attached prj interchange
    2. Open the Response mapping file
    3. Observe the bizarre mappings that the editor allowed to
    create
    4. Select Generate IMS SOAP Gateway resources
    
     Expected result: Invalid mappings should  not be allowed in the
    first place.
    Actual results: Invalid Mappings are allowed, are allowed to be
    saved, and at gen time an empty error message is generated (see
    attached screen shot)
    
    The error log has an unhandleed generation error but generation
    should not even be allowed (See the Expected results above)
    
    java.lang.IllegalArgumentException
    at
    com.ibm.etools.xmlent.mapping.utils.TDLangTypeUtil.getSharedType
    (Unknown Source)
    at
    com.ibm.etools.xmlent.mapping.resolver.AbstractLanguage2EcoreRes
    olver.findMatchingFeature(Unknown Source)
    at
    com.ibm.etools.xmlent.mapping.resolver.AbstractLanguage2EcoreRes
    olver.getModelObjectForPath(Unknown Source)
    at
    com.ibm.etools.xmlent.mapping.resolver.AbstractLanguage2EcoreRes
    olver.resolve(Unknown Source)
    at com.ibm.ccl.mapping.util.Resolver.resolveModelObject(Unknown
    Source)
    at
    com.ibm.ccl.mapping.util.MappingLoad$InternalContentHandler.hand
    leInputOutput(Unknown Source)
    at
    com.ibm.ccl.mapping.util.MappingLoad$InternalContentHandler.star
    tElement(Unknown Source)
    at
    org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
    Source)
    at
    org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement
    (Unknown Source)
    at
    org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement
    (Unknown Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCo
    ntentDispatcher.dispatch(Unknown Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume
    nt(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
    Source)
    at
    org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
    Source)
    at com.ibm.ccl.mapping.util.MappingLoad.load(Unknown Source)
    at com.ibm.ccl.mapping.util.MappingResourceImpl.doLoad(Unknown
    Source)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Unknown
    Source)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Unknown
    Source)
    at
    com.ibm.etools.xmlent.mapping.codegen.internal.util.MappingImpor
    tHelper.importMappingFile(Unknown Source)
    at
    com.ibm.etools.xmlent.mapping.codegen.internal.util.MappingImpor
    tHelper.<init>(Unknown Source)
    at
    com.ibm.etools.xmlent.mapping.codegen.internal.util.MappingImpor
    tHelper.<init>(Unknown Source)
    at
    com.ibm.etools.xmlent.ui.launcher.actions.MappingCodeGenerationA
    ction.run(Unknown Source)
    

Local fix

  • n/a
    

Problem summary

  • See error description.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM01460

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-11-17

  • Closed date

    2010-05-07

  • Last modified date

    2010-05-07

  • 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 DEV FOR SY

  • Fixed component ID

    5724T0700

Applicable component levels

  • R751 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
07 May 2010