Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: C4A Portugal Workshop
    • Component/s: FlowManager
    • Labels:
      None
    • Environment:
      Linux

      Description

      Whenever I log out any user (I tested with sammy, sammy_flat, and andrei) the GPII system throws an error. Thankfully we have error handling now so it's not completely unrecoverable. Here's a portion of the stack trace:

      app:
      { stack: [Object],
      connections: 1,
      allowHalfOpen: true,
      _handle: [Object],
      _events: [Object],
      httpAllowHalfOpen: false,
      cache: {},
      settings: [Object],
      redirects: {},
      isCallbacks: {},
      _locals: [Object],
      dynamicViewHelpers: {},
      errorHandlers: [],
      route: '/',
      routes: [Object],
      router: [Getter],
      __usedRouter: true },
      req:
      { socket: [Object],
      connection: [Object],
      httpVersion: '1.1',
      complete: false,
      headers: [Object],
      trailers: {},
      readable: true,
      url: '/user/sammy_flat/logout',
      method: 'GET',
      statusCode: null,
      client: [Object],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      upgrade: false,
      originalUrl: '/user/sammy_flat/logout',
      query: {},
      app: [Object],
      res: [Circular],
      next: [Function: next],
      fluidRequest: [Circular],
      body: {},
      _route_index: 5,
      route: [Object],
      params: [Object] },
      charset: 'utf-8',
      statusCode: 200,
      _header: 'HTTP/1.1 200 OK\r\nX-Powered-By: Express\r\nContent-Type: text/html; charset=utf-8\r\nContent-Length: 55\r\nConnection: keep-alive\r\n\r\n',
      _headerSent: true },
      next: [Function: next],
      onErrorHandler: [Function],
      onSuccessHandler: [Function],
      events:
      { onCreate:

      { name: 'onCreate of component with typename gpii.requests.request and id 390rrze0-526', typeName: 'fluid.event.firer', addListener: [Function], removeListener: [Function], fireToListeners: [Function], fire: [Function] }

      ,
      onAttach:

      { name: 'onAttach of component with typename gpii.requests.request and id 390rrze0-526', typeName: 'fluid.event.firer', addListener: [Function], removeListener: [Function], fireToListeners: [Function], fire: [Function] }

      ,
      onClear:

      { name: 'onClear of component with typename gpii.requests.request and id 390rrze0-526', typeName: 'fluid.event.firer', addListener: [Function], removeListener: [Function], fireToListeners: [Function], fire: [Function] }

      ,
      onDestroy:

      { name: 'onDestroy of component with typename gpii.requests.request and id 390rrze0-526', typeName: 'fluid.event.firer', addListener: [Function], removeListener: [Function], fireToListeners: [Function], fire: [Function] }

      ,
      handle:

      { name: 'handle of component with typename gpii.requests.request and id 390rrze0-526', typeName: 'fluid.event.firer', addListener: [Function], removeListener: [Function], fireToListeners: [Function], fire: [Function] }

      ,
      onRequestEnd:

      { name: 'onRequestEnd of component with typename gpii.requests.request and id 390rrze0-526', typeName: 'fluid.event.firer', addListener: [Function], removeListener: [Function], fireToListeners: [Function], fire: [Function] }

      ,
      onError:

      { name: 'onError of component with typename gpii.requests.request and id 390rrze0-526', typeName: 'fluid.event.firer', addListener: [Function], removeListener: [Function], fireToListeners: [Function], fire: [Function] }

      ,
      onSuccess:

      { name: 'onSuccess of component with typename gpii.requests.request and id 390rrze0-526', typeName: 'fluid.event.firer', addListener: [Function], removeListener: [Function], fireToListeners: [Function], fire: [Function] }

      ,
      onBodyParser:

      { name: 'onBodyParser of component with typename gpii.requests.request and id 390rrze0-526', typeName: 'fluid.event.firer', addListener: [Function], removeListener: [Function], fireToListeners: [Function], fire: [Function] }

      },
      instantiator:
      { typeName: 'fluid.instantiator',
      id: '390rrze0-8',
      options:

      { 'fluid.visitComponents.fireBreak': true }

      ,
      idToPath:

      { '390rrze0-5': '', '390rrze0-9': 'server', '390rrze0-14': 'server.requests', '390rrze0-21': 'server.callbackWrapper', '390rrze0-22': 'server.configurations', '390rrze0-23': 'server.configurations.createRequest', '390rrze0-27': 'server.deviceReporter', '390rrze0-32': 'server.deviceReporter.rawInstalledSolutionsDataSource', '390rrze0-34': 'server.deviceReporter.rawInstalledSolutionsDataSource.errback', '390rrze0-37': 'server.deviceReporter.rawInstalledSolutionsDataSource.modelParser', '390rrze0-38': 'server.deviceReporter.rawInstalledSolutionsDataSource.urlResolver', '390rrze0-39': 'server.deviceReporter.rawInstalledSolutionsDataSource.urlResolver.urlExpander', '390rrze0-41': 'server.deviceReporter.installedSolutionsDataSource', '390rrze0-43': 'server.preferencesServer', '390rrze0-48': 'server.preferencesServer.rawUserSource', '390rrze0-50': 'server.preferencesServer.rawUserSource.errback', '390rrze0-53': 'server.preferencesServer.rawUserSource.modelParser', '390rrze0-54': 'server.preferencesServer.rawUserSource.urlResolver', '390rrze0-55': 'server.preferencesServer.rawUserSource.urlResolver.urlExpander', '390rrze0-57': 'server.preferencesServer.userSource', '390rrze0-64': 'server.matchMaker.rawSolutionsReporter', '390rrze0-66': 'server.matchMaker.rawSolutionsReporter.errback', '390rrze0-69': 'server.matchMaker.rawSolutionsReporter.modelParser', '390rrze0-70': 'server.matchMaker.rawSolutionsReporter.urlResolver', '390rrze0-71': 'server.matchMaker.rawSolutionsReporter.urlResolver.urlExpander', '390rrze0-73': 'server.matchMaker.solutionsReporter', '390rrze0-75': 'server.matchMaker.rawOntologyServer', '390rrze0-77': 'server.matchMaker.rawOntologyServer.rawOntologySource', '390rrze0-79': 'server.matchMaker.rawOntologyServer.rawOntologySource.errback', '390rrze0-82': 'server.matchMaker.rawOntologyServer.rawOntologySource.modelParser', '390rrze0-83': 'server.matchMaker.rawOntologyServer.rawOntologySource.urlResolver', '390rrze0-84': 'server.matchMaker.rawOntologyServer.rawOntologySource.urlResolver.urlExpander', '390rrze0-86': 'server.matchMaker.rawOntologyServer.ontologySource', '390rrze0-88': 'server.matchMaker.ontologyServer', '390rrze0-90': 'server.matchMaker.transformer', '390rrze0-92': 'server.solutionsRegistry', '390rrze0-97': 'server.solutionsRegistry.rawSolutionSource', '390rrze0-99': 'server.solutionsRegistry.rawSolutionSource.errback', '390rrze0-102': 'server.solutionsRegistry.rawSolutionSource.modelParser', '390rrze0-103': 'server.solutionsRegistry.rawSolutionSource.urlResolver', '390rrze0-104': 'server.solutionsRegistry.rawSolutionSource.urlResolver.urlExpander', '390rrze0-106': 'server.solutionsRegistry.rawSolutionQuerySource', '390rrze0-108': 'server.solutionsRegistry.rawSolutionQuerySource.errback', '390rrze0-111': 'server.solutionsRegistry.rawSolutionQuerySource.modelParser', '390rrze0-112': 'server.solutionsRegistry.rawSolutionQuerySource.urlResolver', '390rrze0-113': 'server.solutionsRegistry.rawSolutionQuerySource.urlResolver.urlExpander', '390rrze0-115': 'server.solutionsRegistry.solutionSource', '390rrze0-117': 'server.solutionsRegistry.solutionQuerySource', '390rrze0-119': 'server.flowManager', '390rrze0-124': 'server.flowManager.rawPreferencesDataSource', '390rrze0-126': 'server.flowManager.rawPreferencesDataSource.errback', '390rrze0-129': 'server.flowManager.rawPreferencesDataSource.modelParser', '390rrze0-130': 'server.flowManager.rawPreferencesDataSource.urlResolver', '390rrze0-131': 'server.flowManager.rawPreferencesDataSource.urlResolver.urlExpander', '390rrze0-135': 'server.flowManager.rawDeviceReporterDataSource', '390rrze0-137': 'server.flowManager.rawDeviceReporterDataSource.errback', '390rrze0-140': 'server.flowManager.rawDeviceReporterDataSource.modelParser', '390rrze0-141': 'server.flowManager.rawDeviceReporterDataSource.urlResolver', '390rrze0-142': 'server.flowManager.rawDeviceReporterDataSource.urlResolver.urlExpander', '390rrze0-146': 'server.flowManager.rawMatchMakerDataSource', '390rrze0-148': 'server.flowManager.rawMatchMakerDataSource.errback', '390rrze0-151': 'server.flowManager.rawMatchMakerDataSource.modelParser', '390rrze0-152': 'server.flowManager.rawMatchMakerDataSource.urlResolver', '390rrze0-153': 'server.flowManager.rawMatchMakerDataSource.urlResolver.urlExpander', '390rrze0-159': 'server.flowManager.lifecycleManager.variableResolver', '390rrze0-161': 'server.flowManager.lifecycleManager.variableResolver.resolverConfig', '390rrze0-162': 'server.ontologyServer', '390rrze0-166': 'server.ontologyServer.rawOntologySource', '390rrze0-168': 'server.ontologyServer.rawOntologySource.errback', '390rrze0-171': 'server.ontologyServer.rawOntologySource.modelParser', '390rrze0-172': 'server.ontologyServer.rawOntologySource.urlResolver', '390rrze0-173': 'server.ontologyServer.rawOntologySource.urlResolver.urlExpander', '390rrze0-175': 'server.ontologyServer.ontologySource', '390rrze0-177': 'server.bodyParser', '390rrze0-187': 'handler', '390rrze0-260': 'server.requests.adb5974e-58e1-47ba-978c-2240e312d041.handler', '390rrze0-324': 'server.requests.e14b196f-7d60-48d2-991c-e0092dbb095e.handler', '390rrze0-391': 'server.requests.6fee662b-764a-4507-82cd-92ec798b7530.handler', '390rrze0-462': 'server.requests.fb90793a-6788-4ee8-ac91-33eebd964968.handler', '390rrze0-533': 'server.requests.fae0a5c4-fa2d-4968-934b-c745a8ad9d2f.handler' }

      ,
      pathToComponent:

      { '': [Object], server: [Object], 'server.requests': [Object], 'server.requests.instantiator': [Circular], 'server.requestProxy': [Object], 'server.callbackWrapper': [Object], 'server.configurations': [Object], 'server.configurations.createRequest': [Object], 'server.deviceReporter': [Object], 'server.deviceReporter.rawInstalledSolutionsDataSource': [Object], 'server.deviceReporter.rawInstalledSolutionsDataSource.errback': [Object], 'server.deviceReporter.rawInstalledSolutionsDataSource.modelParser': [Object], 'server.deviceReporter.rawInstalledSolutionsDataSource.urlResolver': [Object], 'server.deviceReporter.rawInstalledSolutionsDataSource.urlResolver.urlExpander': [Object], 'server.deviceReporter.installedSolutionsDataSource': [Object], 'server.deviceReporter.installedSolutionsDataSource.callbackWrapper': [Object], 'server.deviceReporter.installedSolutionsDataSource.rawSource': [Object], 'server.preferencesServer': [Object], 'server.preferencesServer.rawUserSource': [Object], 'server.preferencesServer.rawUserSource.errback': [Object], 'server.preferencesServer.rawUserSource.modelParser': [Object], 'server.preferencesServer.rawUserSource.urlResolver': [Object], 'server.preferencesServer.rawUserSource.urlResolver.urlExpander': [Object], 'server.preferencesServer.userSource': [Object], 'server.preferencesServer.userSource.callbackWrapper': [Object], 'server.preferencesServer.userSource.rawSource': [Object], 'server.matchMaker': [Object], 'server.matchMaker.rawSolutionsReporter': [Object], 'server.matchMaker.rawSolutionsReporter.errback': [Object], 'server.matchMaker.rawSolutionsReporter.modelParser': [Object], 'server.matchMaker.rawSolutionsReporter.urlResolver': [Object], 'server.matchMaker.rawSolutionsReporter.urlResolver.urlExpander': [Object], 'server.matchMaker.solutionsReporter': [Object], 'server.matchMaker.solutionsReporter.callbackWrapper': [Object], 'server.matchMaker.solutionsReporter.rawSource': [Object], 'server.matchMaker.rawOntologyServer': [Object], 'server.matchMaker.rawOntologyServer.callbackWrapper': [Object], 'server.matchMaker.rawOntologyServer.rawOntologySource': [Object], 'server.matchMaker.rawOntologyServer.rawOntologySource.errback': [Object], 'server.matchMaker.rawOntologyServer.rawOntologySource.modelParser': [Object], 'server.matchMaker.rawOntologyServer.rawOntologySource.urlResolver': [Object], 'server.matchMaker.rawOntologyServer.rawOntologySource.urlResolver.urlExpander': [Object], 'server.matchMaker.rawOntologyServer.ontologySource': [Object], 'server.matchMaker.rawOntologyServer.ontologySource.callbackWrapper': [Object], 'server.matchMaker.rawOntologyServer.ontologySource.rawSource': [Object], 'server.matchMaker.ontologyServer': [Object], 'server.matchMaker.ontologyServer.callbackWrapper': [Object], 'server.matchMaker.ontologyServer.rawSource': [Object], 'server.matchMaker.transformer': [Object], 'server.solutionsRegistry': [Object], 'server.solutionsRegistry.rawSolutionSource': [Object], 'server.solutionsRegistry.rawSolutionSource.errback': [Object], 'server.solutionsRegistry.rawSolutionSource.modelParser': [Object], 'server.solutionsRegistry.rawSolutionSource.urlResolver': [Object], 'server.solutionsRegistry.rawSolutionSource.urlResolver.urlExpander': [Object], 'server.solutionsRegistry.rawSolutionQuerySource': [Object], 'server.solutionsRegistry.rawSolutionQuerySource.errback': [Object], 'server.solutionsRegistry.rawSolutionQuerySource.modelParser': [Object], 'server.solutionsRegistry.rawSolutionQuerySource.urlResolver': [Object], 'server.solutionsRegistry.rawSolutionQuerySource.urlResolver.urlExpander': [Object], 'server.solutionsRegistry.solutionSource': [Object], 'server.solutionsRegistry.solutionSource.callbackWrapper': [Object], 'server.solutionsRegistry.solutionSource.rawSource': [Object], 'server.solutionsRegistry.solutionQuerySource': [Object], 'server.solutionsRegistry.solutionQuerySource.callbackWrapper': [Object], 'server.solutionsRegistry.solutionQuerySource.rawSource': [Object], 'server.flowManager': [Object], 'server.flowManager.rawPreferencesDataSource': [Object], 'server.flowManager.rawPreferencesDataSource.errback': [Object], 'server.flowManager.rawPreferencesDataSource.modelParser': [Object], 'server.flowManager.rawPreferencesDataSource.urlResolver': [Object], 'server.flowManager.rawPreferencesDataSource.urlResolver.urlExpander': [Object], 'server.flowManager.preferencesDataSource': [Object], 'server.flowManager.preferencesDataSource.callbackWrapper': [Object], 'server.flowManager.preferencesDataSource.rawSource': [Object], 'server.flowManager.rawDeviceReporterDataSource': [Object], 'server.flowManager.rawDeviceReporterDataSource.errback': [Object], 'server.flowManager.rawDeviceReporterDataSource.modelParser': [Object], 'server.flowManager.rawDeviceReporterDataSource.urlResolver': [Object], 'server.flowManager.rawDeviceReporterDataSource.urlResolver.urlExpander': [Object], 'server.flowManager.deviceReporterDataSource': [Object], 'server.flowManager.deviceReporterDataSource.callbackWrapper': [Object], 'server.flowManager.deviceReporterDataSource.rawSource': [Object], 'server.flowManager.rawMatchMakerDataSource': [Object], 'server.flowManager.rawMatchMakerDataSource.errback': [Object], 'server.flowManager.rawMatchMakerDataSource.modelParser': [Object], 'server.flowManager.rawMatchMakerDataSource.urlResolver': [Object], 'server.flowManager.rawMatchMakerDataSource.urlResolver.urlExpander': [Object], 'server.flowManager.matchMakerDataSource': [Object], 'server.flowManager.matchMakerDataSource.callbackWrapper': [Object], 'server.flowManager.matchMakerDataSource.rawSource': [Object], 'server.flowManager.lifecycleManager': [Object], 'server.flowManager.lifecycleManager.variableResolver': [Object], 'server.flowManager.lifecycleManager.variableResolver.resolverConfig': [Object], 'server.ontologyServer': [Object], 'server.ontologyServer.rawOntologySource': [Object], 'server.ontologyServer.rawOntologySource.errback': [Object], 'server.ontologyServer.rawOntologySource.modelParser': [Object], 'server.ontologyServer.rawOntologySource.urlResolver': [Object], 'server.ontologyServer.rawOntologySource.urlResolver.urlExpander': [Object], 'server.ontologyServer.ontologySource': [Object], 'server.ontologyServer.ontologySource.callbackWrapper': [Object], 'server.ontologyServer.ontologySource.rawSource': [Object], 'server.ontologyServer.rawSource': undefined, 'server.bodyParser': [Object], 'server.bodyParser.requests': [Object], 'server.bodyParser.server': [Object], 'server.requests.764569a0-fa44-4672-87b3-f721932a77b6.handler': [Object], 'server.requests.764569a0-fa44-4672-87b3-f721932a77b6.handler.request': [Object], handler: [Object], 'server.requests.adb5974e-58e1-47ba-978c-2240e312d041.handler': [Object], 'server.requests.adb5974e-58e1-47ba-978c-2240e312d041.handler.request': [Object], 'server.requests.e14b196f-7d60-48d2-991c-e0092dbb095e.handler': [Object], 'server.requests.e14b196f-7d60-48d2-991c-e0092dbb095e.handler.request': [Object], 'server.requests.6fee662b-764a-4507-82cd-92ec798b7530.handler': [Object], 'server.requests.6fee662b-764a-4507-82cd-92ec798b7530.handler.request': [Object], 'server.requests.fb90793a-6788-4ee8-ac91-33eebd964968.handler': [Object], 'server.requests.fb90793a-6788-4ee8-ac91-33eebd964968.handler.request': [Object], 'server.requests.fae0a5c4-fa2d-4968-934b-c745a8ad9d2f.handler': [Object], 'server.requests.fae0a5c4-fa2d-4968-934b-c745a8ad9d2f.handler.request': [Circular] }

      ,
      idToListeners:

      { '390rrze0-9': [Object], '390rrze0-14': [Object], '390rrze0-18': [Object], '390rrze0-23': [Object], '390rrze0-27': [Object], '390rrze0-34': [Object], '390rrze0-43': [Object], '390rrze0-50': [Object], '390rrze0-59': [Object], '390rrze0-66': [Object], '390rrze0-79': [Object], '390rrze0-92': [Object], '390rrze0-99': [Object], '390rrze0-108': [Object], '390rrze0-119': [Object], '390rrze0-126': [Object], '390rrze0-137': [Object], '390rrze0-148': [Object], '390rrze0-162': [Object], '390rrze0-168': [Object] }

      ,
      nickName: 'instantiator',
      composePath: [Function],
      recordListener: [Function],
      getThatStack: [Function],
      getEnvironmentalStack: [Function],
      getFullStack: [Function],
      recordRoot: [Function],
      pushUpcomingInstantiation: [Function],
      recordComponent: [Function],
      clearComponent: [Function],
      recordKnownComponent: [Function] },
      destroy: [Function],
      context:

      { typeName: 'userLogout', id: '390rrze0-532' }

      ,
      _CURRENTLY_IN_CREATION_: true }

      11:52:25.622: FireEvent received exception Cannot clear component handler from component e Error: Cannot clear component handler from component firing to listener 0
      Error: Cannot clear component handler from component
      at /home/colin/code/gpii/node_modules/universal/gpii/node_modules/gpiiFramework/utils.js:38:19
      at Object.fail (/home/colin/code/gpii/node_modules/universal/node_modules/infusion/src/webapp/framework/core/js/Fluid.js:88:13)
      at Object.clearComponent (/home/colin/code/gpii/node_modules/universal/node_modules/infusion/src/webapp/framework/core/js/FluidIoC.js:325:23)
      at /home/colin/code/gpii/node_modules/universal/node_modules/infusion/src/webapp/framework/core/js/FluidIoC.js:1077:38
      at Object.tryCatch (/home/colin/code/gpii/node_modules/universal/node_modules/infusion/src/webapp/framework/core/js/Fluid.js:125:24)
      at /home/colin/code/gpii/node_modules/universal/node_modules/infusion/src/webapp/framework/core/js/FluidIoC.js:1066:23
      at /home/colin/code/gpii/node_modules/universal/node_modules/infusion/src/webapp/framework/core/js/FluidIoC.js:1026:24
      at Object.tryCatch (/home/colin/code/gpii/node_modules/universal/node_modules/infusion/src/webapp/framework/core/js/Fluid.js:125:24)
      at /home/colin/code/gpii/node_modules/universal/node_modules/infusion/src/webapp/framework/core/js/FluidIoC.js:1009:26
      at Object.tryCatch (/home/colin/code/gpii/node_modules/universal/node_modules/infusion/src/webapp/framework/core/js/Fluid.js:125:24)
      11:52:26.875: Cleared instantiators (last id 390rrze0-8) from threadLocal for end of gpii.middleware.bodyParser

        Attachments

          Activity

            People

            • Assignee:
              kasper Kasper Markus
              Reporter:
              colin Colin Clark
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: