{"record":{"id":"b25ceedf1f324e1c","repo":"ruvnet/ruflo","slug":"gnn-module-not-initialized","errorCode":null,"errorMessage":"GNN module not initialized","messagePattern":"GNN module not initialized","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"v3/plugins/ruvector-upstream/src/bridges/gnn.ts","lineNumber":96,"sourceCode":"\n  async destroy(): Promise<void> {\n    this._module = null;\n    this._status = 'unloaded';\n  }\n\n  isReady(): boolean {\n    return this._status === 'ready';\n  }\n\n  getModule(): GnnModule | null {\n    return this._module;\n  }\n\n  /**\n   * Forward pass through GNN\n   */\n  forward(graph: Graph, config?: Partial<GnnConfig>): GnnResult {\n    if (!this._module) throw new Error('GNN module not initialized');\n    const mergedConfig = { ...this.config, ...config };\n    return this._module.forward(graph, mergedConfig);\n  }\n\n  /**\n   * Node classification\n   */\n  nodeClassification(graph: Graph, config?: Partial<GnnConfig>): Float32Array {\n    if (!this._module) throw new Error('GNN module not initialized');\n    const mergedConfig = { ...this.config, ...config };\n    return this._module.nodeClassification(graph, mergedConfig);\n  }\n\n  /**\n   * Link prediction\n   */\n  linkPrediction(\n    graph: Graph,","sourceCodeStart":78,"sourceCodeEnd":114,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/ruvector-upstream/src/bridges/gnn.ts#L78-L114","documentation":"forward() was called on the GNN bridge while this._module is null — the graph neural network WASM module is not loaded (init not awaited or destroy called). Sentinel guard: the graph cannot be run through the native forward pass.","triggerScenarios":"Thrown at v3/plugins/ruvector-upstream/src/bridges/gnn.ts:96 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the module/bridge/plugin initialize() method has been called and awaited before invoking this operation.","Guard against calls made during startup: await the initialization promise or check the initialized flag and fail fast with a clear setup hint."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}