{"record":{"id":"5d37b5fbb8fc9e17","repo":"fluent/fluentd","slug":"parse-error-at-fname-line-i","errorCode":null,"errorMessage":"parse error at #{@fname} line #{@i}","messagePattern":"parse error at #(.+?) line #(.+?)","errorType":"exception","errorClass":"ConfigParseError","httpStatus":null,"severity":"error","filePath":"lib/fluent/config/parser.rb","lineNumber":65,"sourceCode":"            process_include(attrs, elems, value, allow_include)\n          elsif m = /^\\<([a-zA-Z0-9_]+)\\s*(.+?)?\\>$/.match(line)\n            e_name = m[1]\n            e_arg = m[2] || \"\"\n            e_attrs, e_elems = parse!(false, e_name)\n            elems << Element.new(e_name, e_arg, e_attrs, e_elems)\n          elsif line == \"</#{elem_name}>\"\n            break\n          elsif m = /^([a-zA-Z0-9_]+)\\s*(.*)$/.match(line)\n            key = m[1]\n            value = m[2]\n            if allow_include && key == 'include'\n              process_include(attrs, elems, value)\n            else\n              attrs[key] = value\n            end\n            next\n          else\n            raise ConfigParseError, \"parse error at #{@fname} line #{@i}\"\n          end\n        end\n\n        return attrs, elems\n      rescue StopIteration\n        return attrs, elems\n      end\n\n      def process_include(attrs, elems, uri, allow_include = true)\n        u = URI.parse(uri)\n        if u.scheme == 'file' || u.path == uri  # file path\n          path = u.path\n          if path[0] != ?/\n            pattern = File.expand_path(\"#{@basepath}/#{path}\")\n          else\n            pattern = path\n          end\n","sourceCodeStart":47,"sourceCodeEnd":83,"githubUrl":"https://github.com/fluent/fluentd/blob/dd45c6e18dc7be33b5e5a0f0767bf46307ff5626/lib/fluent/config/parser.rb#L47-L83","documentation":"Error \"parse error at #{@fname} line #{@i}\" thrown in fluent/fluentd.","triggerScenarios":"Thrown at lib/fluent/config/parser.rb:65 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"dd45c6e18dc7be33b5e5a0f0767bf46307ff5626","analyzedAt":"2026-08-21T16:22:07.332Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}