Skip to content

IllegalStateException if entry contains "extra" field #7

@nitram22

Description

@nitram22

Hi guys,

while running the onMessage method I noticed that from time to time incoming messages throw an error like "java.lang.IllegalStateException: Expected a string but was BEGIN_ARRAY at line 1 column 7984 path $.data.leaf_cert.extensions." .

I did some debugging and found out that the error occurs when a CT-Log entry has the field under "leaf_cert" --> "extensions" --> "extra" that begins with an array. I've added a picture of an entry that produced an error:

issue

CT-Log entries that don't contain this "extra" field get parsed normally. Here's the Stack-Trace:

stacktrace.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions