puppetlabs/puppet · error · SerializationError

No implementation mapping found for Puppet Type %{type_name}

Error message

No implementation mapping found for Puppet Type %{type_name}

What it means

Error "No implementation mapping found for Puppet Type %{type_name}" thrown in puppetlabs/puppet.

Source

Thrown at lib/puppet/pops/serialization/deserializer.rb:48

      case val
      when Extension::Tabulation
        @read[val.index]
      when Extension::Default
        :default
      when Extension::ArrayStart
        result = remember([])
        val.size.times { result << read }
        result
      when Extension::MapStart
        result = remember({})
        val.size.times { key = read; result[key] = read }
        result
      when Extension::SensitiveStart
        Types::PSensitiveType::Sensitive.new(read)
      when Extension::PcoreObjectStart
        type_name = val.type_name
        type = Types::TypeParser.singleton.parse(type_name, @loader)
        raise SerializationError, _("No implementation mapping found for Puppet Type %{type_name}") % { type_name: type_name } if type.is_a?(Types::PTypeReferenceType)

        result = type.read(val.attribute_count, self)
        if result.is_a?(Types::PObjectType)
          existing_type = loader.load(:type, result.name)
          if result.eql?(existing_type)
            result = existing_type
          else
            # Add result to the loader unless it is equal to the existing_type. The add
            # will only succeed when the existing_type is nil.
            loader.add_entry(:type, result.name, result, nil)
          end
        end
        result
      when Extension::ObjectStart
        type = read
        type.read(val.attribute_count - 1, self)
      when Numeric, String, true, false, nil
        val

View on GitHub (pinned to e227c27540)

When it happens

Trigger: Thrown at lib/puppet/pops/serialization/deserializer.rb:48 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of puppetlabs/puppet@e227c27540 (2026-08-21). Data as JSON: /api/errors/ea56b0df91e99d81. Report an issue: GitHub.