Skip to content

Copy operation fails with NPE on 0.8.15 #470

@kringol

Description

@kringol

How to reproduce:

new ObjectMapper(new MessagePackFactory()).copy();

or just

new MessagePackFactory().copy();

Causes:

java.lang.NullPointerException
	at org.msgpack.jackson.dataformat.ExtensionTypeCustomDeserializers.<init>(ExtensionTypeCustomDeserializers.java:38)
	at org.msgpack.jackson.dataformat.MessagePackFactory.<init>(MessagePackFactory.java:61)
	at org.msgpack.jackson.dataformat.MessagePackFactory.copy(MessagePackFactory.java:147)
	at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:499)
	at com.fasterxml.jackson.databind.ObjectMapper.copy(ObjectMapper.java:617)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions