In TIBCO Adapter(TM) for CORBA, selecting 'Factory Created interfaces' after schema generation causes Nullpointer Exception in Designer Console. Why does this error occur?

In TIBCO Adapter(TM) for CORBA, selecting 'Factory Created interfaces' after schema generation causes Nullpointer Exception in Designer Console. Why does this error occur?

book

Article ID: KB0088198

calendar_today

Updated On:

Products Versions
TIBCO Adapter for CORBA -
Not Applicable -

Description

Resolution:
Description:
==========
In TIBCO Adapter(TM) for CORBA (CORBA Adapter), an Interface Definition Language (IDL) file is used to import the schema into the TIBCO Designer (designer). After importing the schema, when the 'Factory Created interfaces' option is selected, a Nullpointer Exception is observed in the Designer Console.

Environment:
===========
All

Symptoms:
=========
While selecting the 'Factory Created Interfaces', after generating the AESchema, the design time CORBA Adapter configuration throws a NullPointerException.

Cause:
======
When we do a "generate schema", the designer will generate schema in folder structure under "AEschemas" folder.

For example:
        module a{
            module b{
                module c{
                    interface hello{};
                };
            };
        };

The schema of interface hello will be placed in the folder - /a/b/c.

When we choose  "Select Factory Created Interfaces", designer will navigate every folder and mark the selected interface and add the CA_IOR field in the schema for each method. But if any of the folders (either a, b or c from the above example) created during the schema generation is "corba" ("corba" is a key word in CORBA adapter), it will be treated as reserved and the content in this folder will not be navigated.

Resolution  
=========
This is a Product Limitation. In order to mitigate this issue, do not use the reserved word - 'corba' in the IDL file.

Issue/Introduction

In TIBCO Adapter(TM) for CORBA, selecting 'Factory Created interfaces' after schema generation causes Nullpointer Exception in Designer Console. Why does this error occur?