Skip to content

NoSuchMethodError in protobuf / ver > 2.17.3 #688

@vogt31337

Description

@vogt31337

Hi,

when using version > 2.17.3 I get the following Exception (I think this was version 2.18.5):

java.lang.NoSuchMethodError: 'void com.fasterxml.jackson.core.base.ParserMinimalBase.<init>(int, com.fasterxml.jackson.core.StreamReadConstraints)'
at com.fasterxml.jackson.dataformat.protobuf.ProtobufParser.<init>(ProtobufParser.java:296)
at com.fasterxml.jackson.dataformat.protobuf.ProtobufFactory._createParser(ProtobufFactory.java:249)
at com.fasterxml.jackson.dataformat.protobuf.ProtobufFactory.createParser(ProtobufFactory.java:173)
at com.fasterxml.jackson.dataformat.protobuf.ProtobufFactory.createParser(ProtobufFactory.java:13)
at com.fasterxml.jackson.databind.ObjectReader.createParser(ObjectReader.java:1149)
at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1603)

Seems to happen with all versions > 2.17.3 & < 3.x

I think it tries to call the constructor directly but afaik com.fasterxml.jackson.core.StreamReadConstraints provides only a factory method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions