Skip to content

JSON decoding error parsing stream encoded with Jackson Smile #24198

@feutche

Description

@feutche

Affects: 5.1.12

With #24009 fixed and versions updated, there's still issues with decoding Smile-encoded stream. Looks like a missyncronization between use of generator and parser:

org.springframework.core.codec.DecodingException: JSON decoding error: Invalid shared name reference 6; 
only got 2 names in buffer (invalid content); nested exception is
com.fasterxml.jackson.core.JsonParseException: Invalid shared name reference 6; only got 2 names in buffer (invalid content)
 at [Source: UNKNOWN; line: -1, column: 6843033]
	at org.springframework.http.codec.json.Jackson2Tokenizer.tokenize(Jackson2Tokenizer.java:99)
	at reactor.core.publisher.FluxMapSignal$FluxMapSignalSubscriber.onNext(FluxMapSignal.java:137)

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions