{"record":{"id":"c3c4b0617cba439a","repo":"puppetlabs/puppet","slug":"integer-out-of-bounds","errorCode":null,"errorMessage":"Integer out of bounds","messagePattern":"Integer out of bounds","errorType":"exception","errorClass":"SerializationError","httpStatus":null,"severity":"error","filePath":"lib/puppet/pops/serialization/abstract_writer.rb","lineNumber":60,"sourceCode":"\n  # Tell the underlying packer to flush.\n  # @api public\n  def finish\n    @packer.flush\n  end\n\n  def supports_binary?\n    false\n  end\n\n  # Write a value on the underlying stream\n  # @api public\n  def write(value)\n    written = false\n    case value\n    when Integer\n      # not tabulated, but integers larger than 64-bit cannot be allowed.\n      raise SerializationError, _('Integer out of bounds') if value > MAX_INTEGER || value < MIN_INTEGER\n    when Numeric, Symbol, Extension::NotTabulated, true, false, nil\n      # not tabulated\n    else\n      if @tabulate\n        index = @written[value]\n        if index.nil?\n          @packer.write(value)\n          written = true\n          @written[value] = @written.size\n        else\n          value = Extension::InnerTabulation.new(index)\n        end\n      end\n    end\n    @packer.write(value) unless written\n  end\n\n  # Called from extension callbacks only","sourceCodeStart":42,"sourceCodeEnd":78,"githubUrl":"https://github.com/puppetlabs/puppet/blob/e227c27540975c25aa22d533a52424a9d2fc886a/lib/puppet/pops/serialization/abstract_writer.rb#L42-L78","documentation":"Error \"Integer out of bounds\" thrown in puppetlabs/puppet.","triggerScenarios":"Thrown at lib/puppet/pops/serialization/abstract_writer.rb:60 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":"e227c27540975c25aa22d533a52424a9d2fc886a","analyzedAt":"2026-08-21T20:49:46.650Z","schemaVersion":2},"datasetVersion":"2026-08-21T23:17:16.201Z"}