Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-1787

ComponentManager can't be re-created after it's been closed

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.1.27
    • None
    • None
    • All
    • Small

    Description

      In TCK 1.1.20, we were able to close and re-create an instance of ComponentManager.

       

      Since 1.1.21 and https://github.com/Talend/component-runtime/commit/b2ddf1eb6e9b69d314d72ba8a566c303d790b7b1#diff-01ce0e085c5c637b311151aeea014292d01ab73b8795b2d693d78cef3a9b8877, it seems that once a component manager has been closed, it can't be re-created anymore.

       

      ComponentManager m1 = ComponentManager.instance();
      m1.close();
      ComponentManager m2 = ComponentManager.instance();
      // m2 is null

      Attachments

        Activity

          People

            clesaec Christophe LeSaec
            rdubois Rémy DUBOIS
            Christophe LeSaec
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: